Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DJITTargetMachineBuilderTest.cpp25 auto JTMB = cantFail(JITTargetMachineBuilder::detectHost()); in TEST() local
28 JTMB.setCPU(""); in TEST()
29 JTMB.setRelocationModel(None); in TEST()
30 JTMB.setCodeModel(None); in TEST()
31 JTMB.setCodeGenOptLevel(CodeGenOpt::None); in TEST()
32 JTMB.addFeatures(std::vector<std::string>()); in TEST()
33 SubtargetFeatures &STF = JTMB.getFeatures(); in TEST()
35 TargetOptions &TO = JTMB.getOptions(); in TEST()
37 Triple &TT = JTMB.getTargetTriple(); in TEST()
40 auto TM = JTMB.createTargetMachine(); in TEST()
DLazyCallThroughAndReexportsTest.cpp21 auto JTMB = JITTargetMachineBuilder::detectHost(); in TEST_F() local
24 if (!JTMB) { in TEST_F()
25 consumeError(JTMB.takeError()); in TEST_F()
30 auto LCTM = createLocalLazyCallThroughManager(JTMB->getTargetTriple(), ES, 0); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DLLJIT.cpp22 if (!JTMB) { in prepareForConstruction()
24 JTMB = std::move(*JTMBOrErr); in prepareForConstruction()
31 if (!CreateObjectLinkingLayer && JTMB->getCodeModel() == None && in prepareForConstruction()
32 JTMB->getRelocationModel() == None) { in prepareForConstruction()
34 auto &TT = JTMB->getTargetTriple(); in prepareForConstruction()
38 JTMB->setRelocationModel(Reloc::PIC_); in prepareForConstruction()
39 JTMB->setCodeModel(CodeModel::Small); in prepareForConstruction()
91 return S.CreateObjectLinkingLayer(ES, S.JTMB->getTargetTriple()); in createObjectLinkingLayer()
99 if (S.JTMB->getTargetTriple().isOSBinFormatCOFF()) { in createObjectLinkingLayer()
112 JITTargetMachineBuilder JTMB) { in createCompileFunction() argument
[all …]
DCompileUtils.cpp81 ConcurrentIRCompiler::ConcurrentIRCompiler(JITTargetMachineBuilder JTMB, in ConcurrentIRCompiler() argument
83 : IRCompiler(irManglingOptionsFromTargetOptions(JTMB.getOptions())), in ConcurrentIRCompiler()
84 JTMB(std::move(JTMB)), ObjCache(ObjCache) {} in ConcurrentIRCompiler()
88 auto TM = cantFail(JTMB.createTargetMachine()); in operator ()()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DJITTargetMachineBuilder.cpp68 raw_ostream &operator<<(raw_ostream &OS, const JITTargetMachineBuilder &JTMB) { in operator <<() argument
69 OS << "{ Triple = \"" << JTMB.TT.str() << "\", CPU = \"" << JTMB.CPU in operator <<()
72 if (JTMB.RM) { in operator <<()
73 switch (*JTMB.RM) { in operator <<()
98 if (JTMB.CM) { in operator <<()
99 switch (*JTMB.CM) { in operator <<()
120 switch (JTMB.OptLevel) { in operator <<()
DCompileUtils.cpp81 ConcurrentIRCompiler::ConcurrentIRCompiler(JITTargetMachineBuilder JTMB, in ConcurrentIRCompiler() argument
83 : IRCompiler(irManglingOptionsFromTargetOptions(JTMB.getOptions())), in ConcurrentIRCompiler()
84 JTMB(std::move(JTMB)), ObjCache(ObjCache) {} in ConcurrentIRCompiler()
88 auto TM = cantFail(JTMB.createTargetMachine()); in operator ()()
DOrcV2CBindings.cpp361 auto JTMB = JITTargetMachineBuilder::detectHost(); in LLVMOrcJITTargetMachineBuilderDetectHost() local
362 if (!JTMB) { in LLVMOrcJITTargetMachineBuilderDetectHost()
364 return wrap(JTMB.takeError()); in LLVMOrcJITTargetMachineBuilderDetectHost()
367 *Result = wrap(new JITTargetMachineBuilder(std::move(*JTMB))); in LLVMOrcJITTargetMachineBuilderDetectHost()
375 auto JTMB = in LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine() local
378 (*JTMB) in LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine()
388 return wrap(JTMB.release()); in LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine()
392 LLVMOrcJITTargetMachineBuilderRef JTMB) { in LLVMOrcDisposeJITTargetMachineBuilder() argument
393 delete unwrap(JTMB); in LLVMOrcDisposeJITTargetMachineBuilder()
409 LLVMOrcLLJITBuilderRef Builder, LLVMOrcJITTargetMachineBuilderRef JTMB) { in LLVMOrcLLJITBuilderSetJITTargetMachineBuilder() argument
[all …]
DLLJIT.cpp912 if (!JTMB) { in prepareForConstruction()
918 JTMB = std::move(*JTMBOrErr); in prepareForConstruction()
924 dbgs() << " JITTargetMachineBuilder is " << JTMB << "\n" in prepareForConstruction()
949 auto &TT = JTMB->getTargetTriple(); in prepareForConstruction()
953 JTMB->setRelocationModel(Reloc::PIC_); in prepareForConstruction()
954 JTMB->setCodeModel(CodeModel::Small); in prepareForConstruction()
1018 return S.CreateObjectLinkingLayer(ES, S.JTMB->getTargetTriple()); in createObjectLinkingLayer()
1026 if (S.JTMB->getTargetTriple().isOSBinFormatCOFF()) { in createObjectLinkingLayer()
1039 JITTargetMachineBuilder JTMB) { in createCompileFunction() argument
1043 return S.CreateCompileFunction(std::move(JTMB)); in createCompileFunction()
[all …]
/external/llvm-project/llvm/examples/SpeculativeJIT/
DSpeculativeJIT.cpp44 auto JTMB = orc::JITTargetMachineBuilder::detectHost(); in Create() local
45 if (!JTMB) in Create()
46 return JTMB.takeError(); in Create()
48 auto DL = JTMB->getDefaultDataLayoutForTarget(); in Create()
55 JTMB->getTargetTriple(), *ES, in Create()
61 createLocalIndirectStubsManagerBuilder(JTMB->getTargetTriple()); in Create()
73 std::move(ES), std::move(*DL), std::move(*JTMB), std::move(*LCTMgr), in Create()
101 orc::JITTargetMachineBuilder JTMB, in SpeculativeJIT() argument
108 std::make_unique<ConcurrentIRCompiler>(std::move(JTMB))), in SpeculativeJIT()
/external/llvm-project/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h49 JITTargetMachineBuilder JTMB, DataLayout DL) in KaleidoscopeJIT() argument
55 std::make_unique<ConcurrentIRCompiler>(std::move(JTMB))),
75 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
77 auto DL = JTMB.getDefaultDataLayoutForTarget(); in Create()
82 std::move(JTMB), std::move(*DL)); in Create()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h49 JITTargetMachineBuilder JTMB, DataLayout DL) in KaleidoscopeJIT() argument
55 std::make_unique<ConcurrentIRCompiler>(std::move(JTMB))),
75 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
77 auto DL = JTMB.getDefaultDataLayoutForTarget(); in Create()
82 std::move(JTMB), std::move(*DL)); in Create()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h55 JITTargetMachineBuilder JTMB, DataLayout DL) in KaleidoscopeJIT() argument
61 std::make_unique<ConcurrentIRCompiler>(std::move(JTMB))),
82 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
84 auto DL = JTMB.getDefaultDataLayoutForTarget(); in Create()
89 std::move(JTMB), std::move(*DL)); in Create()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DLLJIT.h128 createCompileFunction(LLJITBuilderState &S, JITTargetMachineBuilder JTMB);
196 JITTargetMachineBuilder JTMB)>;
199 Optional<JITTargetMachineBuilder> JTMB; variable
215 SetterImpl &setJITTargetMachineBuilder(JITTargetMachineBuilder JTMB) { in setJITTargetMachineBuilder() argument
216 impl().JTMB = std::move(JTMB); in setJITTargetMachineBuilder()
223 return impl().JTMB; in getJITTargetMachineBuilder()
DCompileUtils.h87 ConcurrentIRCompiler(JITTargetMachineBuilder JTMB,
95 JITTargetMachineBuilder JTMB;
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithCustomObjectLinkingLayer/
DLLJITWithCustomObjectLinkingLayer.cpp40 auto JTMB = ExitOnErr(JITTargetMachineBuilder::detectHost()); in main() local
41 JTMB.setCodeModel(CodeModel::Small); in main()
46 .setJITTargetMachineBuilder(std::move(JTMB)) in main()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h65 JITTargetMachineBuilder JTMB, DataLayout DL) in KaleidoscopeJIT() argument
71 std::make_unique<ConcurrentIRCompiler>(std::move(JTMB))),
107 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
109 auto DL = JTMB.getDefaultDataLayoutForTarget(); in Create()
114 std::move(*TPCIU), std::move(JTMB), in Create()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DLLJIT.h193 createCompileFunction(LLJITBuilderState &S, JITTargetMachineBuilder JTMB);
258 JITTargetMachineBuilder JTMB)>;
263 Optional<JITTargetMachineBuilder> JTMB; variable
289 SetterImpl &setJITTargetMachineBuilder(JITTargetMachineBuilder JTMB) { in setJITTargetMachineBuilder() argument
290 impl().JTMB = std::move(JTMB); in setJITTargetMachineBuilder()
297 return impl().JTMB; in getJITTargetMachineBuilder()
DCompileUtils.h85 ConcurrentIRCompiler(JITTargetMachineBuilder JTMB,
93 JITTargetMachineBuilder JTMB;
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/
DLLJITWithGDBRegistrationListener.cpp55 auto JTMB = ExitOnErr(JITTargetMachineBuilder::detectHost()); in main() local
56 if (!JTMB.getTargetTriple().isOSLinux()) in main()
64 .setJITTargetMachineBuilder(std::move(JTMB)) in main()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h152 JITTargetMachineBuilder JTMB, DataLayout DL) in KaleidoscopeJIT() argument
158 std::make_unique<ConcurrentIRCompiler>(std::move(JTMB))),
192 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
194 auto DL = JTMB.getDefaultDataLayoutForTarget(); in Create()
199 std::move(*TPCIU), std::move(JTMB), in Create()
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
DLLJITWithObjectLinkingLayerPlugin.cpp134 auto JTMB = ExitOnErr(JITTargetMachineBuilder::detectHost()); in main() local
135 JTMB.setCodeModel(CodeModel::Small); in main()
142 .setJITTargetMachineBuilder(std::move(JTMB)) in main()
/external/llvm-project/clang/examples/clang-interpreter/
Dmain.cpp81 auto JTMB = JITTargetMachineBuilder::detectHost(); in Create() local
82 if (!JTMB) in Create()
83 return JTMB.takeError(); in Create()
85 auto TM = JTMB->createTargetMachine(); in Create()
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithObjectCache/
DLLJITWithObjectCache.cpp57 [&](JITTargetMachineBuilder JTMB) in runJITWithCache()
59 auto TM = JTMB.createTargetMachine(); in runJITWithCache()
/external/llvm-project/mlir/lib/ExecutionEngine/
DExecutionEngine.cpp283 auto compileFunctionCreator = [&](JITTargetMachineBuilder JTMB) in create()
286 JTMB.setCodeGenOptLevel(jitCodeGenOptLevel.getValue()); in create()
287 auto TM = JTMB.createTargetMachine(); in create()
/external/llvm-project/llvm/include/llvm-c/
DLLJIT.h83 LLVMOrcLLJITBuilderRef Builder, LLVMOrcJITTargetMachineBuilderRef JTMB);

12