Home
last modified time | relevance | path

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

12

/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc45 std::string Triple(Arch);
46 Triple += '-';
47 Triple += ArchSplit.second;
50 if (Triple[0] == 'i' && isdigit(Triple[1]) && Triple[2] == '8' &&
51 Triple[3] == '6')
52 Triple[1] = '3';
56 std::string::size_type DarwinDashIdx = Triple.find("-darwin");
58 Triple.resize(DarwinDashIdx + strlen("-darwin"));
59 Triple += getOSVersion();
62 return Triple;
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp76 mArchType = llvm::Triple::UnknownArch; in CompilerConfig()
98 mArchType = llvm::Triple::getArchTypeForLLVMName(mTarget->getName()); in initializeArch()
100 mArchType = llvm::Triple::UnknownArch; in initializeArch()
108 case llvm::Triple::arm: { in initializeArch()
167 case llvm::Triple::aarch64: in initializeArch()
179 case llvm::Triple::mips: in initializeArch()
180 case llvm::Triple::mipsel: in initializeArch()
188 case llvm::Triple::mips64: in initializeArch()
189 case llvm::Triple::mips64el: in initializeArch()
196 case llvm::Triple::x86: in initializeArch()
[all …]
DCompiler.cpp272 if (llvm::Triple(getTargetMachine().getTargetTriple()).getArch() == llvm::Triple::x86_64 || in runPasses()
273 llvm::Triple(getTargetMachine().getTargetTriple()).getArch() == llvm::Triple::mips64el) in runPasses()
330 if (getTargetMachine().getTargetTriple().getArch() == llvm::Triple::x86) { in compile()
459 llvm::Triple arch(getTargetMachine().getTargetTriple()); in addInvokeHelperPass()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Emulation.cpp24 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateX86ELF()
25 assert(arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64); in MCLDEmulateX86ELF()
26 if (arch == llvm::Triple::x86 || in MCLDEmulateX86ELF()
27 pConfig.targets().triple().getEnvironment() == llvm::Triple::GNUX32) { in MCLDEmulateX86ELF()
DX86GNUInfo.h19 explicit X86_32GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in X86_32GNUInfo()
32 explicit X86_64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in X86_64GNUInfo()
DX86LDBackend.cpp47 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in X86GNULDBackend()
48 assert(arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64); in X86GNULDBackend()
49 if (arch == llvm::Triple::x86 || in X86GNULDBackend()
50 pConfig.targets().triple().getEnvironment() == llvm::Triple::GNUX32) { in X86GNULDBackend()
53 if (arch == llvm::Triple::x86) in X86GNULDBackend()
716 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in createX86LDBackend()
717 if (arch == llvm::Triple::x86) in createX86LDBackend()
720 assert(arch == llvm::Triple::x86_64); in createX86LDBackend()
/frameworks/compile/mclinker/lib/Support/
DTargetRegistry.cpp34 llvm::Triple triple(pTriple); in lookupTarget()
66 llvm::Triple& pTriple, in lookupTarget()
87 llvm::Triple::ArchType type = in lookupTarget()
88 llvm::Triple::getArchTypeForLLVMName(pArchName); in lookupTarget()
89 if (llvm::Triple::UnknownArch != type) in lookupTarget()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsEmulation.cpp24 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateMipsELF()
25 assert(arch == llvm::Triple::mipsel || arch == llvm::Triple::mips64el); in MCLDEmulateMipsELF()
26 unsigned bitclass = arch == llvm::Triple::mipsel ? 32 : 64; in MCLDEmulateMipsELF()
DMipsGNUInfo.h18 explicit MipsGNUInfo(const llvm::Triple& pTriple);
DMipsGNUInfo.cpp16 MipsGNUInfo::MipsGNUInfo(const llvm::Triple& pTriple) in MipsGNUInfo()
/frameworks/compile/mclinker/lib/Target/
DGNUInfo.cpp16 GNUInfo::GNUInfo(const llvm::Triple& pTriple) : m_Triple(pTriple) { in GNUInfo()
21 case llvm::Triple::FreeBSD: in OSABI()
23 case llvm::Triple::Linux: in OSABI()
DELFEmulation.cpp92 case llvm::Triple::NetBSD: in MCLDEmulateELF()
95 case llvm::Triple::Win32: in MCLDEmulateELF()
/frameworks/compile/mclinker/include/mcld/Support/
DTargetRegistry.h107 llvm::Triple& pTriple,
119 template <llvm::Triple::ArchType TargetArchType = llvm::Triple::UnknownArch>
133 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) { in getTripleMatchQuality()
DTarget.h15 class Triple; variable
39 typedef unsigned int (*TripleMatchQualityFnTy)(const llvm::Triple& pTriple);
64 unsigned int getTripleQuality(const llvm::Triple& pTriple) const;
/frameworks/compile/mclinker/include/mcld/
DTargetOptions.h33 const llvm::Triple& triple() const { return m_Triple; } in triple()
37 void setTriple(const llvm::Triple& pTriple);
83 llvm::Triple m_Triple;
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp177 inline void ParseEmulation(llvm::Triple& triple, const char* emulation) { in ParseEmulation()
178 llvm::Triple emu_triple = in ParseEmulation()
179 llvm::StringSwitch<llvm::Triple>(emulation) in ParseEmulation()
180 .Case("aarch64linux", llvm::Triple("aarch64", "", "linux", "gnu")) in ParseEmulation()
181 .Case("armelf_linux_eabi", llvm::Triple("arm", "", "linux", "gnu")) in ParseEmulation()
182 .Case("elf_i386", llvm::Triple("i386", "", "", "gnu")) in ParseEmulation()
183 .Case("elf_x86_64", llvm::Triple("x86_64", "", "", "gnu")) in ParseEmulation()
184 .Case("elf32_x86_64", llvm::Triple("x86_64", "", "", "gnux32")) in ParseEmulation()
185 .Case("elf_i386_fbsd", llvm::Triple("i386", "", "freebsd", "gnu")) in ParseEmulation()
186 .Case("elf_x86_64_fbsd", llvm::Triple("x86_64", "", "freebsd", "gnu")) in ParseEmulation()
[all …]
/frameworks/compile/mclinker/lib/Target/X86/TargetInfo/
DX86TargetInfo.cpp19 mcld::RegisterTarget<llvm::Triple::x86> X(TheX86_32Target, "x86"); in MCLDInitializeX86LDTargetInfo()
20 mcld::RegisterTarget<llvm::Triple::x86_64> Y(TheX86_64Target, "x86-64"); in MCLDInitializeX86LDTargetInfo()
/frameworks/compile/mclinker/lib/Target/Mips/TargetInfo/
DMipsTargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::mipsel> X1(TheMipselTarget, "mipsel"); in MCLDInitializeMipsLDTargetInfo()
19 mcld::RegisterTarget<llvm::Triple::mips64el> X2(TheMips64elTarget, in MCLDInitializeMipsLDTargetInfo()
/frameworks/compile/mclinker/lib/Target/ARM/TargetInfo/
DARMTargetInfo.cpp19 mcld::RegisterTarget<llvm::Triple::arm> X(TheARMTarget, "arm"); in MCLDInitializeARMLDTargetInfo()
20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb"); in MCLDInitializeARMLDTargetInfo()
/frameworks/compile/mclinker/include/mcld/Target/
DGNUInfo.h21 explicit GNUInfo(const llvm::Triple& pTriple);
67 const llvm::Triple& m_Triple;
/frameworks/compile/libbcc/include/bcc/
DCompilerConfig.h67 llvm::Triple::ArchType mArchType;
105 inline llvm::Triple::ArchType getArchType() const in getArchType()
/frameworks/compile/mclinker/lib/Target/Hexagon/TargetInfo/
DHexagonTargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::hexagon> X(TheHexagonTarget, "hexagon"); in MCLDInitializeHexagonLDTargetInfo()
/frameworks/compile/mclinker/lib/Target/AArch64/TargetInfo/
DAArch64TargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::aarch64> X(TheAArch64Target, "aarch64"); in MCLDInitializeAArch64LDTargetInfo()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64GNUInfo.h19 explicit AArch64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in AArch64GNUInfo()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMGNUInfo.h19 explicit ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in ARMGNUInfo()

12