/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | Core.h | 37 class JITDylib; variable 59 using SymbolDependenceMap = DenseMap<JITDylib *, SymbolNameSet>; 94 std::vector<std::pair<JITDylib *, JITDylibLookupFlags>>; 99 ArrayRef<JITDylib *> JDs, 448 JITDylib &getTargetJITDylib() const { return JD; } in getTargetJITDylib() 534 MaterializationResponsibility(JITDylib &JD, SymbolFlagsMap SymbolFlags, 537 JITDylib &JD; 567 void doMaterialize(JITDylib &JD) { in doMaterialize() 574 void doDiscard(const JITDylib &JD, const SymbolStringPtr &Name) { in doDiscard() 595 virtual void discard(const JITDylib &JD, const SymbolStringPtr &Name) = 0; [all …]
|
D | LazyReexports.h | 47 virtual Error operator()(JITDylib &SourceJD, 60 Error operator()(JITDylib &SourceJD, const SymbolStringPtr &SymbolName, in operator() 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,
|
D | LLJIT.h | 52 JITDylib &getMainJITDylib() { return Main; } in getMainJITDylib() 56 JITDylib *getJITDylibByName(StringRef Name) { in getJITDylibByName() 66 JITDylib &createJITDylib(std::string Name) { in createJITDylib() 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) { in lookup() 140 JITDylib &Main; 172 Error addLazyIRModule(JITDylib &JD, ThreadSafeModule M);
|
D | ExecutionUtils.h | 159 CtorDtorRunner(JITDylib &JD) : JD(JD) {} in CtorDtorRunner() 167 JITDylib &JD; 246 Error enable(JITDylib &JD, MangleAndInterner &Mangler); 254 class DynamicLibrarySearchGenerator : public JITDylib::DefinitionGenerator { 282 Error tryToGenerate(LookupKind K, JITDylib &JD, 297 class StaticLibraryDefinitionGenerator : public JITDylib::DefinitionGenerator { 312 Error tryToGenerate(LookupKind K, JITDylib &JD,
|
D | Layer.h | 60 void discard(const JITDylib &JD, const SymbolStringPtr &Name) override; 98 virtual Error add(JITDylib &JD, ThreadSafeModule TSM, 136 virtual Error add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O, 164 void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
|
D | Speculation.h | 43 using AliaseeDetails = std::pair<SymbolStringPtr, JITDylib *>; 46 void trackImpls(SymbolAliasMap ImplMaps, JITDylib *SrcJD); 98 JITDylib *ImplJD = ImplSymbol.getPointer()->second; in launchCompile() 137 Error addSpeculationRuntime(JITDylib &JD, MangleAndInterner &Mangle); 144 void registerSymbols(FunctionCandidatesMap Candidates, JITDylib *JD) { in registerSymbols()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
D | Core.h | 37 class JITDylib; variable 44 using JITDylibSP = IntrusiveRefCntPtr<JITDylib>; 52 friend class JITDylib; variable 64 JITDylib &getJITDylib() const { in getJITDylib() 65 return *reinterpret_cast<JITDylib *>(JDAndFlag.load() & in getJITDylib() 115 using SymbolDependenceMap = DenseMap<JITDylib *, SymbolNameSet>; 150 std::vector<std::pair<JITDylib *, JITDylibLookupFlags>>; 155 ArrayRef<JITDylib *> JDs, 508 JITDylib &getTargetJITDylib() const { return *JD; } in getTargetJITDylib() 636 friend class JITDylib; variable [all …]
|
D | MachOPlatform.h | 90 std::vector<std::pair<JITDylib *, MachOJITDylibInitializers>>; 93 std::vector<std::pair<JITDylib *, MachOJITDylibDeinitializers>>; 100 Error setupJITDylib(JITDylib &JD) override; 105 Expected<InitializerSequence> getInitializerSequence(JITDylib &JD); 107 Expected<DeinitializerSequence> getDeinitializerSequence(JITDylib &JD); 149 DenseMap<JITDylib *, std::pair<uint32_t, uint32_t>> ObjCImageInfos; 153 void registerInitInfo(JITDylib &JD, JITTargetAddress ObjCImageInfoAddr, 162 DenseMap<JITDylib *, SymbolLookupSet> RegisteredInitSymbols; 167 DenseMap<JITDylib *, MachOJITDylibInitializers> InitSeqs;
|
D | LLJIT.h | 48 virtual Error initialize(JITDylib &JD) = 0; 50 virtual Error deinitialize(JITDylib &JD) = 0; 71 JITDylib &getMainJITDylib() { return *Main; } in getMainJITDylib() 75 JITDylib *getJITDylibByName(StringRef Name) { in getJITDylibByName() 85 Expected<JITDylib &> createJITDylib(std::string Name) { in createJITDylib() 93 Error addIRModule(JITDylib &JD, ThreadSafeModule TSM); 104 Error addObjectFile(JITDylib &JD, std::unique_ptr<MemoryBuffer> Obj); 113 Expected<JITEvaluatedSymbol> lookupLinkerMangled(JITDylib &JD, 118 Expected<JITEvaluatedSymbol> lookupLinkerMangled(JITDylib &JD, in lookupLinkerMangled() 131 Expected<JITEvaluatedSymbol> lookup(JITDylib &JD, StringRef UnmangledName) { in lookup() [all …]
|
D | CompileOnDemandLayer.h | 103 PerDylibResources(JITDylib &ImplD, in PerDylibResources() 106 JITDylib &getImplDylib() { return ImplD; } in getImplDylib() 110 JITDylib &ImplD; 114 using PerDylibResourcesMap = std::map<const JITDylib *, PerDylibResources>; 116 PerDylibResources &getPerDylibResources(JITDylib &TargetD);
|
D | LazyReexports.h | 49 getCallThroughTrampoline(JITDylib &SourceJD, SymbolStringPtr SymbolName, 63 JITDylib *SourceJD; 145 JITDylib &SourceJD, 153 void discard(const JITDylib &JD, const SymbolStringPtr &Name) override; 158 JITDylib &SourceJD; 168 IndirectStubsManager &ISManager, JITDylib &SourceJD,
|
D | Layer.h | 62 void discard(const JITDylib &JD, const SymbolStringPtr &Name) override; 103 Error add(JITDylib &JD, ThreadSafeModule TSM) { in add() 144 Error add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O) { in add() 173 void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
|
D | Speculation.h | 39 using AliaseeDetails = std::pair<SymbolStringPtr, JITDylib *>; 42 void trackImpls(SymbolAliasMap ImplMaps, JITDylib *SrcJD); 94 JITDylib *ImplJD = ImplSymbol.getPointer()->second; in launchCompile() 133 Error addSpeculationRuntime(JITDylib &JD, MangleAndInterner &Mangle); 140 void registerSymbols(FunctionCandidatesMap Candidates, JITDylib *JD) { in registerSymbols()
|
D | ExecutionUtils.h | 146 CtorDtorRunner(JITDylib &JD) : JD(JD) {} in CtorDtorRunner() 154 JITDylib &JD; 194 Error enable(JITDylib &JD, MangleAndInterner &Mangler); 246 Error tryToGenerate(LookupState &LS, LookupKind K, JITDylib &JD, 284 Error tryToGenerate(LookupState &LS, LookupKind K, JITDylib &JD,
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | Core.cpp | 188 void AsynchronousSymbolQuery::addQueryDependence(JITDylib &JD, in addQueryDependence() 196 JITDylib &JD, const SymbolStringPtr &Name) { in removeQueryDependence() 238 void AbsoluteSymbolsMaterializationUnit::discard(const JITDylib &JD, in discard() 253 JITDylib *SourceJD, JITDylibLookupFlags SourceJDLookupFlags, in ReExportsMaterializationUnit() 266 JITDylib &TgtJD = R->getTargetJITDylib(); in materialize() 267 JITDylib &SrcJD = SourceJD ? *SourceJD : TgtJD; in materialize() 430 void ReExportsMaterializationUnit::discard(const JITDylib &JD, in discard() 446 Expected<SymbolAliasMap> buildSimpleReexportsAliasMap(JITDylib &SourceJD, in buildSimpleReexportsAliasMap() 544 ReexportsGenerator::ReexportsGenerator(JITDylib &SourceJD, in ReexportsGenerator() 551 JITDylib &JD, in tryToGenerate() [all …]
|
D | LLJIT.cpp | 90 Error setupJITDylib(JITDylib &JD) override; 153 Error setupJITDylib(JITDylib &JD) { in setupJITDylib() 211 Error initialize(JITDylib &JD) override { in initialize() 231 Error deinitialize(JITDylib &JD) override { in deinitialize() 253 void registerInitFunc(JITDylib &JD, SymbolStringPtr InitName) { in registerInitFunc() 261 Expected<std::vector<JITTargetAddress>> getInitializers(JITDylib &JD) { in getInitializers() 265 DenseMap<JITDylib *, SymbolLookupSet> LookupSymbols; in getInitializers() 310 Expected<std::vector<JITTargetAddress>> getDeinitializers(JITDylib &JD) { in getDeinitializers() 315 DenseMap<JITDylib *, SymbolLookupSet> LookupSymbols; in getDeinitializers() 368 Error issueInitLookups(JITDylib &JD) { in issueInitLookups() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | Core.cpp | 398 void AsynchronousSymbolQuery::addQueryDependence(JITDylib &JD, in addQueryDependence() 406 JITDylib &JD, const SymbolStringPtr &Name) { in removeQueryDependence() 425 JITDylib &JD, SymbolFlagsMap SymbolFlags, VModuleKey K) in MaterializationResponsibility() 493 JITDylib::FailedSymbolsWorklist Worklist; in failMaterialization() 567 void AbsoluteSymbolsMaterializationUnit::discard(const JITDylib &JD, in discard() 582 JITDylib *SourceJD, JITDylibLookupFlags SourceJDLookupFlags, in ReExportsMaterializationUnit() 596 JITDylib &TgtJD = R.getTargetJITDylib(); in materialize() 597 JITDylib &SrcJD = SourceJD ? *SourceJD : TgtJD; in materialize() 735 void ReExportsMaterializationUnit::discard(const JITDylib &JD, in discard() 752 buildSimpleReexportsAliasMap(JITDylib &SourceJD, const SymbolNameSet &Symbols) { in buildSimpleReexportsAliasMap() [all …]
|
D | LazyReexports.cpp | 27 JITDylib &SourceJD, SymbolStringPtr SymbolName, in getCallThroughTrampoline() 42 JITDylib *SourceJD = nullptr; in callThroughToSymbol() 126 JITDylib &SourceJD, SymbolAliasMap CallableAliases, ImplSymbolMap *SrcJDLoc, in LazyReexportsMaterializationUnit() 132 [&ISManager](JITDylib &JD, const SymbolStringPtr &SymbolName, in LazyReexportsMaterializationUnit() 193 void LazyReexportsMaterializationUnit::discard(const JITDylib &JD, in discard()
|
D | LLJIT.cpp | 63 Error LLJIT::addIRModule(JITDylib &JD, ThreadSafeModule TSM) { in addIRModule() 73 Error LLJIT::addObjectFile(JITDylib &JD, std::unique_ptr<MemoryBuffer> Obj) { in addObjectFile() 79 Expected<JITEvaluatedSymbol> LLJIT::lookupLinkerMangled(JITDylib &JD, in lookupLinkerMangled() 160 [this](JITDylib &JD, std::unique_ptr<MaterializationUnit> MU) { in LLJIT() 202 Error LLLazyJIT::addLazyIRModule(JITDylib &JD, ThreadSafeModule TSM) { in addLazyIRModule()
|
D | Layer.cpp | 21 Error IRLayer::add(JITDylib &JD, ThreadSafeModule TSM, VModuleKey K) { in add() 91 void IRMaterializationUnit::discard(const JITDylib &JD, in discard() 141 Error ObjectLayer::add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O, in add() 181 void BasicObjectLayerMaterializationUnit::discard(const JITDylib &JD, in discard()
|
/external/llvm-project/llvm/test/ExecutionEngine/OrcLazy/ |
D | hidden-visibility.ll | 5 ; added to the same JITDylib, and not visible if it is added to a different 6 ; JITDylib.
|
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | CoreAPIsTest.cpp | 176 [&](const JITDylib &JD, const SymbolStringPtr &Name) { in TEST_F() 192 [](const JITDylib &JD, const SymbolStringPtr &Name) { in TEST_F() 296 Error tryToGenerate(LookupState &LS, LookupKind K, JITDylib &, in TEST_F() argument 911 [&](const JITDylib &JD, SymbolStringPtr Name) { in TEST_F() 946 [&](const JITDylib &JD, SymbolStringPtr Name) { in TEST_F() 995 [&](const JITDylib &JD, SymbolStringPtr Name) { in TEST_F() 1059 Error tryToGenerate(LookupState &LS, LookupKind K, JITDylib &JD, in TEST_F() 1346 ArrayRef<JITDylib *> RHS) { in linkOrdersEqual() 1379 auto DFSOrderFromB = JITDylib::getDFSLinkOrder({&LibB}); in TEST() 1383 auto DFSOrderFromA = JITDylib::getDFSLinkOrder({&LibA}); in TEST() [all …]
|
/external/llvm-project/llvm/docs/ |
D | ORCv2.rst | 188 // Create JITDylib "A" and add code to it using the CXX layer. 193 // Create JITDylib "B" and add code to it using the CXX layer. 198 // Create and specify the search order for the main JITDylib. This is 224 all of their code in a single JITDylib. However, clients who want to JIT code 251 As each materializer completes its work it notifies the JITDylib, which in turn 285 which is then stored in the JITDylib. MaterializationUnits are responsible for 296 that must be materialized and provides a way to notify the JITDylib once they 395 JITDylib. The ``reexports`` function provides the same functionality, but 396 operates across JITDylib boundaries. E.g. 409 The reexports utility can be handy for composing a single JITDylib interface by [all …]
|
/external/llvm-project/llvm/examples/Kaleidoscope/include/ |
D | KaleidoscopeJIT.h | 44 JITDylib &MainJD; 87 JITDylib &getMainJITDylib() { return MainJD; } in getMainJITDylib()
|
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
D | KaleidoscopeJIT.h | 44 JITDylib &MainJD; 87 JITDylib &getMainJITDylib() { return MainJD; } in getMainJITDylib()
|