Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestAPICommon.h40 : 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
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()
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()
DMCJITTestBase.h277 : 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/llvm-project/llvm/unittests/Support/
DHost.cpp332 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/
DNVPTX.cpp84 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/
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/llvm-project/llvm/tools/llvm-config/
Dllvm-config.cpp379 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/
DTargetOptions.h33 std::string HostTriple; variable
/external/llvm-project/clang/include/clang/Basic/
DTargetOptions.h33 std::string HostTriple; variable
/external/llvm-project/clang/lib/Driver/
DDistro.cpp220 llvm::Triple HostTriple(llvm::sys::getProcessTriple()); in GetDistro() local
221 if (!HostTriple.isOSLinux() && onRealFS) in GetDistro()
DToolChain.cpp649 llvm::Triple HostTriple(LLVM_HOST_TRIPLE); in isCrossCompiling() local
650 switch (HostTriple.getArch()) { in isCrossCompiling()
660 return HostTriple.getArch() != getArch(); in isCrossCompiling()
DDriver.cpp670 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/
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/llvm-project/clang/lib/Driver/ToolChains/
DROCm.h110 RocmInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
DCuda.h47 CudaInstallationDetector(const Driver &D, const llvm::Triple &HostTriple,
DCuda.cpp119 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()
DAMDGPU.cpp150 const Driver &D, const llvm::Triple &HostTriple, in RocmInstallationDetector() argument
/external/llvm-project/llvm/tools/llvm-nm/
Dllvm-nm.cpp1988 Triple HostTriple = MachOObjectFile::getHostArch(); in dumpSymbolNamesFromFile() local
1989 StringRef HostArchName = HostTriple.getArchName(); in dumpSymbolNamesFromFile()
/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()
/external/llvm-project/clang/lib/Frontend/
DCompilerInstance.cpp939 TO->HostTriple = getTarget().getTriple().str(); in ExecuteAction()
DCompilerInvocation.cpp3894 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()
3899 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()

12