Home
last modified time | relevance | path

Searched refs:TripleName (Results 1 – 7 of 7) sorted by relevance

/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp100 TripleName("triple", cl::desc("Target triple to assemble for, " variable
179 if (TripleName.empty()) in GetTarget()
180 TripleName = sys::getDefaultTargetTriple(); in GetTarget()
181 Triple TheTriple(Triple::normalize(TripleName)); in GetTarget()
215 TripleName = TheTriple.getTriple(); in GetTarget()
363 TripleName = Triple::normalize(TripleName); in main()
388 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in main()
391 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
398 MOFI->InitMCObjectFileInfo(TripleName, RelocModel, CMModel, Ctx); in main()
425 STI(TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
[all …]
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp80 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " member in llvm
110 if (TripleName.empty()) { in GetTarget()
114 TT.setTriple(Triple::normalize(TripleName)); in GetTarget()
119 TripleName = TT.str(); in GetTarget()
123 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget()
127 errs() << ToolName << ": error: unable to get target for '" << TripleName in GetTarget()
230 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleObject()
233 errs() << "error: no assembly info for target " << TripleName << "\n"; in DisassembleObject()
238 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in DisassembleObject()
241 errs() << "error: no subtarget info for target " << TripleName << "\n"; in DisassembleObject()
[all …]
DMachODump.cpp57 if (TripleName.empty()) { in GetTarget()
76 TripleName = TT.str(); in GetTarget()
81 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget()
85 errs() << "llvm-objdump: error: unable to get target for '" << TripleName in GetTarget()
257 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleInputMachO()
259 STI(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in DisassembleInputMachO()
261 OwningPtr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in DisassembleInputMachO()
269 << TripleName << '\n'; in DisassembleInputMachO()
Dllvm-objdump.h20 extern cl::opt<std::string> TripleName;
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp38 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, in LLVMCreateDisasm() argument
55 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in LLVMCreateDisasm()
59 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(TripleName); in LLVMCreateDisasm()
65 const MCRegisterInfo *MRI = TheTarget->createMCRegInfo(TripleName); in LLVMCreateDisasm()
72 const MCSubtargetInfo *STI = TheTarget->createMCSubtargetInfo(TripleName, CPU, in LLVMCreateDisasm()
91 LLVMDisasmContext *DC = new LLVMDisasmContext(TripleName, DisInfo, TagType, in LLVMCreateDisasm()
DDisassembler.h45 std::string TripleName;
90 MCInstPrinter *iP) : TripleName(tripleName), in LLVMDisasmContext()
/external/llvm/include/llvm-c/
DDisassembler.h144 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,