Home
last modified time | relevance | path

Searched refs:CompileLayer (Results 1 – 12 of 12) sorted by relevance

/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h44 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/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h50 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/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h45 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/
DKaleidoscopeJIT.h47 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/
DKaleidoscopeJIT.h72 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; variable
77 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer;
87 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), in KaleidoscopeJIT()
88 OptimizeLayer(CompileLayer, in KaleidoscopeJIT()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h78 IRCompileLayer<decltype(ObjectLayer)> CompileLayer; variable
83 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer;
92 CompileLayer(ObjectLayer, SimpleCompiler(*TM)), in KaleidoscopeJIT()
93 OptimizeLayer(CompileLayer, in KaleidoscopeJIT()
/external/llvm/tools/lli/
DOrcLazyJIT.h50 CompileLayer(ObjectLayer, orc::SimpleCompiler(*this->TM)), in OrcLazyJIT()
51 IRDumpLayer(CompileLayer, createDebugDumper()), in OrcLazyJIT()
151 CompileLayerT CompileLayer; variable
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h87 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
DOrcMCJITReplacement.h156 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/
DBuildingAJIT2.rst58 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
DBuildingAJIT1.rst132 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/llvm/unittests/ExecutionEngine/Orc/
DObjectTransformLayerTest.cpp320 IRCompileLayer<decltype(TransformLayer)> CompileLayer(TransformLayer, in TEST() local
327 CompileLayer.addModuleSet(std::vector<llvm::Module *>(), &Manager, &Resolver); in TEST()