/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestAPICommon.h | 40 : HostTriple(sys::getProcessTriple()) in MCJITTestAPICommon() 51 HostTriple += "-elf"; in MCJITTestAPICommon() 53 HostTriple = Triple::normalize(HostTriple); in MCJITTestAPICommon() 58 return TargetRegistry::lookupTarget(HostTriple, Error) != nullptr; in HostCanBeTargeted() 63 Triple Host(HostTriple); in ArchSupportsMCJIT() 83 Triple Host(HostTriple); in OSSupportsMCJIT() 95 std::string HostTriple; variable
|
D | MCJITCAPITest.cpp | 168 LLVMSetTarget(Module, HostTriple.c_str()); in buildSimpleFunction() 188 LLVMSetTarget(Module, HostTriple.c_str()); in buildFunctionThatUsesStackmap() 218 LLVMSetTarget(Module, HostTriple.c_str()); in buildModuleWithCodeAndData() 350 LLVMSetTarget(Module, HostTriple.c_str()); in TEST_F() 398 if (Triple(HostTriple).getArch() != Triple::x86_64) in TEST_F() 422 Triple(HostTriple).getOS() != Triple::Darwin || in TEST_F() 423 Triple(HostTriple).isMacOSXVersionLT(10, 7) || in TEST_F() 478 LLVMSetTarget(Module, HostTriple.c_str()); in TEST_F()
|
D | MCJITTestBase.h | 277 : TrivialModuleBuilder(HostTriple), OptLevel(CodeGenOpt::None), in MCJITTestBase()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestAPICommon.h | 39 : 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
|
D | MCJITCAPITest.cpp | 168 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()
|
D | MCJITTestBase.h | 283 : TrivialModuleBuilder(HostTriple) in MCJITTestBase()
|
/external/llvm-project/llvm/unittests/Support/ |
D | Host.cpp | 332 llvm::Triple HostTriple(getProcessTriple()); in TEST_F() local 333 if (!HostTriple.isMacOSX()) in TEST_F() 349 ASSERT_EQ(HostTriple.getMacOSXVersion(HostMajor, HostMinor, HostMicro), true); in TEST_F() 361 llvm::Triple HostTriple(getProcessTriple()); in TEST_F() local 362 ASSERT_EQ(HostTriple.getOS(), Triple::AIX); in TEST_F() 382 HostTriple.getOSVersion(HostMajor, HostMinor, HostMicro); in TEST_F()
|
/external/llvm-project/clang/lib/Basic/Targets/ |
D | NVPTX.cpp | 84 llvm::Triple HostTriple(Opts.HostTriple); in NVPTXTargetInfo() local 85 if (!HostTriple.isNVPTX()) in NVPTXTargetInfo() 86 HostTarget.reset(AllocateTarget(llvm::Triple(Opts.HostTriple), Opts)); in NVPTXTargetInfo()
|
/external/llvm/tools/llvm-config/ |
D | llvm-config.cpp | 345 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/llvm-project/llvm/tools/llvm-config/ |
D | llvm-config.cpp | 379 const Triple HostTriple(Triple::normalize(LLVM_HOST_TRIPLE)); in main() local 380 if (HostTriple.isOSWindows()) { in main() 383 if (HostTriple.isOSCygMing()) { in main() 400 } else if (HostTriple.isOSDarwin()) { in main() 522 OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L") in main() 697 if (HostTriple.isWindowsMSVCEnvironment()) { in main()
|
/external/clang/include/clang/Basic/ |
D | TargetOptions.h | 33 std::string HostTriple; variable
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TargetOptions.h | 33 std::string HostTriple; variable
|
/external/llvm-project/clang/lib/Driver/ |
D | Distro.cpp | 220 llvm::Triple HostTriple(llvm::sys::getProcessTriple()); in GetDistro() local 221 if (!HostTriple.isOSLinux() && onRealFS) in GetDistro()
|
D | ToolChain.cpp | 649 llvm::Triple HostTriple(LLVM_HOST_TRIPLE); in isCrossCompiling() local 650 switch (HostTriple.getArch()) { in isCrossCompiling() 660 return HostTriple.getArch() != getArch(); in isCrossCompiling()
|
D | Driver.cpp | 670 const llvm::Triple &HostTriple = HostTC->getTriple(); in CreateOffloadingDeviceToolChains() local 674 HostTriple.isArch64Bit() ? "nvptx64-nvidia-cuda" : "nvptx-nvidia-cuda"; in CreateOffloadingDeviceToolChains() 678 auto &CudaTC = ToolChains[CudaTriple.str() + "/" + HostTriple.str()]; in CreateOffloadingDeviceToolChains() 686 const llvm::Triple &HostTriple = HostTC->getTriple(); in CreateOffloadingDeviceToolChains() local 691 auto &HIPTC = ToolChains[HIPTriple.str() + "/" + HostTriple.str()]; in CreateOffloadingDeviceToolChains()
|
/external/clang/lib/Driver/ |
D | ToolChain.cpp | 382 llvm::Triple HostTriple(LLVM_HOST_TRIPLE); in isCrossCompiling() local 383 switch (HostTriple.getArch()) { in isCrossCompiling() 393 return HostTriple.getArch() != getArch(); in isCrossCompiling()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | ROCm.h | 110 RocmInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
|
D | Cuda.h | 47 CudaInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
|
D | Cuda.cpp | 119 const Driver &D, const llvm::Triple &HostTriple, in CudaInstallationDetector() argument 138 } else if (HostTriple.isOSWindows()) { in CudaInstallationDetector() 200 if (HostTriple.isArch64Bit() && FS.exists(InstallPath + "/lib64")) in CudaInstallationDetector()
|
D | AMDGPU.cpp | 150 const Driver &D, const llvm::Triple &HostTriple, in RocmInstallationDetector() argument
|
/external/llvm-project/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 1988 Triple HostTriple = MachOObjectFile::getHostArch(); in dumpSymbolNamesFromFile() local 1989 StringRef HostArchName = HostTriple.getArchName(); in dumpSymbolNamesFromFile()
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 1715 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/ |
D | CompilerInstance.cpp | 843 TO->HostTriple = getTarget().getTriple().str(); in ExecuteAction()
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 939 TO->HostTriple = getTarget().getTriple().str(); in ExecuteAction()
|
D | CompilerInvocation.cpp | 3894 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs() 3899 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()
|