/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCAsmInfo.cpp | 21 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(const Triple &TheTriple) { in ARMMCAsmInfoDarwin() argument 22 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin() 23 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin() 35 ExceptionsType = (TheTriple.isOSDarwin() && !TheTriple.isWatchABI()) in ARMMCAsmInfoDarwin() 44 ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { in ARMELFMCAsmInfo() argument 45 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo() 46 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo() 60 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
|
D | ARMMCTargetDesc.cpp | 186 const Triple &TheTriple) { in createARMMCAsmInfo() argument 188 if (TheTriple.isOSDarwin() || TheTriple.isOSBinFormatMachO()) in createARMMCAsmInfo() 189 MAI = new ARMMCAsmInfoDarwin(TheTriple); in createARMMCAsmInfo() 190 else if (TheTriple.isWindowsMSVCEnvironment()) in createARMMCAsmInfo() 192 else if (TheTriple.isOSWindows()) in createARMMCAsmInfo() 195 MAI = new ARMELFMCAsmInfo(TheTriple); in createARMMCAsmInfo()
|
D | ARMAsmBackendWinCOFF.h | 19 ARMAsmBackendWinCOFF(const Target &T, const Triple &TheTriple) in ARMAsmBackendWinCOFF() argument 20 : ARMAsmBackend(T, TheTriple, true) {} in ARMAsmBackendWinCOFF()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCAsmInfo.cpp | 21 MipsMCAsmInfo::MipsMCAsmInfo(const Triple &TheTriple) { in MipsMCAsmInfo() argument 22 if ((TheTriple.getArch() == Triple::mips) || in MipsMCAsmInfo() 23 (TheTriple.getArch() == Triple::mips64)) in MipsMCAsmInfo() 26 if ((TheTriple.getArch() == Triple::mips64el) || in MipsMCAsmInfo() 27 (TheTriple.getArch() == Triple::mips64)) { in MipsMCAsmInfo() 47 if (TheTriple.getArch() == Triple::mips || in MipsMCAsmInfo() 48 TheTriple.getArch() == Triple::mipsel) in MipsMCAsmInfo()
|
/external/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 44 Triple TheTriple(TargetTriple); in selectTarget() local 45 if (TheTriple.getTriple().empty()) in selectTarget() 46 TheTriple.setTriple(sys::getProcessTriple()); in selectTarget() 68 TheTriple.setArch(Type); in selectTarget() 71 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 89 if (TheTriple.getArch() == Triple::arm && in selectTarget() 90 !TheTriple.isiOS() && in selectTarget() 96 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 42 Triple TheTriple(TT); in ParseX86Triple() local 44 if (TheTriple.getArch() == Triple::x86_64) in ParseX86Triple() 48 if (TheTriple.getOS() == Triple::NativeClient) in ParseX86Triple() 124 Triple TheTriple(TT); in getDwarfRegFlavour() local 125 if (TheTriple.getArch() == Triple::x86_64) in getDwarfRegFlavour() 128 if (TheTriple.isOSDarwin()) in getDwarfRegFlavour() 130 if (TheTriple.getOS() == Triple::MinGW32 || in getDwarfRegFlavour() 131 TheTriple.getOS() == Triple::Cygwin) in getDwarfRegFlavour() 283 Triple TheTriple(TT); in createX86MCRegisterInfo() local 284 unsigned RA = (TheTriple.getArch() == Triple::x86_64) in createX86MCRegisterInfo() [all …]
|
D | X86AsmBackend.cpp | 437 Triple TheTriple(TT); in createX86_32AsmBackend() local 439 if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO) in createX86_32AsmBackend() 442 if (TheTriple.isOSWindows()) in createX86_32AsmBackend() 445 return new ELFX86_32AsmBackend(T, TheTriple.getOS()); in createX86_32AsmBackend() 449 Triple TheTriple(TT); in createX86_64AsmBackend() local 451 if (TheTriple.isOSDarwin() || TheTriple.getEnvironment() == Triple::MachO) in createX86_64AsmBackend() 454 if (TheTriple.isOSWindows()) in createX86_64AsmBackend() 457 return new ELFX86_64AsmBackend(T, TheTriple.getOS()); in createX86_64AsmBackend()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 36 Triple TheTriple(Mod->getTargetTriple()); in selectTarget() local 37 if (TheTriple.getTriple().empty()) in selectTarget() 38 TheTriple.setTriple(sys::getHostTriple()); in selectTarget() 61 TheTriple.setArch(Type); in selectTarget() 64 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 88 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCTargetDesc.cpp | 92 Triple TheTriple(TT); in ParseARMTriple() local 93 if (TheTriple.getOS() == Triple::NativeClient) { in ParseARMTriple() 131 Triple TheTriple(TT); in createARMMCAsmInfo() local 133 if (TheTriple.isOSDarwin()) in createARMMCAsmInfo() 143 Triple TheTriple(TT); in createARMMCCodeGenInfo() local 145 RM = TheTriple.isOSDarwin() ? Reloc::PIC_ : Reloc::DynamicNoPIC; in createARMMCCodeGenInfo() 158 Triple TheTriple(TT); in createMCStreamer() local 160 if (TheTriple.isOSDarwin()) in createMCStreamer() 163 if (TheTriple.isOSWindows()) { in createMCStreamer()
|
D | ARMAsmBackend.cpp | 512 Triple TheTriple(TT); in createARMAsmBackend() local 514 if (TheTriple.isOSDarwin()) { in createARMAsmBackend() 515 if (TheTriple.getArchName() == "armv4t" || in createARMAsmBackend() 516 TheTriple.getArchName() == "thumbv4t") in createARMAsmBackend() 518 else if (TheTriple.getArchName() == "armv5e" || in createARMAsmBackend() 519 TheTriple.getArchName() == "thumbv5e") in createARMAsmBackend() 521 else if (TheTriple.getArchName() == "armv6" || in createARMAsmBackend() 522 TheTriple.getArchName() == "thumbv6") in createARMAsmBackend() 527 if (TheTriple.isOSWindows()) in createARMAsmBackend()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/MCTargetDesc/ |
D | MBlazeMCTargetDesc.cpp | 57 Triple TheTriple(TT); in createMCAsmInfo() local 58 switch (TheTriple.getOS()) { in createMCAsmInfo() 81 Triple TheTriple(TT); in createMCStreamer() local 83 if (TheTriple.isOSDarwin()) { in createMCStreamer() 88 if (TheTriple.isOSWindows()) { in createMCStreamer()
|
D | MBlazeAsmBackend.cpp | 150 Triple TheTriple(TT); in createMBlazeAsmBackend() local 152 if (TheTriple.isOSDarwin()) in createMBlazeAsmBackend() 155 if (TheTriple.isOSWindows()) in createMBlazeAsmBackend() 158 return new ELFMBlazeAsmBackend(T, TheTriple.getOS()); in createMBlazeAsmBackend()
|
/external/swiftshader/third_party/LLVM/tools/llc/ |
D | llc.cpp | 259 Triple TheTriple(mod.getTargetTriple()); in main() local 260 if (TheTriple.getTriple().empty()) in main() 261 TheTriple.setTriple(sys::getHostTriple()); in main() 285 TheTriple.setArch(Type); in main() 288 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Err); in main() 307 target(TheTarget->createTargetMachine(TheTriple.getTriple(), in main() 320 if (TheTriple.isMacOSX() && in main() 321 TheTriple.isMacOSXVersionLT(10, 6)) in main() 326 (GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0])); in main()
|
/external/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 183 const Triple &TheTriple) { in computeGUIDPreservedSymbols() argument 187 if (TheTriple.isOSBinFormatMachO() && Name.size() > 0 && Name[0] == '_') in computeGUIDPreservedSymbols() 421 const Triple &TheTriple) { in initTMBuilder() argument 424 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder() 425 if (TheTriple.getArch() == llvm::Triple::x86_64) in initTMBuilder() 427 else if (TheTriple.getArch() == llvm::Triple::x86) in initTMBuilder() 429 else if (TheTriple.getArch() == llvm::Triple::aarch64) in initTMBuilder() 432 TMBuilder.TheTriple = std::move(TheTriple); in initTMBuilder() 442 Triple TheTriple(getBitcodeTargetTriple(Buffer, Context)); in addModule() local 443 initTMBuilder(TMBuilder, Triple(TheTriple)); in addModule() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCAsmInfo.cpp | 20 Triple TheTriple(TT); in MipsMCAsmInfo() local 21 if ((TheTriple.getArch() == Triple::mips) || in MipsMCAsmInfo() 22 (TheTriple.getArch() == Triple::mips64)) in MipsMCAsmInfo()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 159 const Triple &TheTriple) { in createX86MCAsmInfo() argument 160 bool is64Bit = TheTriple.getArch() == Triple::x86_64; in createX86MCAsmInfo() 163 if (TheTriple.isOSBinFormatMachO()) { in createX86MCAsmInfo() 165 MAI = new X86_64MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo() 167 MAI = new X86MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo() 168 } else if (TheTriple.isOSBinFormatELF()) { in createX86MCAsmInfo() 170 MAI = new X86ELFMCAsmInfo(TheTriple); in createX86MCAsmInfo() 171 } else if (TheTriple.isWindowsMSVCEnvironment() || in createX86MCAsmInfo() 172 TheTriple.isWindowsCoreCLREnvironment()) { in createX86MCAsmInfo() 173 MAI = new X86MCAsmInfoMicrosoft(TheTriple); in createX86MCAsmInfo() [all …]
|
D | X86AsmBackend.cpp | 839 const Triple &TheTriple, in createX86_32AsmBackend() argument 841 if (TheTriple.isOSBinFormatMachO()) in createX86_32AsmBackend() 844 if (TheTriple.isOSWindows() && TheTriple.isOSBinFormatCOFF()) in createX86_32AsmBackend() 847 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_32AsmBackend() 849 if (TheTriple.isOSIAMCU()) in createX86_32AsmBackend() 857 const Triple &TheTriple, in createX86_64AsmBackend() argument 859 if (TheTriple.isOSBinFormatMachO()) { in createX86_64AsmBackend() 861 StringSwitch<MachO::CPUSubTypeX86>(TheTriple.getArchName()) in createX86_64AsmBackend() 867 if (TheTriple.isOSWindows() && TheTriple.isOSBinFormatCOFF()) in createX86_64AsmBackend() 870 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_64AsmBackend() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCTargetDesc.cpp | 43 Triple TheTriple(TT); in createPPCMCRegisterInfo() local 44 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64); in createPPCMCRegisterInfo() 61 Triple TheTriple(TT); in createPPCMCAsmInfo() local 62 bool isPPC64 = TheTriple.getArch() == Triple::ppc64; in createPPCMCAsmInfo() 65 if (TheTriple.isOSDarwin()) in createPPCMCAsmInfo()
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCTargetDesc.cpp | 70 const Triple &TheTriple) { in createPPCMCAsmInfo() argument 71 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo() 72 TheTriple.getArch() == Triple::ppc64le); in createPPCMCAsmInfo() 75 if (TheTriple.isOSDarwin()) in createPPCMCAsmInfo() 76 MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple); in createPPCMCAsmInfo() 78 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 23 SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Triple &TheTriple) { in SparcELFMCAsmInfo() argument 24 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); in SparcELFMCAsmInfo() 25 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel); in SparcELFMCAsmInfo()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCTargetDesc.cpp | 57 const Triple &TheTriple) { in createAArch64MCAsmInfo() argument 59 if (TheTriple.isOSBinFormatMachO()) in createAArch64MCAsmInfo() 62 assert(TheTriple.isOSBinFormatELF() && "Only expect Darwin or ELF"); in createAArch64MCAsmInfo() 63 MAI = new AArch64MCAsmInfoELF(TheTriple); in createAArch64MCAsmInfo()
|
/external/llvm/tools/llc/ |
D | llc.cpp | 275 Triple TheTriple; in compileModule() local 304 TheTriple = Triple(M->getTargetTriple()); in compileModule() 306 TheTriple = Triple(Triple::normalize(TargetTriple)); in compileModule() 309 if (TheTriple.getTriple().empty()) in compileModule() 310 TheTriple.setTriple(sys::getDefaultTargetTriple()); in compileModule() 314 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in compileModule() 343 TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, FeaturesStr, in compileModule() 360 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); in compileModule()
|
/external/llvm/lib/Support/ |
D | TargetRegistry.cpp | 26 Triple &TheTriple, in lookupTarget() argument 48 TheTriple.setArch(Type); in lookupTarget() 52 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget() 55 + TheTriple.getTriple() in lookupTarget()
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | BugDriver.cpp | 96 Triple TheTriple(Result->getTargetTriple()); in ParseInputFile() local 98 if (TheTriple.getTriple().empty()) in ParseInputFile() 99 TheTriple.setTriple(sys::getHostTriple()); in ParseInputFile() 101 TargetTriple.setTriple(TheTriple.getTriple()); in ParseInputFile()
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/MCTargetDesc/ |
D | PTXMCAsmInfo.cpp | 20 Triple TheTriple(TT); in PTXMCAsmInfo() local 21 if (TheTriple.getArch() == Triple::ptx64) in PTXMCAsmInfo()
|