Home
last modified time | relevance | path

Searched refs:Triple (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc46 std::string Triple(Arch);
47 Triple += '-';
48 Triple += ArchSplit.second;
51 if (Triple[0] == 'i' && isdigit(Triple[1]) &&
52 Triple[2] == '8' && Triple[3] == '6')
53 Triple[1] = '3';
57 std::string::size_type DarwinDashIdx = Triple.find("-darwin");
59 Triple.resize(DarwinDashIdx + strlen("-darwin"));
60 Triple += getOSVersion();
63 return Triple;
/frameworks/compile/mclinker/lib/Target/X86/
DX86Emulation.cpp25 Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateX86ELF()
26 assert (arch == Triple::x86 || arch == Triple::x86_64); in MCLDEmulateX86ELF()
27 if (arch == Triple::x86 || in MCLDEmulateX86ELF()
28 pConfig.targets().triple().getEnvironment() == Triple::GNUX32) { in MCLDEmulateX86ELF()
DX86GNUInfo.h20 X86_32GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in X86_32GNUInfo()
35 X86_64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in X86_64GNUInfo()
DX86LDBackend.cpp47 Triple::ArchType arch = pConfig.targets().triple().getArch(); in X86GNULDBackend()
48 assert (arch == Triple::x86 || arch == Triple::x86_64); in X86GNULDBackend()
49 if (arch == Triple::x86 || in X86GNULDBackend()
50 pConfig.targets().triple().getEnvironment() == Triple::GNUX32) { in X86GNULDBackend()
53 if (arch == Triple::x86) in X86GNULDBackend()
622 Triple::ArchType arch = pConfig.targets().triple().getArch(); in createX86LDBackend()
623 if (arch == Triple::x86) in createX86LDBackend()
626 assert (arch == Triple::x86_64); in createX86LDBackend()
DX86MCLinker.cpp27 Triple theTriple(pTriple); in createX86MCLinker()
/frameworks/compile/mclinker/lib/Target/
DGNUInfo.cpp16 GNUInfo::GNUInfo(const llvm::Triple& pTriple) in GNUInfo()
23 case llvm::Triple::FreeBSD: in OSABI()
25 case llvm::Triple::Linux: in OSABI()
DELFEmulation.cpp83 case llvm::Triple::NetBSD: in MCLDEmulateELF()
86 case llvm::Triple::MinGW32: in MCLDEmulateELF()
/frameworks/compile/mclinker/include/mcld/
DTargetOptions.h41 const llvm::Triple& triple() const { return m_Triple; } in triple()
45 void setTriple(const llvm::Triple& pTriple);
70 llvm::Triple m_Triple;
/frameworks/compile/libbcc/lib/Support/
DCompilerConfig.cpp69 mArchType = llvm::Triple::UnknownArch; in CompilerConfig()
91 mArchType = llvm::Triple::getArchTypeForLLVMName(mTarget->getName()); in initializeArch()
93 mArchType = llvm::Triple::UnknownArch; in initializeArch()
/frameworks/compile/mclinker/tools/llvm-mcld/
Dllvm-mcld.cpp859 Triple::OSType pOSType, in GetOutputStream()
890 if (pOSType == Triple::Win32) in GetOutputStream()
898 if (Triple::Win32 == pOSType) { in GetOutputStream()
911 if (Triple::Win32 == pOSType) { in GetOutputStream()
924 if (Triple::Win32 == pOSType) { in GetOutputStream()
1009 static Triple ParseEmulation(const std::string& pEmulation) in ParseEmulation()
1011 Triple result = StringSwitch<Triple>(pEmulation) in ParseEmulation()
1012 .Case("armelf_linux_eabi", Triple("arm", "", "linux", "gnueabi")) in ParseEmulation()
1013 .Case("elf_i386", Triple("i386", "", "", "gnu")) in ParseEmulation()
1014 .Case("elf_x86_64", Triple("x86_64", "", "", "gnu")) in ParseEmulation()
[all …]
/frameworks/compile/mclinker/include/mcld/Target/
DGNUInfo.h25 GNUInfo(const llvm::Triple& pTriple);
69 const llvm::Triple& m_Triple;
/frameworks/compile/slang/
Dslang.cpp178 void Slang::createTarget(const std::string &Triple, const std::string &CPU, in createTarget() argument
180 if (!Triple.empty()) in createTarget()
181 mTargetOpts->Triple = Triple; in createTarget()
183 mTargetOpts->Triple = DEFAULT_TARGET_TRIPLE_STRING; in createTarget()
270 void Slang::init(const std::string &Triple, const std::string &CPU, in init() argument
283 createTarget(Triple, CPU, Features); in init()
Dslang_backend.cpp115 std::string Triple = mpModule->getTargetTriple(); in CreateCodeGenPasses() local
119 llvm::TargetRegistry::lookupTarget(Triple, Error); in CreateCodeGenPasses()
170 TargetInfo->createTargetMachine(Triple, mTargetOpts.CPU, FeaturesStr, in CreateCodeGenPasses()
Dslang.h97 void createTarget(std::string const &Triple, std::string const &CPU,
174 void init(const std::string &Triple, const std::string &CPU,
/frameworks/compile/libbcc/include/bcc/Support/
DCompilerConfig.h64 llvm::Triple::ArchType mArchType;
102 inline llvm::Triple::ArchType getArchType() const in getArchType()
/frameworks/compile/mclinker/include/mcld/Support/
DTargetRegistry.h233 static const mcld::Target *lookupTarget(const std::string &Triple,
280 const std::string &Triple) { in Allocator()
281 return new TargetMachineImpl(TM, T, Triple); in Allocator()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMGNUInfo.h20 ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in ARMGNUInfo()
DARMMCLinker.cpp27 Triple theTriple(pTriple); in createARMMCLinker()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsMCLinker.cpp29 llvm::Triple theTriple(pTriple); in createMipsMCLinker()
DMipsGNUInfo.h32 MipsGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in MipsGNUInfo()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonMCLinker.cpp26 Triple theTriple(pTriple); in createHexagonMCLinker()
/frameworks/compile/mclinker/lib/Core/
DTargetOptions.cpp31 void TargetOptions::setTriple(const llvm::Triple& pTriple) in setTriple()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.h230 bool ParseTriple(std::string &Triple);
296 bool ParseModuleTriple(std::string &Triple);
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.h224 bool ParseTriple(std::string &Triple);
290 bool ParseModuleTriple(std::string &Triple);
/frameworks/compile/mclinker/tools/mcld/lib/Support/
DTargetLinkerConfigs.cpp164 if (llvm::Triple::arm == getLDConfig()->targets().triple().getArch() && in GeneralLinkerConfig()

12