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

References

examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
   50   std::map<VModuleKey, std::shared_ptr<SymbolResolver>> Resolvers;
   96   VModuleKey addModule(std::unique_ptr<Module> M) {
   98     VModuleKey K = ES.allocateVModule();
  127   void removeModule(VModuleKey K) {
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
  129   VModuleKey addModule(std::unique_ptr<Module> M) {
  196   void removeModule(VModuleKey K) {
examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h
  142   VModuleKey addModule(std::unique_ptr<Module> M) {
  213   void removeModule(VModuleKey K) {
examples/Kaleidoscope/include/KaleidoscopeJIT.h
   63   VModuleKey addModule(std::unique_ptr<Module> M) {
   70   void removeModule(VModuleKey K) {
  133   std::vector<VModuleKey> ModuleKeys;
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  208     LogicalDylib(VModuleKey K, std::shared_ptr<SymbolResolver> BackingResolver,
  247     VModuleKey K;
  252     std::vector<VModuleKey> BaseLayerVModuleKeys;
  265       std::function<std::shared_ptr<SymbolResolver>(VModuleKey K)>;
  268       std::function<void(VModuleKey K, std::shared_ptr<SymbolResolver> R)>;
  305   Error addModule(VModuleKey K, std::unique_ptr<Module> M) {
  317   Error addExtraModule(VModuleKey K, std::unique_ptr<Module> M) {
  325   Error removeModule(VModuleKey K) {
  351   JITSymbol findSymbolIn(VModuleKey K, const std::string &Name,
  627   Expected<VModuleKey>
  745   std::map<VModuleKey, LogicalDylib> LogicalDylibs;
include/llvm/ExecutionEngine/Orc/Core.h
  188   VModuleKey getVModuleKey() const { return K; }
  255                                          VModuleKey NewKey = VModuleKey());
  267                                 VModuleKey K);
  271   VModuleKey K;
  284   MaterializationUnit(SymbolFlagsMap InitalSymbolFlags, VModuleKey K)
  313   VModuleKey K;
  339   AbsoluteSymbolsMaterializationUnit(SymbolMap Symbols, VModuleKey K);
  362 absoluteSymbols(SymbolMap Symbols, VModuleKey K = VModuleKey()) {
  380                                SymbolAliasMap Aliases, VModuleKey K);
  406 symbolAliases(SymbolAliasMap Aliases, VModuleKey K = VModuleKey()) {
  418           bool MatchNonExported = false, VModuleKey K = VModuleKey()) {
  807   VModuleKey allocateVModule() {
  814   void releaseVModule(VModuleKey Key) { /* FIXME: Recycle keys */
  930   VModuleKey LastKey = 0;
include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
  110                        std::vector<std::string> CtorDtorNames, VModuleKey K)
  138   orc::VModuleKey K;
  143     std::vector<std::string> CtorDtorNames, VModuleKey K)
include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
   36       std::function<void(VModuleKey K, ThreadSafeModule TSM)>;
   62       std::function<void(VModuleKey K, std::unique_ptr<Module>)>;
   92   Error addModule(VModuleKey K, std::unique_ptr<Module> M) {
  101   Error removeModule(VModuleKey K) { return BaseLayer.removeObject(K); }
  119   JITSymbol findSymbolIn(VModuleKey K, const std::string &Name,
  127   Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); }
include/llvm/ExecutionEngine/Orc/IRTransformLayer.h
   78   Error addModule(VModuleKey K, std::unique_ptr<Module> M) {
   83   Error removeModule(VModuleKey K) { return BaseLayer.removeModule(K); }
  101   JITSymbol findSymbolIn(VModuleKey K, const std::string &Name,
  109   Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); }
include/llvm/ExecutionEngine/Orc/Layer.h
   52                     VModuleKey K = VModuleKey());
   73                         VModuleKey K);
   80   IRMaterializationUnit(ThreadSafeModule TSM, VModuleKey K,
  101   BasicIRLayerMaterializationUnit(IRLayer &L, VModuleKey K,
  109   VModuleKey K;
  124                     VModuleKey K = VModuleKey());
  139   Create(ObjectLayer &L, VModuleKey K, std::unique_ptr<MemoryBuffer> O);
  141   BasicObjectLayerMaterializationUnit(ObjectLayer &L, VModuleKey K,
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
   45     EmissionDeferredModule(VModuleKey K, std::unique_ptr<Module> M)
  184     VModuleKey K;
  190   std::map<VModuleKey, std::unique_ptr<EmissionDeferredModule>> ModuleMap;
  205   Error addModule(VModuleKey K, std::unique_ptr<Module> M) {
  216   Error removeModule(VModuleKey K) {
  246   JITSymbol findSymbolIn(VModuleKey K, const std::string &Name,
  254   Error emitAndFinalize(VModuleKey K) {
include/llvm/ExecutionEngine/Orc/LazyReexports.h
  163                                    ImplSymbolMap *SrcJDLoc, VModuleKey K);
  188               VModuleKey K = VModuleKey()) {
include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
   70     virtual Error notifyRemovingModule(VModuleKey K) {
  144   Error removeModule(VModuleKey K);
  152   DenseMap<VModuleKey, AllocPtr> TrackedAllocs;
  163   Error notifyRemovingModule(VModuleKey K) override;
  175   DenseMap<VModuleKey, EHFrameRange> TrackedEHFrameRanges;
include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
   69   template <typename ObjectPtr> Error addObject(VModuleKey K, ObjectPtr Obj) {
   74   Error removeObject(VModuleKey K) { return BaseLayer.removeObject(K); }
   92   JITSymbol findSymbolIn(VModuleKey K, const std::string &Name,
   99   Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); }
  103   void mapSectionAddress(VModuleKey K, const void *LocalAddress,
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
   42       std::function<void(VModuleKey, const object::ObjectFile &Obj,
   47       std::function<void(VModuleKey, std::unique_ptr<MemoryBuffer>)>;
  117   Error onObjLoad(VModuleKey K, MaterializationResponsibility &R,
  123   void onObjEmit(VModuleKey K, std::unique_ptr<MemoryBuffer> ObjBuffer,
  195       std::function<void(VModuleKey, const object::ObjectFile &Obj,
  200       std::function<void(VModuleKey, const object::ObjectFile &Obj,
  204   using NotifyFreedFtor = std::function<void(VModuleKey, const object::ObjectFile &Obj)>;
  212     ConcreteLinkedObject(LegacyRTDyldObjectLinkingLayer &Parent, VModuleKey K,
  327     VModuleKey K;
  336   createLinkedObject(LegacyRTDyldObjectLinkingLayer &Parent, VModuleKey K,
  352   using ResourcesGetter = std::function<Resources(VModuleKey)>;
  389   Error addObject(VModuleKey K, ObjectPtr ObjBuffer) {
  415   Error removeObject(VModuleKey K) {
  443   JITSymbol findSymbolIn(VModuleKey K, StringRef Name,
  451   void mapSectionAddress(VModuleKey K, const void *LocalAddress,
  460   Error emitAndFinalize(VModuleKey K) {
  475   std::map<VModuleKey, std::unique_ptr<LinkedObject>> LinkedObjects;
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
   71                                     VModuleKey K, CompileOnDemandLayer &Parent)
lib/ExecutionEngine/Orc/Core.cpp
  361     JITDylib &JD, SymbolFlagsMap SymbolFlags, VModuleKey K)
  449                                         VModuleKey NewKey) {
  484     SymbolMap Symbols, VModuleKey K)
  515     VModuleKey K)
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
   29                                      CompileFunction Compile, VModuleKey K)
lib/ExecutionEngine/Orc/Layer.cpp
   21 Error IRLayer::add(JITDylib &JD, ThreadSafeModule TSM, VModuleKey K) {
   27                                              ThreadSafeModule TSM, VModuleKey K)
   46     ThreadSafeModule TSM, VModuleKey K, SymbolFlagsMap SymbolFlags,
   75     IRLayer &L, VModuleKey K, ThreadSafeModule TSM)
  109                        VModuleKey K) {
  118 BasicObjectLayerMaterializationUnit::Create(ObjectLayer &L, VModuleKey K,
  132     ObjectLayer &L, VModuleKey K, std::unique_ptr<MemoryBuffer> O,
lib/ExecutionEngine/Orc/LazyReexports.cpp
  125     VModuleKey K)
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  365 Error ObjectLinkingLayer::removeModule(VModuleKey K) {
  448 Error EHFrameRegistrationPlugin::notifyRemovingModule(VModuleKey K) {
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
   56   virtual JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name,
   58   virtual Error removeModule(orc::VModuleKey K) = 0;
   65     JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name,
   70     Error removeModule(orc::VModuleKey K) override {
   85     JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name,
   90     Error removeModule(orc::VModuleKey K) override {
  285   Expected<orc::VModuleKey>
  325   Expected<orc::VModuleKey>
  334   Expected<orc::VModuleKey>
  348   Error removeModule(orc::VModuleKey K) {
  357   Expected<orc::VModuleKey> addObject(std::unique_ptr<MemoryBuffer> ObjBuffer,
  386   JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name,
  409   Expected<JITTargetAddress> findSymbolAddressIn(orc::VModuleKey K,
  448       std::map<orc::VModuleKey, std::shared_ptr<orc::SymbolResolver>>;
  493   void notifyFinalized(orc::VModuleKey K,
  502   void notifyFreed(orc::VModuleKey K, const object::ObjectFile &Obj) {
  523   std::map<orc::VModuleKey, std::unique_ptr<detail::GenericLayer>> KeyLayers;
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  428     void operator()(VModuleKey K, const object::ObjectFile &Obj,
  442     void operator()(VModuleKey K, const object::ObjectFile &Obj,
  484   std::map<VModuleKey, std::vector<std::string>> UnexecutedConstructors;
  485   std::map<VModuleKey, std::vector<std::string>> UnexecutedDestructors;
  492   std::map<VModuleKey, SectionAddrSet> UnfinalizedSections;
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
  150     VModuleKey K, MaterializationResponsibility &R, object::ObjectFile &Obj,
  196     VModuleKey K, std::unique_ptr<MemoryBuffer> ObjBuffer,
unittests/ExecutionEngine/Orc/LazyEmittingLayerTest.cpp
   17   ModuleHandleT addModule(llvm::orc::VModuleKey,
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
  132   std::map<orc::VModuleKey, std::shared_ptr<orc::SymbolResolver>> Resolvers;
unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp
   49   template <typename ObjPtrT> llvm::Error addObject(VModuleKey K, ObjPtrT Obj) {
   56   template <typename ObjPtrT> void expectAddObject(VModuleKey K, ObjPtrT Obj) {
   66   llvm::Error removeObject(VModuleKey K) {
   72   void expectRemoveObject(VModuleKey K) { MockKey = K; }
   98   llvm::JITSymbol findSymbolIn(VModuleKey K, const std::string &Name,
  107   void expectFindSymbolIn(VModuleKey K, const std::string &Name,
  121   llvm::Error emitAndFinalize(VModuleKey K) {
  127   void expectEmitAndFinalize(VModuleKey K) { MockKey = K; }
  134   void mapSectionAddress(VModuleKey K, const void *LocalAddress,
  141   void expectMapSectionAddress(VModuleKey K, const void *LocalAddress,
  155   VModuleKey MockKey;
  313   VModuleKey DummyKey = ES.allocateVModule();