/frameworks/compile/mclinker/tools/mcld/lib/ |
D | TripleOptions.cpp | 83 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/ |
D | System.inc | 46 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/ |
D | CompilerConfig.cpp | 71 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/ |
D | X86Emulation.cpp | 25 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()
|
D | X86GNUInfo.h | 20 X86_32GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in X86_32GNUInfo() 35 X86_64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in X86_64GNUInfo()
|
D | X86LDBackend.cpp | 48 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/ |
D | TargetRegistry.cpp | 36 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/ |
D | GNUInfo.cpp | 16 GNUInfo::GNUInfo(const llvm::Triple& pTriple) in GNUInfo() 23 case llvm::Triple::FreeBSD: in OSABI() 25 case llvm::Triple::Linux: in OSABI()
|
D | ELFEmulation.cpp | 94 case llvm::Triple::NetBSD: in MCLDEmulateELF() 97 case llvm::Triple::MinGW32: in MCLDEmulateELF()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsEmulation.cpp | 25 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()
|
D | MipsGNUInfo.h | 19 MipsGNUInfo(const llvm::Triple& pTriple);
|
/frameworks/compile/mclinker/include/mcld/ |
D | TargetOptions.h | 38 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/ |
D | TargetRegistry.h | 131 llvm::Triple& pTriple, 143 template<llvm::Triple::ArchType TargetArchType = llvm::Triple::UnknownArch> 158 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) { in getTripleMatchQuality()
|
D | Target.h | 16 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/ |
D | ARMTargetInfo.cpp | 19 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/ |
D | MipsTargetInfo.cpp | 18 mcld::RegisterTarget<llvm::Triple::mipsel> in MCLDInitializeMipsLDTargetInfo() 20 mcld::RegisterTarget<llvm::Triple::mips64el> in MCLDInitializeMipsLDTargetInfo()
|
/frameworks/compile/mclinker/lib/Target/X86/TargetInfo/ |
D | X86TargetInfo.cpp | 19 mcld::RegisterTarget<llvm::Triple::x86> in MCLDInitializeX86LDTargetInfo() 21 mcld::RegisterTarget<llvm::Triple::x86_64> in MCLDInitializeX86LDTargetInfo()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | GNUInfo.h | 22 GNUInfo(const llvm::Triple& pTriple); 66 const llvm::Triple& m_Triple;
|
/frameworks/compile/libbcc/include/bcc/Support/ |
D | CompilerConfig.h | 66 llvm::Triple::ArchType mArchType; 104 inline llvm::Triple::ArchType getArchType() const in getArchType()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/TargetInfo/ |
D | HexagonTargetInfo.cpp | 18 mcld::RegisterTarget<llvm::Triple::hexagon> X(TheHexagonTarget, "hexagon"); in MCLDInitializeHexagonLDTargetInfo()
|
/frameworks/compile/mclinker/lib/Target/AArch64/TargetInfo/ |
D | AArch64TargetInfo.cpp | 18 mcld::RegisterTarget<llvm::Triple::aarch64> X(TheAArch64Target, "aarch64"); in MCLDInitializeAArch64LDTargetInfo()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64GNUInfo.h | 20 AArch64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in AArch64GNUInfo()
|
D | AArch64MCLinker.cpp | 28 llvm::Triple theTriple(pTriple); in createAArch64MCLinker()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMGNUInfo.h | 20 ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } in ARMGNUInfo()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonMCLinker.cpp | 26 llvm::Triple theTriple(pTriple); in createHexagonMCLinker()
|