/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
D | KaleidoscopeJIT.h | 44 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; variable 47 typedef decltype(CompileLayer)::ModuleSetHandleT ModuleHandle; 51 CompileLayer(ObjectLayer, SimpleCompiler(*TM)) { in KaleidoscopeJIT() 64 if (auto Sym = CompileLayer.findSymbol(Name, false)) in addModule() 81 return CompileLayer.addModuleSet(std::move(Ms), in addModule() 90 return CompileLayer.findSymbol(MangledNameStream.str(), true); in findSymbol() 94 CompileLayer.removeModuleSet(H); in removeModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
D | KaleidoscopeJIT.h | 46 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer; variable 53 if (auto Sym = CompileLayer.findSymbol(Name, false)) in KaleidoscopeJIT() 69 CompileLayer(ObjectLayer, SimpleCompiler(*TM)) { 78 cantFail(CompileLayer.addModule(K, std::move(M))); in addModule() 86 return CompileLayer.findSymbol(MangledNameStream.str(), true); in findSymbol() 94 cantFail(CompileLayer.removeModule(K)); in removeModule()
|
/external/llvm/examples/Kaleidoscope/include/ |
D | KaleidoscopeJIT.h | 50 CompileLayer(ObjectLayer, SimpleCompiler(*TM)) { in KaleidoscopeJIT() 67 auto H = CompileLayer.addModuleSet(singletonSet(std::move(M)), in addModule() 78 CompileLayer.removeModuleSet(H); in removeModule() 106 if (auto Sym = CompileLayer.findSymbolIn(H, Name, true)) in findMangledSymbol() 119 CompileLayerT CompileLayer; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/include/ |
D | KaleidoscopeJIT.h | 59 CompileLayer(ObjectLayer, SimpleCompiler(*TM)) { 67 cantFail(CompileLayer.addModule(K, std::move(M))); in addModule() 74 cantFail(CompileLayer.removeModule(K)); in removeModule() 109 if (auto Sym = CompileLayer.findSymbolIn(H, Name, ExportedSymbolsOnly)) in findMangledSymbol() 134 CompileLayerT CompileLayer; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
D | KaleidoscopeJIT.h | 55 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer; variable 60 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 74 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), 75 OptimizeLayer(CompileLayer, 103 if (auto Sym = CompileLayer.findSymbol(Name, false)) in addModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
D | KaleidoscopeJIT.h | 51 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer; variable 56 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 79 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), 80 OptimizeLayer(CompileLayer, [this](std::unique_ptr<Module> M) {
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
D | KaleidoscopeJIT.h | 45 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; variable 50 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 57 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), in KaleidoscopeJIT() 58 OptimizeLayer(CompileLayer, in KaleidoscopeJIT()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
D | KaleidoscopeJIT.h | 47 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; variable 52 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 62 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), in KaleidoscopeJIT() 63 OptimizeLayer(CompileLayer, in KaleidoscopeJIT()
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | KaleidoscopeJIT.h | 72 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; variable 77 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 87 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), in KaleidoscopeJIT() 88 OptimizeLayer(CompileLayer, in KaleidoscopeJIT()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | KaleidoscopeJIT.h | 81 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer; variable 86 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 114 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), 115 OptimizeLayer(CompileLayer,
|
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | KaleidoscopeJIT.h | 78 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; variable 83 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 92 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), in KaleidoscopeJIT() 93 OptimizeLayer(CompileLayer, in KaleidoscopeJIT()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | KaleidoscopeJIT.h | 86 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer; variable 91 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 123 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), 124 OptimizeLayer(CompileLayer,
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/ |
D | BuildingAJIT1.rst | 145 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer; 148 using ModuleHandle = decltype(CompileLayer)::ModuleHandleT; 153 RTDyldObjectLinkingLayer and a CompileLayer. We'll be talking more about layers 162 stack: the CompileLayer, which will be responsible for taking LLVM IR, compiling 177 CompileLayer(ObjectLayer, SimpleCompiler(*TM)) { 192 this chapter. Next we initialize our CompileLayer. The CompileLayer needs two 210 if (auto Sym = CompileLayer.findSymbol(Name, false)) 223 return cantFail(CompileLayer.addModule(std::move(M), 230 execution" by adding them straight to the CompileLayer, which will immediately 234 To add our module to the CompileLayer we need to supply both the module and a [all …]
|
D | BuildingAJIT2.rst | 63 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; 68 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 76 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), 77 OptimizeLayer(CompileLayer, 85 but after the CompileLayer we introduce a typedef for our optimization function. 89 which sits on top of our CompileLayer. 91 To initialize our OptimizeLayer we pass it a reference to the CompileLayer 126 Next we need to replace references to 'CompileLayer' with references to 162 the transformed module on to the CompileLayer below. Of course, we could have
|
D | BuildingAJIT3.rst | 82 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer; 87 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 105 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), 106 OptimizeLayer(CompileLayer,
|
/external/llvm/tools/lli/ |
D | OrcLazyJIT.h | 50 CompileLayer(ObjectLayer, orc::SimpleCompiler(*this->TM)), in OrcLazyJIT() 51 IRDumpLayer(CompileLayer, createDebugDumper()), in OrcLazyJIT() 151 CompileLayerT CompileLayer; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | LLJIT.cpp | 38 return CompileLayer.add(V, K, std::move(M)); in addIRModule() 52 CompileLayer(*this->ES, ObjLinkingLayer, SimpleCompiler(*this->TM)), 129 CCMgr(std::move(CCMgr)), TransformLayer(*this->ES, CompileLayer), in LLLazyJIT()
|
D | OrcMCJITReplacement.h | 249 CompileLayer(ObjectLayer, SimpleCompiler(*this->TM), 253 LazyEmitLayer(CompileLayer) {} 371 CompileLayer.getCompiler().setObjectCache(NewCache); in setObjectCache() 482 CompileLayerT CompileLayer; variable
|
D | OrcCBindingsStack.h | 228 CompileLayer(ObjectLayer, orc::SimpleCompiler(TM)), 229 CODLayer(ES, CompileLayer, 340 return addIRModule(RetKey, CompileLayer, std::move(M), in addIRModuleEager() 499 CompileLayerT CompileLayer; variable
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcCBindingsStack.h | 87 CompileLayer(ObjectLayer, orc::SimpleCompiler(TM)), in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 88 CODLayer(CompileLayer, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 206 return addIRModule(CompileLayer, std::move(M), in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 274 CompileLayerT CompileLayer; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local
|
D | OrcMCJITReplacement.h | 156 CompileLayer(ObjectLayer, SimpleCompiler(*this->TM)), in OrcMCJITReplacement() 157 LazyEmitLayer(CompileLayer) {} in OrcMCJITReplacement() 237 CompileLayer.setObjectCache(NewCache); in setObjectCache() 356 CompileLayerT CompileLayer; variable
|
/external/llvm/docs/tutorial/ |
D | BuildingAJIT2.rst | 58 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; 63 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer; 70 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), 71 OptimizeLayer(CompileLayer, 79 but after the CompileLayer we introduce a typedef for our optimization function. 83 which sits on top of our CompileLayer. 85 To initialize our OptimizeLayer we pass it a reference to the CompileLayer 121 Next we need to replace references to 'CompileLayer' with references to 157 the transformed module on to the CompileLayer below. Of course, we could have
|
D | BuildingAJIT1.rst | 132 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; 136 typedef decltype(CompileLayer)::ModuleSetHandleT ModuleHandleT; 164 CompileLayer(ObjectLayer, SimpleCompiler(*TM)) { 192 if (auto Sym = CompileLayer.findSymbol(Name, false)) 209 return CompileLayer.addModuleSet(std::move(Ms), 260 just search for JIT'd code by calling the CompileLayer's findSymbol method. If 269 JIT. We do this by calling the CompileLayer's addModuleSet method [4]_. Since 273 CompileLayer's handle type, we can return the handle from addModuleSet 282 return CompileLayer.findSymbol(MangledNameStream.str(), true); 286 CompileLayer.removeModuleSet(H);
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/ |
D | ObjectTransformLayerTest.cpp | 300 CompileLayer(TransformLayer, NullCompiler); in TEST() local 304 cantFail(CompileLayer.addModule(ES.allocateVModule(), in TEST()
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
D | ObjectTransformLayerTest.cpp | 320 IRCompileLayer<decltype(TransformLayer)> CompileLayer(TransformLayer, in TEST() local 327 CompileLayer.addModuleSet(std::vector<llvm::Module *>(), &Manager, &Resolver); in TEST()
|