Home
last modified time | relevance | path

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

12

/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-project/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h42 IRCompileLayer CompileLayer; variable
54 CompileLayer(*this->ES, ObjectLayer,
92 return CompileLayer.add(RT, std::move(TSM));
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h42 IRCompileLayer CompileLayer; variable
54 CompileLayer(*this->ES, ObjectLayer,
92 return CompileLayer.add(RT, std::move(TSM));
/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-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h47 IRCompileLayer CompileLayer; variable
60 CompileLayer(*this->ES, ObjectLayer,
62 OptimizeLayer(*this->ES, CompileLayer, optimizeModule),
/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/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h188 if (auto Sym = Stack.CompileLayer.findSymbol(Name, true)) in findSymbol()
233 CompileLayer(AcknowledgeORCv1Deprecation, ObjectLayer,
235 CODLayer(createCODLayer(ES, CompileLayer, CCMgr.get(),
329 return addIRModule(CompileLayer, std::move(M), in addIRModuleEager()
383 return CompileLayer.findSymbol(mangle(Name), ExportedSymbolsOnly); in findSymbol()
463 createCODLayer(orc::ExecutionSession &ES, CompileLayerT &CompileLayer, in createCODLayer() argument
473 AcknowledgeORCv1Deprecation, ES, CompileLayer, in createCODLayer()
520 CompileLayerT CompileLayer; variable
DLLJIT.cpp70 return CompileLayer->add(JD, std::move(TSM), ES->allocateVModule()); in addIRModule()
152 CompileLayer = std::make_unique<IRCompileLayer>( in LLJIT()
157 CompileLayer->setCloneToNewContextOnEmit(true); in LLJIT()
255 TransformLayer = std::make_unique<IRTransformLayer>(*ES, *CompileLayer); in LLLazyJIT()
DOrcMCJITReplacement.h247 CompileLayer(AcknowledgeORCv1Deprecation, ObjectLayer,
252 LazyEmitLayer(AcknowledgeORCv1Deprecation, CompileLayer) {}
370 CompileLayer.getCompiler().setObjectCache(NewCache); in setObjectCache()
481 CompileLayerT CompileLayer; variable
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h50 IRCompileLayer CompileLayer; variable
70 CompileLayer(*this->ES, ObjectLayer,
72 OptimizeLayer(*this->ES, CompileLayer, optimizeModule),
/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-project/llvm/unittests/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayerTest.cpp160 IRCompileLayer CompileLayer(ES, ObjLayer, in TEST() local
165 cantFail(CompileLayer.add(JD, std::move(M))); in TEST()
230 IRCompileLayer CompileLayer(ES, ObjLayer, in TEST() local
235 cantFail(CompileLayer.add(JD, std::move(M))); in TEST()
/external/llvm-project/llvm/examples/SpeculativeJIT/
DSpeculativeJIT.cpp107 CompileLayer(*this->ES, ObjLayer, in SpeculativeJIT()
110 SpeculateLayer(*this->ES, CompileLayer, S, Mangle, BlockFreqQuery()), in SpeculativeJIT()
143 IRCompileLayer CompileLayer; member in SpeculativeJIT
/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-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h137 IRCompileLayer CompileLayer; variable
157 CompileLayer(*this->ES, ObjectLayer,
159 OptimizeLayer(*this->ES, CompileLayer, optimizeModule),
/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-project/llvm/docs/tutorial/
DBuildingAJIT2.rst63 IRCompileLayer CompileLayer;
75 CompileLayer(ES, ObjectLayer, ConcurrentIRCompiler(std::move(JTMB))),
76 TransformLayer(ES, CompileLayer, optimizeModule),
84 but after the CompileLayer we introduce a new member, TransformLayer, which sits
85 on top of our CompileLayer. We initialize our OptimizeLayer with a reference to
98 ``CompileLayer::add`` with a call to ``OptimizeLayer::add`` instead.
138 the transformed module on to the CompileLayer below. Of course, we could have
DBuildingAJIT1.rst132 IRCompileLayer CompileLayer;
142 CompileLayer(ES, ObjectLayer, ConcurrentIRCompiler(std::move(JTMB))),
153 not use it directly); An IRCompileLayer, ``CompileLayer``, that can be used to
168 initialize our CompileLayer. The CompileLayer needs three things: (1) A
223 cantFail(CompileLayer.add(ES.getMainJITDylib(),
234 execution" by adding them to the CompileLayer, which will it turn store the
DBuildingAJIT3.rst82 IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer;
87 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer;
105 CompileLayer(ObjectLayer, SimpleCompiler(*TM)),
106 OptimizeLayer(CompileLayer,
/external/llvm-project/clang/examples/clang-interpreter/
Dmain.cpp59 IRCompileLayer CompileLayer{ES, ObjectLayer, member in llvm::orc::SimpleJIT
105 return CompileLayer.add(MainJD, std::move(M)); in addModule()

12