reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ExecutionEngine/Orc/Core.h
   37 class JITDylib;

References

examples/SpeculativeJIT/SpeculativeJIT.cpp
   79   Error addModule(JITDylib &JD, ThreadSafeModule TSM) {
include/llvm/ADT/ArrayRef.h
  108         const ArrayRef<U *> &A,
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  127     ArrayRef(const std::vector<U *, A> &Vec,
  129                  std::is_convertible<U *const *, T const *>::value>::type* = 0)
include/llvm/ADT/DenseMapInfo.h
   39   static inline T* getEmptyKey() {
   41     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   45   static inline T* getTombstoneKey() {
   47     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   51   static unsigned getHashValue(const T *PtrVal) {
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  104     PerDylibResources(JITDylib &ImplD,
  107     JITDylib &getImplDylib() { return ImplD; }
  111     JITDylib &ImplD;
  115   using PerDylibResourcesMap = std::map<const JITDylib *, PerDylibResources>;
  117   PerDylibResources &getPerDylibResources(JITDylib &TargetD);
include/llvm/ExecutionEngine/Orc/Core.h
   56 using SymbolDependenceMap = DenseMap<JITDylib *, SymbolNameSet>;
   59 using JITDylibSearchList = std::vector<std::pair<JITDylib *, bool>>;
  185   JITDylib &getTargetJITDylib() const { return JD; }
  266   MaterializationResponsibility(JITDylib &JD, SymbolFlagsMap SymbolFlags,
  269   JITDylib &JD;
  299   void doMaterialize(JITDylib &JD) {
  306   void doDiscard(const JITDylib &JD, const SymbolStringPtr &Name) {
  327   virtual void discard(const JITDylib &JD, const SymbolStringPtr &Name) = 0;
  345   void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
  379   ReExportsMaterializationUnit(JITDylib *SourceJD, bool MatchNonExported,
  386   void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
  389   JITDylib *SourceJD = nullptr;
  417 reexports(JITDylib &SourceJD, SymbolAliasMap Aliases,
  426 buildSimpleReexportsAliasMap(JITDylib &SourceJD, const SymbolNameSet &Symbols);
  472   void addQueryDependence(JITDylib &JD, SymbolStringPtr Name);
  474   void removeQueryDependence(JITDylib &JD, const SymbolStringPtr &Name);
  504     tryToGenerate(JITDylib &Parent, const SymbolNameSet &Names) = 0;
  510   JITDylib(const JITDylib &) = delete;
  511   JITDylib &operator=(const JITDylib &) = delete;
  511   JITDylib &operator=(const JITDylib &) = delete;
  512   JITDylib(JITDylib &&) = delete;
  513   JITDylib &operator=(JITDylib &&) = delete;
  513   JITDylib &operator=(JITDylib &&) = delete;
  561   void addToSearchOrder(JITDylib &JD, bool MatcNonExported = false);
  565   void replaceInSearchOrder(JITDylib &OldJD, JITDylib &NewJD,
  565   void replaceInSearchOrder(JITDylib &OldJD, JITDylib &NewJD,
  570   void removeFromSearchOrder(JITDylib &JD);
  748       std::vector<std::pair<JITDylib *, SymbolStringPtr>>;
  771       JITDylib &JD, std::unique_ptr<MaterializationUnit> MU)>;
  792   JITDylib &getMainJITDylib();
  796   JITDylib *getJITDylibByName(StringRef Name);
  803   JITDylib &createJITDylib(std::string Name,
  892   Expected<JITEvaluatedSymbol> lookup(ArrayRef<JITDylib *> SearchOrder,
  898   Expected<JITEvaluatedSymbol> lookup(ArrayRef<JITDylib *> SearchOrder,
  902   void dispatchMaterialization(JITDylib &JD,
  921   materializeOnCurrentThread(JITDylib &JD,
  935   std::vector<std::unique_ptr<JITDylib>> JDs;
  940   std::vector<std::pair<JITDylib *, std::unique_ptr<MaterializationUnit>>>
  993 class ReexportsGenerator : public JITDylib::DefinitionGenerator {
 1000   ReexportsGenerator(JITDylib &SourceJD, bool MatchNonExported = false,
 1003   Expected<SymbolNameSet> tryToGenerate(JITDylib &JD,
 1007   JITDylib &SourceJD;
include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
  148   CtorDtorRunner(JITDylib &JD) : JD(JD) {}
  156   JITDylib &JD;
  235   Error enable(JITDylib &JD, MangleAndInterner &Mangler);
  243 class DynamicLibrarySearchGenerator : public JITDylib::DefinitionGenerator {
  271   Expected<SymbolNameSet> tryToGenerate(JITDylib &JD,
  285 class StaticLibraryDefinitionGenerator : public JITDylib::DefinitionGenerator {
  300   Expected<SymbolNameSet> tryToGenerate(JITDylib &JD,
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  215   JITDylib &CallbacksJD;
include/llvm/ExecutionEngine/Orc/LLJIT.h
   52   JITDylib &getMainJITDylib() { return Main; }
   56   JITDylib *getJITDylibByName(StringRef Name) {
   66   JITDylib &createJITDylib(std::string Name) {
   74   Error addIRModule(JITDylib &JD, ThreadSafeModule TSM);
   82   Error addObjectFile(JITDylib &JD, std::unique_ptr<MemoryBuffer> Obj);
   91   Expected<JITEvaluatedSymbol> lookupLinkerMangled(JITDylib &JD,
  102   Expected<JITEvaluatedSymbol> lookup(JITDylib &JD, StringRef UnmangledName) {
  137   JITDylib &Main;
  168   Error addLazyIRModule(JITDylib &JD, ThreadSafeModule M);
include/llvm/ExecutionEngine/Orc/Layer.h
   51   virtual Error add(JITDylib &JD, ThreadSafeModule TSM,
   94   void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
  123   virtual Error add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O,
  151   void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
include/llvm/ExecutionEngine/Orc/LazyReexports.h
   47     virtual Error operator()(JITDylib &SourceJD,
   60     Error operator()(JITDylib &SourceJD, const SymbolStringPtr &SymbolName,
   81       JITDylib &SourceJD, SymbolStringPtr SymbolName,
   97       std::map<JITTargetAddress, std::pair<JITDylib *, SymbolStringPtr>>;
  161                                    JITDylib &SourceJD,
  169   void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
  174   JITDylib &SourceJD;
  186               IndirectStubsManager &ISManager, JITDylib &SourceJD,
include/llvm/ExecutionEngine/Orc/Speculation.h
   43   using AliaseeDetails = std::pair<SymbolStringPtr, JITDylib *>;
   46   void trackImpls(SymbolAliasMap ImplMaps, JITDylib *SrcJD);
   98       JITDylib *ImplJD = ImplSymbol.getPointer()->second;
  133   Error addSpeculationRuntime(JITDylib &JD, MangleAndInterner &Mangle);
  140   void registerSymbols(FunctionCandidatesMap Candidates, JITDylib *JD) {
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
   90   void discard(const JITDylib &V, const SymbolStringPtr &Name) override {
  171 CompileOnDemandLayer::getPerDylibResources(JITDylib &TargetD) {
  174     auto &ImplD = getExecutionSession().createJITDylib(
lib/ExecutionEngine/Orc/Core.cpp
  334 void AsynchronousSymbolQuery::addQueryDependence(JITDylib &JD,
  342     JITDylib &JD, const SymbolStringPtr &Name) {
  361     JITDylib &JD, SymbolFlagsMap SymbolFlags, VModuleKey K)
  425   JITDylib::FailedSymbolsWorklist Worklist;
  499 void AbsoluteSymbolsMaterializationUnit::discard(const JITDylib &JD,
  514     JITDylib *SourceJD, bool MatchNonExported, SymbolAliasMap Aliases,
  528   JITDylib &TgtJD = R.getTargetJITDylib();
  529   JITDylib &SrcJD = SourceJD ? *SourceJD : TgtJD;
  666 void ReExportsMaterializationUnit::discard(const JITDylib &JD,
  683 buildSimpleReexportsAliasMap(JITDylib &SourceJD, const SymbolNameSet &Symbols) {
  705 ReexportsGenerator::ReexportsGenerator(JITDylib &SourceJD,
  712 ReexportsGenerator::tryToGenerate(JITDylib &JD, const SymbolNameSet &Names) {
  868     auto &OtherJITDylib = *KV.first;
 1052         auto &DependantJD = *KV.first;
 1152       auto &JD = *Worklist.back().first;
 1178         auto &DependantJD = *KV.first;
 1213         auto &UnemittedDepJD = *KV.first;
 1264 void JITDylib::addToSearchOrder(JITDylib &JD, bool MatchNonExported) {
 1270 void JITDylib::replaceInSearchOrder(JITDylib &OldJD, JITDylib &NewJD,
 1270 void JITDylib::replaceInSearchOrder(JITDylib &OldJD, JITDylib &NewJD,
 1283 void JITDylib::removeFromSearchOrder(JITDylib &JD) {
 1714 JITDylib::AsynchronousSymbolQueryList
 1799     auto &DependencyJD = *KV.first;
 1824   JDs.push_back(std::unique_ptr<JITDylib>(new JITDylib(*this, "<main>")));
 1827 JITDylib &ExecutionSession::getMainJITDylib() {
 1831 JITDylib *ExecutionSession::getJITDylibByName(StringRef Name) {
 1840 JITDylib &ExecutionSession::createJITDylib(std::string Name,
 1845         std::unique_ptr<JITDylib>(new JITDylib(*this, std::move(Name))));
 1952   std::map<JITDylib *, MaterializationUnitList> CollectedMUsMap;
 1964         auto &JD = *KV.first;
 2094 ExecutionSession::lookup(ArrayRef<JITDylib *> SearchOrder,
 2100   for (auto *JD : SearchOrder)
 2107 ExecutionSession::lookup(ArrayRef<JITDylib *> SearchOrder, StringRef Name) {
 2120     std::pair<JITDylib *, std::unique_ptr<MaterializationUnit>> JITDylibAndMU;
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  164 Error LocalCXXRuntimeOverrides::enable(JITDylib &JD,
  194 DynamicLibrarySearchGenerator::tryToGenerate(JITDylib &JD,
  255 StaticLibraryDefinitionGenerator::tryToGenerate(JITDylib &JD,
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
   45   void discard(const JITDylib &JD, const SymbolStringPtr &Name) override {
lib/ExecutionEngine/Orc/LLJIT.cpp
   41 Error LLJIT::addIRModule(JITDylib &JD, ThreadSafeModule TSM) {
   51 Error LLJIT::addObjectFile(JITDylib &JD, std::unique_ptr<MemoryBuffer> Obj) {
   57 Expected<JITEvaluatedSymbol> LLJIT::lookupLinkerMangled(JITDylib &JD,
  176 Error LLLazyJIT::addLazyIRModule(JITDylib &JD, ThreadSafeModule TSM) {
lib/ExecutionEngine/Orc/Layer.cpp
   21 Error IRLayer::add(JITDylib &JD, ThreadSafeModule TSM, VModuleKey K) {
   58 void IRMaterializationUnit::discard(const JITDylib &JD,
  108 Error ObjectLayer::add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O,
  148 void BasicObjectLayerMaterializationUnit::discard(const JITDylib &JD,
lib/ExecutionEngine/Orc/LazyReexports.cpp
   27     JITDylib &SourceJD, SymbolStringPtr SymbolName,
   42   JITDylib *SourceJD = nullptr;
  124     JITDylib &SourceJD, SymbolAliasMap CallableAliases, ImplSymbolMap *SrcJDLoc,
  191 void LazyReexportsMaterializationUnit::discard(const JITDylib &JD,
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  296         JITDylib &SourceJD = *QueryDepsEntry.first;
lib/ExecutionEngine/Orc/Speculation.cpp
   28 void ImplSymbolMap::trackImpls(SymbolAliasMap ImplMaps, JITDylib *SrcJD) {
   45 Error Speculator::addSpeculationRuntime(JITDylib &JD,
tools/lli/lli.cpp
  812     std::map<unsigned, orc::JITDylib *> IdxToDylib;
  816       orc::JITDylib *JD = J->getJITDylibByName(*JDItr);
  831       auto &JD = *JDItr->second;
  841       auto &JD = *JDItr->second;
tools/llvm-jitlink/llvm-jitlink.cpp
  582   std::map<unsigned, JITDylib *> IdxToJLD;
  588     auto &MainJD = S.ES.getMainJITDylib();
  597       auto &JD = S.ES.createJITDylib(JDNamePrefix + *JLDItr);
  606     for (auto *JD : S.JDSearchOrder) {
  608       for (auto *JD2 : S.JDSearchOrder) {
  624     auto &JD = *std::prev(IdxToJLD.lower_bound(InputFileArgIdx))->second;
  638     auto &JD = *std::prev(IdxToJLD.lower_bound(AbsDefArgIdx))->second;
tools/llvm-jitlink/llvm-jitlink.h
   31   std::vector<orc::JITDylib *> JDSearchOrder;
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
  177   auto &JD2 = ES.createJITDylib("JD2");
  199   auto &JD2 = ES.createJITDylib("JD2");
  246   class BadGenerator : public JITDylib::DefinitionGenerator {
  248     Expected<SymbolNameSet> tryToGenerate(JITDylib &,
  302   auto &JD2 = ES.createJITDylib("JD2");
  327   auto &JD2 = ES.createJITDylib("JD2");
  342   auto &JD2 = ES.createJITDylib("JD2");
  955   class TestGenerator : public JITDylib::DefinitionGenerator {
  958     Expected<SymbolNameSet> tryToGenerate(JITDylib &JD,
unittests/ExecutionEngine/Orc/OrcTestCommon.h
   50   JITDylib &JD = ES.createJITDylib("JD");
   91       std::function<void(const orc::JITDylib &, orc::SymbolStringPtr)>;
  113   void discard(const orc::JITDylib &JD,
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   53   auto &JD = ES.createJITDylib("main");
  153   auto &JD = ES.createJITDylib("main");
  218   auto &JD = ES.createJITDylib("main");
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/std_function.h
  314       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  824     make_unique(_Args&&... __args)
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1659     { typedef _Tp&&   type; };
 1983     { typedef _Up     type; };