Home
last modified time | relevance | path

Searched refs:HostTriple (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestAPICommon.h40 : HostTriple(sys::getProcessTriple()) in MCJITTestAPICommon()
51 HostTriple += "-elf"; in MCJITTestAPICommon()
53 HostTriple = Triple::normalize(HostTriple); in MCJITTestAPICommon()
58 Triple Host(HostTriple); in ArchSupportsMCJIT()
78 Triple Host(HostTriple); in OSSupportsMCJIT()
90 std::string HostTriple; variable
DMCJITCAPITest.cpp169 LLVMSetTarget(Module, HostTriple.c_str()); in buildSimpleFunction()
189 LLVMSetTarget(Module, HostTriple.c_str()); in buildFunctionThatUsesStackmap()
219 LLVMSetTarget(Module, HostTriple.c_str()); in buildModuleWithCodeAndData()
352 LLVMSetTarget(Module, HostTriple.c_str()); in TEST_F()
400 if (Triple(HostTriple).getArch() != Triple::x86_64) in TEST_F()
424 Triple(HostTriple).getOS() != Triple::Darwin || in TEST_F()
425 Triple(HostTriple).isMacOSXVersionLT(10, 7) || in TEST_F()
480 LLVMSetTarget(Module, HostTriple.c_str()); in TEST_F()
DMCJITTestBase.h282 : TrivialModuleBuilder(HostTriple), OptLevel(CodeGenOpt::None), in MCJITTestBase()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestAPICommon.h39 : HostTriple(sys::getProcessTriple()) in MCJITTestAPICommon()
50 HostTriple += "-elf"; in MCJITTestAPICommon()
52 HostTriple = Triple::normalize(HostTriple); in MCJITTestAPICommon()
57 Triple Host(HostTriple); in ArchSupportsMCJIT()
79 Triple Host(HostTriple); in OSSupportsMCJIT()
92 std::string HostTriple; variable
DMCJITCAPITest.cpp168 LLVMSetTarget(Module, HostTriple.c_str()); in buildSimpleFunction()
188 LLVMSetTarget(Module, HostTriple.c_str()); in buildFunctionThatUsesStackmap()
218 LLVMSetTarget(Module, HostTriple.c_str()); in buildModuleWithCodeAndData()
351 LLVMSetTarget(Module, HostTriple.c_str()); in TEST_F()
399 if (Triple(HostTriple).getArch() != Triple::x86_64) in TEST_F()
423 Triple(HostTriple).getOS() != Triple::Darwin || in TEST_F()
424 Triple(HostTriple).isMacOSXVersionLT(10, 7) || in TEST_F()
479 LLVMSetTarget(Module, HostTriple.c_str()); in TEST_F()
DMCJITTestBase.h283 : TrivialModuleBuilder(HostTriple) in MCJITTestBase()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DHost.cpp178 llvm::Triple HostTriple(getProcessTriple()); in TEST_F() local
179 if (!HostTriple.isMacOSX()) in TEST_F()
212 ASSERT_EQ(HostTriple.getMacOSXVersion(HostMajor, HostMinor, HostMicro), true); in TEST_F()
/external/llvm/tools/llvm-config/
Dllvm-config.cpp345 const Triple HostTriple(Triple::normalize(LLVM_HOST_TRIPLE)); in main() local
346 if (HostTriple.isOSWindows()) { in main()
349 if (HostTriple.isOSCygMing()) { in main()
364 } else if (HostTriple.isOSDarwin()) { in main()
476 OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L") in main()
650 if (HostTriple.isWindowsMSVCEnvironment()) { in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-config/
Dllvm-config.cpp354 const Triple HostTriple(Triple::normalize(LLVM_HOST_TRIPLE)); in main() local
355 if (HostTriple.isOSWindows()) { in main()
358 if (HostTriple.isOSCygMing()) { in main()
374 } else if (HostTriple.isOSDarwin()) { in main()
496 OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L") in main()
673 if (HostTriple.isWindowsMSVCEnvironment()) { in main()
/external/clang/include/clang/Basic/
DTargetOptions.h33 std::string HostTriple; variable
/external/clang/lib/Driver/
DToolChain.cpp382 llvm::Triple HostTriple(LLVM_HOST_TRIPLE); in isCrossCompiling() local
383 switch (HostTriple.getArch()) { in isCrossCompiling()
393 return HostTriple.getArch() != getArch(); in isCrossCompiling()
/external/clang/lib/Basic/
DTargets.cpp1715 llvm::Triple HostTriple(Opts.HostTriple); in NVPTXTargetInfo() local
1716 if (HostTriple.isNVPTX()) in NVPTXTargetInfo()
1719 AllocateTarget(llvm::Triple(Opts.HostTriple), Opts)); in NVPTXTargetInfo()
/external/clang/lib/Frontend/
DCompilerInstance.cpp843 TO->HostTriple = getTarget().getTriple().str(); in ExecuteAction()
DCompilerInvocation.cpp2375 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()