/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | JITTargetMachineBuilderTest.cpp | 25 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()
|
D | LazyCallThroughAndReexportsTest.cpp | 21 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/ |
D | LLJIT.cpp | 22 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 …]
|
D | CompileUtils.cpp | 81 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/ |
D | JITTargetMachineBuilder.cpp | 68 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 <<()
|
D | CompileUtils.cpp | 81 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 ()()
|
D | OrcV2CBindings.cpp | 361 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 …]
|
D | LLJIT.cpp | 912 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/ |
D | SpeculativeJIT.cpp | 44 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/ |
D | KaleidoscopeJIT.h | 49 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/ |
D | KaleidoscopeJIT.h | 49 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/ |
D | KaleidoscopeJIT.h | 55 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/ |
D | LLJIT.h | 128 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()
|
D | CompileUtils.h | 87 ConcurrentIRCompiler(JITTargetMachineBuilder JTMB, 95 JITTargetMachineBuilder JTMB;
|
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithCustomObjectLinkingLayer/ |
D | LLJITWithCustomObjectLinkingLayer.cpp | 40 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/ |
D | KaleidoscopeJIT.h | 65 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/ |
D | LLJIT.h | 193 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()
|
D | CompileUtils.h | 85 ConcurrentIRCompiler(JITTargetMachineBuilder JTMB, 93 JITTargetMachineBuilder JTMB;
|
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/ |
D | LLJITWithGDBRegistrationListener.cpp | 55 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/ |
D | KaleidoscopeJIT.h | 152 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/ |
D | LLJITWithObjectLinkingLayerPlugin.cpp | 134 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/ |
D | main.cpp | 81 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/ |
D | LLJITWithObjectCache.cpp | 57 [&](JITTargetMachineBuilder JTMB) in runJITWithCache() 59 auto TM = JTMB.createTargetMachine(); in runJITWithCache()
|
/external/llvm-project/mlir/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 283 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/ |
D | LLJIT.h | 83 LLVMOrcLLJITBuilderRef Builder, LLVMOrcJITTargetMachineBuilderRef JTMB);
|