Lines Matching refs:TripleName
69 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " member in llvm
99 if (TripleName.empty()) { in GetTarget()
103 TT.setTriple(Triple::normalize(TripleName)); in GetTarget()
108 TripleName = TT.str(); in GetTarget()
112 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget()
116 errs() << ToolName << ": error: unable to get target for '" << TripleName in GetTarget()
219 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleObject()
222 errs() << "error: no assembly info for target " << TripleName << "\n"; in DisassembleObject()
227 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in DisassembleObject()
230 errs() << "error: no subtarget info for target " << TripleName << "\n"; in DisassembleObject()
237 errs() << "error: no disassembler for target " << TripleName << "\n"; in DisassembleObject()
245 errs() << "error: no instruction printer for target " << TripleName in DisassembleObject()
442 TripleName = Triple::normalize(TripleName); in main()