| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/ |
| H A D | MCJITTestAPICommon.h | 41 : HostTriple(sys::getProcessTriple()) in MCJITTestAPICommon() 52 HostTriple += "-elf"; in MCJITTestAPICommon() 54 HostTriple = Triple::normalize(HostTriple); in MCJITTestAPICommon() 59 return TargetRegistry::lookupTarget(HostTriple, Error) != nullptr; in HostCanBeTargeted() 64 Triple Host(HostTriple); in ArchSupportsMCJIT() 84 Triple Host(HostTriple); in OSSupportsMCJIT() 96 std::string HostTriple; variable
|
| H A D | MCJITCAPITest.cpp | 168 LLVMSetTarget(Module, HostTriple.c_str()); in buildSimpleFunction() 188 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() 486 LLVMSetTarget(Module, HostTriple.c_str()); in TEST_F()
|
| H A D | MCJITTestBase.h | 277 : TrivialModuleBuilder(HostTriple), OptLevel(CodeGenOpt::None), in MCJITTestBase()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Host.cpp | 437 llvm::Triple HostTriple(llvm::sys::getProcessTriple()); in TEST_F() local 438 if (!HostTriple.isMacOSX()) in TEST_F() 454 ASSERT_EQ(HostTriple.getMacOSXVersion(HostVersion), true); in TEST_F() 483 llvm::Triple HostTriple(llvm::sys::getProcessTriple()); in TEST_F() local 484 if (HostTriple.getOS() != Triple::AIX) in TEST_F() 497 VersionTuple HostVersion = HostTriple.getOSVersion(); in TEST_F() 527 llvm::Triple HostTriple(llvm::sys::getProcessTriple()); in TEST_F() local 528 if (HostTriple.getOS() != Triple::AIX) in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 87 llvm::Triple HostTriple(Opts.HostTriple); in NVPTXTargetInfo() local 88 if (!HostTriple.isNVPTX()) in NVPTXTargetInfo() 89 HostTarget.reset(AllocateTarget(llvm::Triple(Opts.HostTriple), Opts)); in NVPTXTargetInfo()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | HIPUtility.cpp | 124 auto HostTriple = in constructGenerateObjFileFromHIPFatBinary() local 133 if (HostTriple.isWindowsMSVCEnvironment()) { in constructGenerateObjFileFromHIPFatBinary() 165 ArgStringList McArgs{"-triple", Args.MakeArgString(HostTriple.normalize()), in constructGenerateObjFileFromHIPFatBinary()
|
| H A D | ROCm.h | 158 RocmInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
|
| H A D | Cuda.h | 45 CudaInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
|
| H A D | Cuda.cpp | 117 const Driver &D, const llvm::Triple &HostTriple, in CudaInstallationDetector() argument 136 } else if (HostTriple.isOSWindows()) { in CudaInstallationDetector() 198 if (HostTriple.isArch64Bit() && FS.exists(InstallPath + "/lib64")) in CudaInstallationDetector()
|
| H A D | AMDGPU.cpp | 314 const Driver &D, const llvm::Triple &HostTriple, in RocmInstallationDetector() argument
|
| /llvm-project-15.0.7/llvm/tools/llvm-config/ |
| H A D | llvm-config.cpp | 391 const Triple HostTriple(Triple::normalize(LLVM_HOST_TRIPLE)); in main() local 392 if (HostTriple.isOSWindows()) { in main() 395 if (HostTriple.isOSCygMing()) { in main() 412 } else if (HostTriple.isOSDarwin()) { in main() 534 OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L") in main() 711 if (HostTriple.isWindowsMSVCEnvironment()) { in main()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TargetOptions.h | 33 std::string HostTriple; variable
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Distro.cpp | 220 llvm::Triple HostTriple(llvm::sys::getProcessTriple()); in GetDistro() local 221 if (!HostTriple.isOSLinux() && onRealFS) in GetDistro()
|
| H A D | ToolChain.cpp | 704 llvm::Triple HostTriple(LLVM_HOST_TRIPLE); in isCrossCompiling() local 705 switch (HostTriple.getArch()) { in isCrossCompiling() 715 return HostTriple.getArch() != getArch(); in isCrossCompiling()
|
| H A D | Driver.cpp | 129 const llvm::Triple &HostTriple) { in getNVIDIAOffloadTargetTriple() argument 131 return llvm::Triple(HostTriple.isArch64Bit() ? "nvptx64-nvidia-cuda" in getNVIDIAOffloadTargetTriple() 749 const llvm::Triple &HostTriple = HostTC->getTriple(); in CreateOffloadingDeviceToolChains() local 752 getNVIDIAOffloadTargetTriple(*this, C.getInputArgs(), HostTriple); in CreateOffloadingDeviceToolChains() 757 auto &CudaTC = ToolChains[CudaTriple->str() + "/" + HostTriple.str()]; in CreateOffloadingDeviceToolChains()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | Archive.cpp | 934 Triple HostTriple(sys::getProcessTriple()); in getDefaultKindForHost() local 935 return HostTriple.isOSDarwin() in getDefaultKindForHost() 937 : (HostTriple.isOSAIX() ? object::Archive::K_AIXBIG in getDefaultKindForHost()
|
| /llvm-project-15.0.7/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 2092 Triple HostTriple = MachOObjectFile::getHostArch(); in dumpMachOUniversalBinaryMatchHost() local 2093 StringRef HostArchName = HostTriple.getArchName(); in dumpMachOUniversalBinaryMatchHost()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 121 TO->HostTriple = getTarget().getTriple().str(); in createTarget()
|
| H A D | CompilerInvocation.cpp | 4487 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl() 4492 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgsImpl()
|