/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 46 Triple TheTriple(TT); in ParseX86Triple() local 48 if (TheTriple.getArch() == Triple::x86_64) in ParseX86Triple() 50 else if (TheTriple.getEnvironment() != Triple::CODE16) in ParseX86Triple() 104 Triple TheTriple(TT); in createX86MCRegisterInfo() local 105 unsigned RA = (TheTriple.getArch() == Triple::x86_64) in createX86MCRegisterInfo() 111 X86_MC::getDwarfRegFlavour(TheTriple, false), in createX86MCRegisterInfo() 112 X86_MC::getDwarfRegFlavour(TheTriple, true), in createX86MCRegisterInfo() 119 Triple TheTriple(TT); in createX86MCAsmInfo() local 120 bool is64Bit = TheTriple.getArch() == Triple::x86_64; in createX86MCAsmInfo() 123 if (TheTriple.isOSBinFormatMachO()) { in createX86MCAsmInfo() [all …]
|
D | X86AsmBackend.cpp | 793 Triple TheTriple(TT); in createX86_32AsmBackend() local 795 if (TheTriple.isOSBinFormatMachO()) in createX86_32AsmBackend() 798 if (TheTriple.isOSWindows() && !TheTriple.isOSBinFormatELF()) in createX86_32AsmBackend() 801 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_32AsmBackend() 809 Triple TheTriple(TT); in createX86_64AsmBackend() local 811 if (TheTriple.isOSBinFormatMachO()) { in createX86_64AsmBackend() 813 StringSwitch<MachO::CPUSubTypeX86>(TheTriple.getArchName()) in createX86_64AsmBackend() 819 if (TheTriple.isOSWindows() && !TheTriple.isOSBinFormatELF()) in createX86_64AsmBackend() 822 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_64AsmBackend() 824 if (TheTriple.getEnvironment() == Triple::GNUX32) in createX86_64AsmBackend()
|
/external/llvm/lib/ExecutionEngine/ |
D | TargetSelect.cpp | 45 Triple TheTriple(TargetTriple); in selectTarget() local 46 if (TheTriple.getTriple().empty()) in selectTarget() 47 TheTriple.setTriple(sys::getProcessTriple()); in selectTarget() 71 TheTriple.setArch(Type); in selectTarget() 74 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 92 if (TheTriple.getArch() == Triple::arm && in selectTarget() 93 !TheTriple.isiOS() && in selectTarget() 99 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCAsmInfo.cpp | 23 Triple TheTriple(TT); in ARMMCAsmInfoDarwin() local 24 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin() 25 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin() 45 Triple TheTriple(TT); in ARMELFMCAsmInfo() local 46 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo() 47 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo() 61 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
|
D | ARMMCTargetDesc.cpp | 281 Triple TheTriple(TT); in createARMMCAsmInfo() local 284 if (TheTriple.isOSDarwin() || TheTriple.isOSBinFormatMachO()) in createARMMCAsmInfo() 286 else if (TheTriple.isWindowsItaniumEnvironment()) in createARMMCAsmInfo() 288 else if (TheTriple.isWindowsMSVCEnvironment()) in createARMMCAsmInfo() 304 Triple TheTriple(TT); in createARMMCCodeGenInfo() local 306 RM = TheTriple.isOSDarwin() ? Reloc::PIC_ : Reloc::DynamicNoPIC; in createARMMCCodeGenInfo() 338 Triple TheTriple(TT); in createARMMCRelocationInfo() local 339 if (TheTriple.isOSBinFormatMachO()) in createARMMCRelocationInfo()
|
D | ARMAsmBackend.cpp | 750 Triple TheTriple(TT); in createARMAsmBackend() local 752 switch (TheTriple.getObjectFormat()) { in createARMAsmBackend() 757 StringSwitch<MachO::CPUSubTypeARM>(TheTriple.getArchName()) in createARMAsmBackend() 771 assert(TheTriple.isOSWindows() && "non-Windows ARM COFF is not supported"); in createARMAsmBackend() 774 assert(TheTriple.isOSBinFormatELF() && "using ELF for non-ELF target"); in createARMAsmBackend()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCAsmInfo.cpp | 22 Triple TheTriple(TT); in MipsMCAsmInfo() local 23 if ((TheTriple.getArch() == Triple::mips) || in MipsMCAsmInfo() 24 (TheTriple.getArch() == Triple::mips64)) in MipsMCAsmInfo() 27 if ((TheTriple.getArch() == Triple::mips64el) || in MipsMCAsmInfo() 28 (TheTriple.getArch() == Triple::mips64)) { in MipsMCAsmInfo()
|
D | MipsMCTargetDesc.cpp | 48 Triple TheTriple(TT); in selectMipsCPU() local 49 if (TheTriple.getArch() == Triple::mips || in selectMipsCPU() 50 TheTriple.getArch() == Triple::mipsel) in selectMipsCPU()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCTargetDesc.cpp | 62 Triple TheTriple(TT); in createAArch64MCAsmInfo() local 65 if (TheTriple.isOSDarwin()) in createAArch64MCAsmInfo() 68 assert(TheTriple.isOSBinFormatELF() && "Only expect Darwin or ELF"); in createAArch64MCAsmInfo() 83 Triple TheTriple(TT); in createAArch64MCCodeGenInfo() local 84 assert((TheTriple.isOSBinFormatELF() || TheTriple.isOSBinFormatMachO()) && in createAArch64MCCodeGenInfo() 99 if (TheTriple.isOSDarwin()) in createAArch64MCCodeGenInfo()
|
D | AArch64AsmBackend.cpp | 528 Triple TheTriple(TT); in createAArch64leAsmBackend() local 530 if (TheTriple.isOSDarwin()) in createAArch64leAsmBackend() 533 assert(TheTriple.isOSBinFormatELF() && "Expect either MachO or ELF target"); in createAArch64leAsmBackend() 534 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createAArch64leAsmBackend() 541 Triple TheTriple(TT); in createAArch64beAsmBackend() local 543 assert(TheTriple.isOSBinFormatELF() && in createAArch64beAsmBackend() 545 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createAArch64beAsmBackend()
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCTargetDesc.cpp | 55 Triple TheTriple(TT); in createPPCMCRegisterInfo() local 56 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCRegisterInfo() 57 TheTriple.getArch() == Triple::ppc64le); in createPPCMCRegisterInfo() 74 Triple TheTriple(TT); in createPPCMCAsmInfo() local 75 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo() 76 TheTriple.getArch() == Triple::ppc64le); in createPPCMCAsmInfo() 79 if (TheTriple.isOSDarwin()) in createPPCMCAsmInfo() 80 MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple); in createPPCMCAsmInfo() 82 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
|
/external/llvm/tools/llc/ |
D | llc.cpp | 210 Triple TheTriple; in compileModule() local 234 TheTriple = Triple(M->getTargetTriple()); in compileModule() 236 TheTriple = Triple(Triple::normalize(TargetTriple)); in compileModule() 239 if (TheTriple.getTriple().empty()) in compileModule() 240 TheTriple.setTriple(sys::getDefaultTargetTriple()); in compileModule() 244 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in compileModule() 297 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in compileModule() 314 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); in compileModule()
|
/external/llvm/lib/Support/ |
D | TargetRegistry.cpp | 26 Triple &TheTriple, in lookupTarget() argument 50 TheTriple.setArch(Type); in lookupTarget() 54 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget() 57 + TheTriple.getTriple() in lookupTarget()
|
/external/llvm/tools/bugpoint/ |
D | BugDriver.cpp | 103 Triple TheTriple(Result->getTargetTriple()); in parseInputFile() local 105 if (TheTriple.getTriple().empty()) in parseInputFile() 106 TheTriple.setTriple(sys::getDefaultTargetTriple()); in parseInputFile() 108 TargetTriple.setTriple(TheTriple.getTriple()); in parseInputFile()
|
/external/llvm/lib/Target/NVPTX/MCTargetDesc/ |
D | NVPTXMCAsmInfo.cpp | 29 Triple TheTriple(TT); in NVPTXMCAsmInfo() local 30 if (TheTriple.getArch() == Triple::nvptx64) { in NVPTXMCAsmInfo()
|
/external/llvm/tools/dsymutil/ |
D | MachODebugMapParser.cpp | 105 Triple TheTriple("unknown-unknown-unknown"); in getTriple() local 106 TheTriple.setArch(Triple::ArchType(Obj.getArch())); in getTriple() 107 TheTriple.setObjectFormat(Triple::MachO); in getTriple() 108 return TheTriple; in getTriple()
|
D | DwarfLinker.cpp | 401 bool init(Triple TheTriple, StringRef OutputFilename); 464 bool DwarfStreamer::init(Triple TheTriple, StringRef OutputFilename) { in init() argument 471 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init() 474 TripleName = TheTriple.getTriple(); in init() 513 MS = TheTarget->createMCObjectStreamer(TheTriple, *MC, *MAB, *OutFile, MCE, in init() 1203 bool createStreamer(Triple TheTriple, StringRef OutputFilename); 1294 bool DwarfLinker::createStreamer(Triple TheTriple, StringRef OutputFilename) { in createStreamer() argument 1299 return Streamer->init(TheTriple, OutputFilename); in createStreamer()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 25 Triple TheTriple(TT); in SparcELFMCAsmInfo() local 26 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); in SparcELFMCAsmInfo()
|
D | SparcMCTargetDesc.cpp | 69 Triple TheTriple(TT); in createSparcMCSubtargetInfo() local 71 CPU = (TheTriple.getArch() == Triple::sparcv9) ? "v9" : "v8"; in createSparcMCSubtargetInfo()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 191 Triple TheTriple(Triple::normalize(TripleName)); in GetTarget() local 195 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in GetTarget() 203 TripleName = TheTriple.getTriple(); in GetTarget() 360 Triple TheTriple(TripleName); in main() local 482 Str.reset(TheTarget->createMCObjectStreamer(TheTriple, Ctx, *MAB, *OS, CE, in main()
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 165 llvm::Triple TheTriple("unknown-unknown-unknown"); in getTarget() local 168 TheTriple.setArch(Triple::ArchType(Obj->getArch())); in getTarget() 172 TheTriple.setObjectFormat(Triple::MachO); in getTarget() 177 TheTriple.setTriple("thumbv7-windows"); in getTarget() 181 TheTriple.setTriple(Triple::normalize(TripleName)); in getTarget() 185 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in getTarget() 193 TripleName = TheTriple.getTriple(); in getTarget()
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 486 Triple TheTriple(Triple::normalize(TripleName)); in linkAndVerify() local 489 TargetRegistry::lookupTarget("", TheTriple, ErrorStr); in linkAndVerify() 495 TripleName = TheTriple.getTriple(); in linkAndVerify() 561 remapSections(TheTriple, MemMgr, Checker); in linkAndVerify()
|
/external/llvm/tools/opt/ |
D | opt.cpp | 267 static TargetMachine* GetTargetMachine(Triple TheTriple) { in GetTargetMachine() argument 269 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in GetTargetMachine() 300 return TheTarget->createTargetMachine(TheTriple.getTriple(), in GetTargetMachine()
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 474 const llvm::Triple &TheTriple = Actions.Context.getTargetInfo().getTriple(); in ParseMicrosoftAsmStatement() local 475 llvm::Triple::ArchType ArchTy = TheTriple.getArch(); in ParseMicrosoftAsmStatement() 476 const std::string &TT = TheTriple.getTriple(); in ParseMicrosoftAsmStatement() 481 Diag(AsmLoc, diag::err_msasm_unsupported_arch) << TheTriple.getArchName(); in ParseMicrosoftAsmStatement()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 747 Triple TheTriple(TripleStr); in codegen() local 758 Features.getDefaultSubtargetFeatures(TheTriple); in codegen()
|