/frameworks/compile/mclinker/lib/Support/Unix/ |
D | System.inc | 45 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/ |
D | CompilerConfig.cpp | 76 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 …]
|
D | Compiler.cpp | 272 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/ |
D | X86Emulation.cpp | 24 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()
|
D | X86GNUInfo.h | 19 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()
|
D | X86LDBackend.cpp | 47 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/ |
D | TargetRegistry.cpp | 34 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/ |
D | MipsEmulation.cpp | 24 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()
|
D | MipsGNUInfo.h | 18 explicit MipsGNUInfo(const llvm::Triple& pTriple);
|
D | MipsGNUInfo.cpp | 16 MipsGNUInfo::MipsGNUInfo(const llvm::Triple& pTriple) in MipsGNUInfo()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNUInfo.cpp | 16 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()
|
D | ELFEmulation.cpp | 92 case llvm::Triple::NetBSD: in MCLDEmulateELF() 95 case llvm::Triple::Win32: in MCLDEmulateELF()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | TargetRegistry.h | 107 llvm::Triple& pTriple, 119 template <llvm::Triple::ArchType TargetArchType = llvm::Triple::UnknownArch> 133 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) { in getTripleMatchQuality()
|
D | Target.h | 15 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/ |
D | TargetOptions.h | 33 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/ |
D | Main.cpp | 177 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/ |
D | X86TargetInfo.cpp | 19 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/ |
D | MipsTargetInfo.cpp | 18 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/ |
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/include/mcld/Target/ |
D | GNUInfo.h | 21 explicit GNUInfo(const llvm::Triple& pTriple); 67 const llvm::Triple& m_Triple;
|
/frameworks/compile/libbcc/include/bcc/ |
D | CompilerConfig.h | 67 llvm::Triple::ArchType mArchType; 105 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 | 19 explicit AArch64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in AArch64GNUInfo()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMGNUInfo.h | 19 explicit ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in ARMGNUInfo()
|