/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | CoreAPIsTest.cpp | 40 cantFail(JD.define(std::make_unique<SimpleMaterializationUnit>( in TEST_F() 46 ES.lookup(LookupKind::Static, makeJITDylibSearchOrder(&JD), in TEST_F() 69 ES.lookup(LookupKind::Static, makeJITDylibSearchOrder(&JD), SymbolLookupSet(), in TEST_F() 81 cantFail(JD.define(std::make_unique<SimpleMaterializationUnit>( in TEST_F() 89 cantFail(ES.lookup(makeJITDylibSearchOrder(&JD), SymbolLookupSet({Foo}))); in TEST_F() 103 cantFail(JD.define(std::make_unique<SimpleMaterializationUnit>( in TEST_F() 112 LookupKind::Static, makeJITDylibSearchOrder(&JD), in TEST_F() 137 cantFail(JD.define(std::make_unique<SimpleMaterializationUnit>( in TEST_F() 146 ES.lookup(makeJITDylibSearchOrder(&JD), SymbolLookupSet({Foo})), in TEST_F() 149 ES.lookup(makeJITDylibSearchOrder(&JD), SymbolLookupSet({Foo})), in TEST_F() [all …]
|
D | ResourceTrackerTest.cpp | 136 auto RT = JD.createResourceTracker(); in TEST_F() 137 cantFail(JD.define(std::move(MU), RT)); in TEST_F() 141 {{&JD, JITDylibLookupFlags::MatchExportedSymbolsOnly}}, in TEST_F() 175 auto RT = JD.createResourceTracker(); in TEST_F() 176 cantFail(JD.define(std::move(MU), RT)); in TEST_F() 177 cantFail(ES.lookup({&JD}, Foo)); in TEST_F() 181 {{&JD, JITDylibLookupFlags::MatchExportedSymbolsOnly}}, in TEST_F() 209 auto RT = JD.createResourceTracker(); in TEST_F() 210 cantFail(JD.define(std::move(MU), RT)); in TEST_F() 213 LookupKind::Static, makeJITDylibSearchOrder(&JD), SymbolLookupSet(Foo), in TEST_F() [all …]
|
D | RTDyldObjectLinkingLayerTest.cpp | 50 auto &JD = ES.createBareJITDylib("main"); in testSetProcessAllSections() local 62 cantFail(ObjLayer.add(JD, std::move(Obj))); in testSetProcessAllSections() 63 ES.lookup(LookupKind::Static, makeJITDylibSearchOrder(&JD), in testSetProcessAllSections() 156 auto &JD = ES.createBareJITDylib("main"); in TEST() local 165 cantFail(CompileLayer.add(JD, std::move(M))); in TEST() 167 LookupKind::Static, makeJITDylibSearchOrder(&JD), SymbolLookupSet(Foo), in TEST() 226 auto &JD = ES.createBareJITDylib("main"); in TEST() local 235 cantFail(CompileLayer.add(JD, std::move(M))); in TEST() 237 LookupKind::Static, makeJITDylibSearchOrder(&JD), SymbolLookupSet(Foo), in TEST()
|
/external/exoplayer/tree/testdata/src/test/assets/ts/ |
D | bbb_2500ms.ts | 145 …JD@p�)G)JDQ�R�r��E�)G)JD@���)H�9JR"�R�����"G(�)H�9JR"�R�����"(�)H�9JR"�R�����"(�)H�9JR"�R… 204 …JD\�)�JR"�)H���".R���JR"�)H���".R���JR"�)H���".R���JR"�)H���".R���JR"�)H���".R���JR"�)H���".R���J… 205 …JD\�)r��J�)H���".R���JR"�)H���".R���JR"�)GH���".R���JR"�)H���".R���JR"�)H���".R���JR"�)H���".R… 206 …JD\�)r��E�R�)JD\�)r��E�R�)JD�R���JR"�)H���".R���JR"�)H���".R���JR"�)H���".R���JR"�)H���".R���J…
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | Core.cpp | 38 ResourceTracker::ResourceTracker(JITDylibSP JD) { in ResourceTracker() argument 39 assert((reinterpret_cast<uintptr_t>(JD.get()) & 0x1) == 0 && in ResourceTracker() 41 JD->Retain(); in ResourceTracker() 42 JDAndFlag.store(reinterpret_cast<uintptr_t>(JD.get())); in ResourceTracker() 188 void AsynchronousSymbolQuery::addQueryDependence(JITDylib &JD, in addQueryDependence() argument 190 bool Added = QueryRegistrations[&JD].insert(std::move(Name)).second; in addQueryDependence() 196 JITDylib &JD, const SymbolStringPtr &Name) { in removeQueryDependence() argument 197 auto QRI = QueryRegistrations.find(&JD); in removeQueryDependence() 238 void AbsoluteSymbolsMaterializationUnit::discard(const JITDylib &JD, in discard() argument 430 void ReExportsMaterializationUnit::discard(const JITDylib &JD, in discard() argument [all …]
|
D | LLJIT.cpp | 90 Error setupJITDylib(JITDylib &JD) override; 153 Error setupJITDylib(JITDylib &JD) { in setupJITDylib() argument 160 cantFail(JD.define(absoluteSymbols(std::move(PerJDInterposes)))); in setupJITDylib() 169 ConstantInt::get(Int64Ty, reinterpret_cast<uintptr_t>(&JD)), in setupJITDylib() 173 ConstantInt::get(Int64Ty, pointerToJITTargetAddress(&JD))); in setupJITDylib() 188 return J.addIRModule(JD, ThreadSafeModule(std::move(M), std::move(Ctx))); in setupJITDylib() 192 auto &JD = RT.getJITDylib(); in notifyAdding() local 194 InitSymbols[&JD].add(InitSym, SymbolLookupFlags::WeaklyReferencedSymbol); in notifyAdding() 203 InitSymbols[&JD].add(KV.first, in notifyAdding() 205 InitFunctions[&JD].add(KV.first); in notifyAdding() [all …]
|
D | OrcV2CBindings.cpp | 100 Error tryToGenerate(LookupState &LS, LookupKind K, JITDylib &JD, in tryToGenerate() argument 149 ::wrap(&JD), CJDLookupFlags, in tryToGenerate() 201 LLVMOrcJITDylibCreateResourceTracker(LLVMOrcJITDylibRef JD) { in LLVMOrcJITDylibCreateResourceTracker() argument 202 auto RT = unwrap(JD)->createResourceTracker(); in LLVMOrcJITDylibCreateResourceTracker() 209 LLVMOrcJITDylibGetDefaultResourceTracker(LLVMOrcJITDylibRef JD) { in LLVMOrcJITDylibGetDefaultResourceTracker() argument 210 auto RT = unwrap(JD)->getDefaultResourceTracker(); in LLVMOrcJITDylibGetDefaultResourceTracker() 269 auto JD = unwrap(ES)->createJITDylib(Name); in LLVMOrcExecutionSessionCreateJITDylib() local 270 if (!JD) in LLVMOrcExecutionSessionCreateJITDylib() 271 return wrap(JD.takeError()); in LLVMOrcExecutionSessionCreateJITDylib() 272 *Result = wrap(&*JD); in LLVMOrcExecutionSessionCreateJITDylib() [all …]
|
D | MachOPlatform.cpp | 156 Error MachOPlatform::setupJITDylib(JITDylib &JD) { in setupJITDylib() argument 159 return ObjLinkingLayer.add(JD, std::move(ObjBuffer)); in setupJITDylib() 164 auto &JD = RT.getJITDylib(); in notifyAdding() local 169 RegisteredInitSymbols[&JD].add(InitSym, in notifyAdding() 183 MachOPlatform::getInitializerSequence(JITDylib &JD) { in getInitializerSequence() argument 187 << JD.getName() << "\n"; in getInitializerSequence() 197 DFSLinkOrder = JD.getDFSLinkOrder(); in getInitializerSequence() 219 if (auto R = lookupInitSymbols(JD.getExecutionSession(), NewInitSymbols)) in getInitializerSequence() 251 MachOPlatform::getDeinitializerSequence(JITDylib &JD) { in getDeinitializerSequence() argument 252 std::vector<JITDylibSP> DFSLinkOrder = JD.getDFSLinkOrder(); in getDeinitializerSequence() [all …]
|
D | Layer.cpp | 27 auto &JD = RT->getJITDylib(); in add() local 28 return JD.define(std::make_unique<BasicIRLayerMaterializationUnit>( in add() 113 void IRMaterializationUnit::discard(const JITDylib &JD, in discard() argument 115 LLVM_DEBUG(JD.getExecutionSession().runSessionLocked([&]() { in discard() 116 dbgs() << "In " << JD.getName() << " discarding " << *Name << " from MU@" in discard() 167 auto &JD = RT->getJITDylib(); in add() local 168 return JD.define(std::move(*ObjMU), std::move(RT)); in add() 205 void BasicObjectLayerMaterializationUnit::discard(const JITDylib &JD, in discard() argument
|
D | ExecutionUtils.cpp | 117 JD.getExecutionSession(), in add() 150 auto &ES = JD.getExecutionSession(); in run() 152 makeJITDylibSearchOrder(&JD, JITDylibLookupFlags::MatchAllSymbols), in run() 184 Error LocalCXXRuntimeOverrides::enable(JITDylib &JD, in enable() argument 194 return JD.define(absoluteSymbols(std::move(RuntimeInterposes))); in enable() 238 LookupState &LS, LookupKind K, JITDylib &JD, in tryToGenerate() argument 268 return JD.define(absoluteSymbols(std::move(NewSymbols))); in tryToGenerate() 342 LookupState &LS, LookupKind K, JITDylib &JD, in tryToGenerate() argument 374 if (auto Err = L.add(JD, MemoryBuffer::getMemBuffer(ChildBufferRef, false))) in tryToGenerate()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
D | LLJIT.h | 48 virtual Error initialize(JITDylib &JD) = 0; 50 virtual Error deinitialize(JITDylib &JD) = 0; 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() argument 120 return lookupLinkerMangled(JD, ES->intern(Name)); in lookupLinkerMangled() 131 Expected<JITEvaluatedSymbol> lookup(JITDylib &JD, StringRef UnmangledName) { in lookup() argument 132 return lookupLinkerMangled(JD, mangle(UnmangledName)); in lookup() 149 Error initialize(JITDylib &JD) { in initialize() argument [all …]
|
D | Core.h | 85 ResourceTracker(JITDylibSP JD); 159 for (auto *JD : JDs) 160 O.push_back(std::make_pair(JD, Flags)); 508 JITDylib &getTargetJITDylib() const { return *JD; } in getTargetJITDylib() 613 MaterializationResponsibility(JITDylibSP JD, SymbolFlagsMap SymbolFlags, in MaterializationResponsibility() argument 615 : JD(std::move(JD)), SymbolFlags(std::move(SymbolFlags)), in MaterializationResponsibility() 617 assert(this->JD && "Cannot initialize with null JITDylib"); in MaterializationResponsibility() 621 JITDylibSP JD; variable 667 void doDiscard(const JITDylib &JD, const SymbolStringPtr &Name) { in doDiscard() argument 669 discard(JD, std::move(Name)); in doDiscard() [all …]
|
D | Layer.h | 62 void discard(const JITDylib &JD, const SymbolStringPtr &Name) override; 103 Error add(JITDylib &JD, ThreadSafeModule TSM) { in add() argument 104 return add(JD.getDefaultResourceTracker(), std::move(TSM)); in add() 144 Error add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O) { in add() argument 145 return add(JD.getDefaultResourceTracker(), std::move(O)); in add() 173 void discard(const JITDylib &JD, const SymbolStringPtr &Name) override;
|
D | ExecutionUtils.h | 146 CtorDtorRunner(JITDylib &JD) : JD(JD) {} in CtorDtorRunner() argument 154 JITDylib &JD; variable 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,
|
D | MachOPlatform.h | 100 Error setupJITDylib(JITDylib &JD) override; 105 Expected<InitializerSequence> getInitializerSequence(JITDylib &JD); 107 Expected<DeinitializerSequence> getDeinitializerSequence(JITDylib &JD); 153 void registerInitInfo(JITDylib &JD, JITTargetAddress ObjCImageInfoAddr,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | LLJIT.cpp | 63 Error LLJIT::addIRModule(JITDylib &JD, ThreadSafeModule TSM) { in addIRModule() argument 70 return CompileLayer->add(JD, std::move(TSM), ES->allocateVModule()); in addIRModule() 73 Error LLJIT::addObjectFile(JITDylib &JD, std::unique_ptr<MemoryBuffer> Obj) { in addObjectFile() argument 76 return ObjTransformLayer.add(JD, std::move(Obj), ES->allocateVModule()); in addObjectFile() 79 Expected<JITEvaluatedSymbol> LLJIT::lookupLinkerMangled(JITDylib &JD, in lookupLinkerMangled() argument 82 makeJITDylibSearchOrder(&JD, JITDylibLookupFlags::MatchAllSymbols), in lookupLinkerMangled() 160 [this](JITDylib &JD, std::unique_ptr<MaterializationUnit> MU) { in LLJIT() argument 163 auto Work = [SharedMU, &JD]() { SharedMU->doMaterialize(JD); }; in LLJIT() 202 Error LLLazyJIT::addLazyIRModule(JITDylib &JD, ThreadSafeModule TSM) { in addLazyIRModule() argument 214 return CODLayer->add(JD, std::move(TSM), ES->allocateVModule()); in addLazyIRModule()
|
D | Core.cpp | 398 void AsynchronousSymbolQuery::addQueryDependence(JITDylib &JD, in addQueryDependence() argument 400 bool Added = QueryRegistrations[&JD].insert(std::move(Name)).second; in addQueryDependence() 406 JITDylib &JD, const SymbolStringPtr &Name) { in removeQueryDependence() argument 407 auto QRI = QueryRegistrations.find(&JD); in removeQueryDependence() 425 JITDylib &JD, SymbolFlagsMap SymbolFlags, VModuleKey K) in MaterializationResponsibility() argument 426 : JD(JD), SymbolFlags(std::move(SymbolFlags)), K(std::move(K)) { in MaterializationResponsibility() 436 return JD.getRequestedSymbols(SymbolFlags); in getRequestedSymbols() 441 dbgs() << "In " << JD.getName() << " resolving " << Symbols << "\n"; in notifyResolved() 454 return JD.resolve(Symbols); in notifyResolved() 460 dbgs() << "In " << JD.getName() << " emitting " << SymbolFlags << "\n"; in notifyEmitted() [all …]
|
D | Layer.cpp | 21 Error IRLayer::add(JITDylib &JD, ThreadSafeModule TSM, VModuleKey K) { in add() argument 22 return JD.define(std::make_unique<BasicIRLayerMaterializationUnit>( in add() 91 void IRMaterializationUnit::discard(const JITDylib &JD, in discard() argument 93 LLVM_DEBUG(JD.getExecutionSession().runSessionLocked([&]() { in discard() 94 dbgs() << "In " << JD.getName() << " discarding " << *Name << " from MU@" in discard() 141 Error ObjectLayer::add(JITDylib &JD, std::unique_ptr<MemoryBuffer> O, in add() argument 147 return JD.define(std::move(*ObjMU)); in add() 181 void BasicObjectLayerMaterializationUnit::discard(const JITDylib &JD, in discard() argument
|
D | ExecutionUtils.cpp | 121 JD.getExecutionSession(), in add() 154 auto &ES = JD.getExecutionSession(); in run() 156 makeJITDylibSearchOrder(&JD, JITDylibLookupFlags::MatchAllSymbols), in run() 188 Error LocalCXXRuntimeOverrides::enable(JITDylib &JD, in enable() argument 198 return JD.define(absoluteSymbols(std::move(RuntimeInterposes))); in enable() 218 LookupKind K, JITDylib &JD, JITDylibLookupFlags JDLookupFlags, in tryToGenerate() argument 248 return JD.define(absoluteSymbols(std::move(NewSymbols))); in tryToGenerate() 276 LookupKind K, JITDylib &JD, JITDylibLookupFlags JDLookupFlags, in tryToGenerate() argument 309 L.add(JD, MemoryBuffer::getMemBuffer(ChildBufferRef), VModuleKey())) in tryToGenerate()
|
/external/llvm-project/llvm/include/llvm-c/ |
D | Orc.h | 228 LLVMOrcJITDylibRef JD, LLVMOrcJITDylibLookupFlags JDLookupFlags, 399 LLVMOrcJITDylibCreateResourceTracker(LLVMOrcJITDylibRef JD); 407 LLVMOrcJITDylibGetDefaultResourceTracker(LLVMOrcJITDylibRef JD); 416 LLVMErrorRef LLVMOrcJITDylibDefine(LLVMOrcJITDylibRef JD, 423 LLVMErrorRef LLVMOrcJITDylibClear(LLVMOrcJITDylibRef JD); 431 void LLVMOrcJITDylibAddGenerator(LLVMOrcJITDylibRef JD,
|
D | LLJIT.h | 160 LLVMErrorRef LLVMOrcLLJITAddObjectFile(LLVMOrcLLJITRef J, LLVMOrcJITDylibRef JD, 186 LLVMOrcJITDylibRef JD, 199 LLVMOrcResourceTrackerRef JD,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | Core.h | 103 for (auto *JD : JDs) 104 O.push_back(std::make_pair(JD, Flags)); 448 JITDylib &getTargetJITDylib() const { return JD; } in getTargetJITDylib() 534 MaterializationResponsibility(JITDylib &JD, SymbolFlagsMap SymbolFlags, 537 JITDylib &JD; variable 567 void doMaterialize(JITDylib &JD) { in doMaterialize() argument 568 materialize(MaterializationResponsibility(JD, std::move(SymbolFlags), in doMaterialize() 574 void doDiscard(const JITDylib &JD, const SymbolStringPtr &Name) { in doDiscard() argument 576 discard(JD, std::move(Name)); in doDiscard() 595 virtual void discard(const JITDylib &JD, const SymbolStringPtr &Name) = 0; [all …]
|
D | ExecutionUtils.h | 159 CtorDtorRunner(JITDylib &JD) : JD(JD) {} in CtorDtorRunner() argument 167 JITDylib &JD; variable 246 Error enable(JITDylib &JD, MangleAndInterner &Mangler); 282 Error tryToGenerate(LookupKind K, JITDylib &JD, 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 | LLJIT.h | 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() argument 103 return lookupLinkerMangled(JD, mangle(UnmangledName)); in lookup() 172 Error addLazyIRModule(JITDylib &JD, ThreadSafeModule M);
|