Home
last modified time | relevance | path

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

12

/frameworks/compile/mclinker/tools/mcld/lib/
DTripleOptions.cpp83 ParseEmulation(llvm::Triple& pTriple, const std::string& pEmulation) in ParseEmulation()
85 llvm::Triple triple = llvm::StringSwitch<llvm::Triple>(pEmulation) in ParseEmulation()
86 .Case("aarch64linux", llvm::Triple("aarch64", "", "linux", "gnu")) in ParseEmulation()
87 .Case("armelf_linux_eabi", llvm::Triple("arm", "", "linux", "gnueabi")) in ParseEmulation()
88 .Case("elf_i386", llvm::Triple("i386", "", "", "gnu")) in ParseEmulation()
89 .Case("elf_x86_64", llvm::Triple("x86_64", "", "", "gnu")) in ParseEmulation()
90 .Case("elf32_x86_64", llvm::Triple("x86_64", "", "", "gnux32")) in ParseEmulation()
91 .Case("elf_i386_fbsd", llvm::Triple("i386", "", "freebsd", "gnu")) in ParseEmulation()
92 .Case("elf_x86_64_fbsd", llvm::Triple("x86_64", "", "freebsd", "gnu")) in ParseEmulation()
93 .Case("elf32ltsmip", llvm::Triple("mipsel", "", "", "gnu")) in ParseEmulation()
[all …]
/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/libbcc/lib/Support/
DCompilerConfig.cpp71 mArchType = llvm::Triple::UnknownArch; in CompilerConfig()
93 mArchType = llvm::Triple::getArchTypeForLLVMName(mTarget->getName()); in initializeArch()
95 mArchType = llvm::Triple::UnknownArch; in initializeArch()
102 case llvm::Triple::arm: { in initializeArch()
155 case llvm::Triple::aarch64: in initializeArch()
174 case llvm::Triple::mips: in initializeArch()
175 case llvm::Triple::mipsel: in initializeArch()
176 case llvm::Triple::mips64: in initializeArch()
177 case llvm::Triple::mips64el: in initializeArch()
185 case llvm::Triple::x86: in initializeArch()
[all …]
/frameworks/compile/mclinker/lib/Target/X86/
DX86Emulation.cpp25 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateX86ELF()
26 assert (arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64); in MCLDEmulateX86ELF()
27 if (arch == llvm::Triple::x86 || in MCLDEmulateX86ELF()
28 pConfig.targets().triple().getEnvironment() == llvm::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.cpp48 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in X86GNULDBackend()
49 assert (arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64); in X86GNULDBackend()
50 if (arch == llvm::Triple::x86 || in X86GNULDBackend()
51 pConfig.targets().triple().getEnvironment() == llvm::Triple::GNUX32) { in X86GNULDBackend()
54 if (arch == llvm::Triple::x86) in X86GNULDBackend()
776 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in createX86LDBackend()
777 if (arch == llvm::Triple::x86) in createX86LDBackend()
780 assert (arch == llvm::Triple::x86_64); in createX86LDBackend()
/frameworks/compile/mclinker/lib/Support/
DTargetRegistry.cpp36 llvm::Triple triple(pTriple); in lookupTarget()
69 llvm::Triple& pTriple, in lookupTarget()
89 llvm::Triple::ArchType type = in lookupTarget()
90 llvm::Triple::getArchTypeForLLVMName(pArchName); in lookupTarget()
91 if (llvm::Triple::UnknownArch != type) in lookupTarget()
/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.cpp94 case llvm::Triple::NetBSD: in MCLDEmulateELF()
97 case llvm::Triple::MinGW32: in MCLDEmulateELF()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsEmulation.cpp25 llvm::Triple::ArchType arch = pConfig.targets().triple().getArch(); in MCLDEmulateMipsELF()
26 assert(arch == llvm::Triple::mipsel || arch == llvm::Triple::mips64el); in MCLDEmulateMipsELF()
27 unsigned bitclass = arch == llvm::Triple::mipsel ? 32 : 64; in MCLDEmulateMipsELF()
DMipsGNUInfo.h19 MipsGNUInfo(const llvm::Triple& pTriple);
/frameworks/compile/mclinker/include/mcld/
DTargetOptions.h38 const llvm::Triple& triple() const { return m_Triple; } in triple()
42 void setTriple(const llvm::Triple& pTriple);
71 llvm::Triple m_Triple;
/frameworks/compile/mclinker/include/mcld/Support/
DTargetRegistry.h131 llvm::Triple& pTriple,
143 template<llvm::Triple::ArchType TargetArchType = llvm::Triple::UnknownArch>
158 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) { in getTripleMatchQuality()
DTarget.h16 class Triple; variable
41 typedef unsigned int (*TripleMatchQualityFnTy)(const llvm::Triple& pTriple);
66 unsigned int getTripleQuality(const llvm::Triple& pTriple) const;
/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/lib/Target/Mips/TargetInfo/
DMipsTargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::mipsel> in MCLDInitializeMipsLDTargetInfo()
20 mcld::RegisterTarget<llvm::Triple::mips64el> in MCLDInitializeMipsLDTargetInfo()
/frameworks/compile/mclinker/lib/Target/X86/TargetInfo/
DX86TargetInfo.cpp19 mcld::RegisterTarget<llvm::Triple::x86> in MCLDInitializeX86LDTargetInfo()
21 mcld::RegisterTarget<llvm::Triple::x86_64> in MCLDInitializeX86LDTargetInfo()
/frameworks/compile/mclinker/include/mcld/Target/
DGNUInfo.h22 GNUInfo(const llvm::Triple& pTriple);
66 const llvm::Triple& m_Triple;
/frameworks/compile/libbcc/include/bcc/Support/
DCompilerConfig.h66 llvm::Triple::ArchType mArchType;
104 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.h20 AArch64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in AArch64GNUInfo()
DAArch64MCLinker.cpp28 llvm::Triple theTriple(pTriple); in createAArch64MCLinker()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMGNUInfo.h20 ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in ARMGNUInfo()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonMCLinker.cpp26 llvm::Triple theTriple(pTriple); in createHexagonMCLinker()

12