Searched refs:TripleName (Results 1 – 8 of 8) sorted by relevance
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 99 TripleName("triple", cl::desc("Target triple to assemble for, " variable 189 if (TripleName.empty()) in GetTarget() 190 TripleName = sys::getDefaultTargetTriple(); in GetTarget() 191 Triple TheTriple(Triple::normalize(TripleName)); in GetTarget() 203 TripleName = TheTriple.getTriple(); in GetTarget() 359 TripleName = Triple::normalize(TripleName); in main() 360 Triple TheTriple(TripleName); in main() 387 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main() 390 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main() 406 MOFI.InitMCObjectFileInfo(TripleName, RelocModel, CMModel, Ctx); in main() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 101 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " member in llvm 166 if (TripleName.empty()) { in getTarget() 181 TheTriple.setTriple(Triple::normalize(TripleName)); in getTarget() 193 TripleName = TheTriple.getTriple(); in getTarget() 234 TheTarget->createMCRegInfo(TripleName)); in DisassembleObject() 236 errs() << "error: no register info for target " << TripleName << "\n"; in DisassembleObject() 242 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleObject() 244 errs() << "error: no assembly info for target " << TripleName << "\n"; in DisassembleObject() 249 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in DisassembleObject() 251 errs() << "error: no subtarget info for target " << TripleName << "\n"; in DisassembleObject() [all …]
|
D | llvm-objdump.h | 24 extern cl::opt<std::string> TripleName;
|
D | MachODump.cpp | 149 if (TripleName.empty()) { in GetTarget() 153 TripleName = TT.str(); in GetTarget() 159 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget() 169 errs() << TripleName; in GetTarget() 5980 TheTarget->createMCRegInfo(TripleName)); in DisassembleMachO() 5982 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleMachO() 5984 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in DisassembleMachO() 5991 TheTarget->createMCRelocationInfo(TripleName, Ctx)); in DisassembleMachO() 5994 TripleName, SymbolizerGetOpInfo, SymbolizerSymbolLookUp, in DisassembleMachO() 6000 Triple(TripleName), AsmPrinterVariant, *AsmInfo, *InstrInfo, *MRI)); in DisassembleMachO() [all …]
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 74 TripleName("triple", cl::desc("Target triple for disassembler")); variable 480 if (TripleName == "") { in linkAndVerify() 486 Triple TheTriple(Triple::normalize(TripleName)); in linkAndVerify() 491 llvm::errs() << "Error accessing target '" << TripleName << "': " in linkAndVerify() 495 TripleName = TheTriple.getTriple(); in linkAndVerify() 498 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in linkAndVerify() 501 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in linkAndVerify() 504 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in linkAndVerify() 516 TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI)); in linkAndVerify()
|
/external/llvm/lib/MC/MCDisassembler/ |
D | Disassembler.h | 44 std::string TripleName; 93 MCInstPrinter *iP) : TripleName(tripleName), in LLVMDisasmContext() 106 const std::string &getTripleName() const { return TripleName; } in getTripleName()
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 466 std::string TripleName; in init() local 471 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init() 474 TripleName = TheTriple.getTriple(); in init() 477 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init() 479 return error(Twine("no register info for target ") + TripleName, Context); in init() 481 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); in init() 483 return error("no asm info for target " + TripleName, Context); in init() 487 MOFI->InitMCObjectFileInfo(TripleName, Reloc::Default, CodeModel::Default, in init() 490 MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, ""); in init() 492 return error("no asm backend for target " + TripleName, Context); in init() [all …]
|
/external/llvm/include/llvm-c/ |
D | Disassembler.h | 180 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,
|