Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/tools/llvm-mc/
Dllvm-mc.cpp102 TripleName("triple", cl::desc("Target triple to assemble for, " variable
177 if (TripleName.empty()) in GetTarget()
178 TripleName = sys::getHostTriple(); in GetTarget()
179 Triple TheTriple(Triple::normalize(TripleName)); in GetTarget()
213 TripleName = TheTriple.getTriple(); in GetTarget()
254 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AsLexInput()
364 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AssembleInput()
367 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in AssembleInput()
374 MOFI->InitMCObjectFileInfo(TripleName, RelocModel, CMModel, Ctx); in AssembleInput()
397 STI(TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in AssembleInput()
[all …]
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
Dllvm-objdump.cpp69 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()
[all …]
DMachODump.cpp75 TripleName = TT.str(); in GetTarget()
79 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget()
83 errs() << "llvm-objdump: error: unable to get target for '" << TripleName in GetTarget()
292 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleInputMachO()
294 STI(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in DisassembleInputMachO()
302 << TripleName << '\n'; in DisassembleInputMachO()
Dllvm-objdump.h20 extern cl::opt<std::string> TripleName;
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp120 TripleName("triple", cl::desc("Target triple to assemble for, " variable
198 if (TripleName.empty()) in GetTarget()
199 TripleName = sys::getDefaultTargetTriple(); in GetTarget()
200 Triple TheTriple(Triple::normalize(TripleName)); in GetTarget()
212 TripleName = TheTriple.getTriple(); in GetTarget()
391 TripleName = Triple::normalize(TripleName); in main()
402 Triple TheTriple(TripleName); in main()
421 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
424 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main()
491 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/
DDisassembler.cpp35 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, in LLVMCreateDisasm() argument
46 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in LLVMCreateDisasm()
50 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(TripleName); in LLVMCreateDisasm()
53 const MCRegisterInfo *MRI = TheTarget->createMCRegInfo(TripleName); in LLVMCreateDisasm()
60 const MCSubtargetInfo *STI = TheTarget->createMCSubtargetInfo(TripleName, CPU, in LLVMCreateDisasm()
79 LLVMDisasmContext *DC = new LLVMDisasmContext(TripleName, DisInfo, TagType, in LLVMCreateDisasm()
DDisassembler.h43 std::string TripleName;
82 MCInstPrinter *iP) : TripleName(tripleName), in LLVMDisasmContext()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp631 std::string TripleName = TheTriple.getTriple(); in main() local
634 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
636 return error(Twine("no register info for target ") + TripleName, Context); in main()
638 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main()
640 return error("no asm info for target " + TripleName, Context); in main()
646 auto MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, ""); in main()
648 return error("no asm backend for target " + TripleName, Context); in main()
652 return error("no instr info info for target " + TripleName, Context); in main()
655 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in main()
657 return error("no subtarget info for target " + TripleName, Context); in main()
[all …]
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.h45 std::string TripleName;
93 : TripleName(std::move(tripleName)), DisInfo(disInfo), TagType(tagType), in LLVMDisasmContext()
104 const std::string &getTripleName() const { return TripleName; } in getTripleName()
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp83 TripleName("triple", cl::desc("Target triple for disassembler")); variable
633 if (TripleName == "") in linkAndVerify()
637 Triple TheTriple(Triple::normalize(TripleName)); in linkAndVerify()
642 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr); in linkAndVerify()
644 TripleName = TheTriple.getTriple(); in linkAndVerify()
647 TheTarget->createMCSubtargetInfo(TripleName, MCPU, "")); in linkAndVerify()
651 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in linkAndVerify()
655 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in linkAndVerify()
669 TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI)); in linkAndVerify()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp118 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " member in llvm
329 if (TripleName.empty()) { in getTarget()
344 TheTriple.setTriple(Triple::normalize(TripleName)); in getTarget()
354 TripleName = TheTriple.getTriple(); in getTarget()
952 TheTarget->createMCRegInfo(TripleName)); in DisassembleObject()
954 report_fatal_error("error: no register info for target " + TripleName); in DisassembleObject()
958 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleObject()
960 report_fatal_error("error: no assembly info for target " + TripleName); in DisassembleObject()
962 TheTarget->createMCSubtargetInfo(TripleName, MCPU, Features.getString())); in DisassembleObject()
964 report_fatal_error("error: no subtarget info for target " + TripleName); in DisassembleObject()
[all …]
Dllvm-objdump.h29 extern cl::opt<std::string> TripleName;
DMachODump.cpp152 llvm::Triple TT(TripleName); in GetTarget()
153 if (TripleName.empty()) { in GetTarget()
155 TripleName = TT.str(); in GetTarget()
169 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget()
179 errs() << TripleName; in GetTarget()
6438 TheTarget->createMCRegInfo(TripleName)); in DisassembleMachO()
6440 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleMachO()
6442 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in DisassembleMachO()
6449 TheTarget->createMCRelocationInfo(TripleName, Ctx)); in DisassembleMachO()
6452 TripleName, SymbolizerGetOpInfo, SymbolizerSymbolLookUp, in DisassembleMachO()
[all …]
/external/llvm/tools/llvm-mc-fuzzer/
Dllvm-mc-fuzzer.cpp38 TripleName("triple", cl::desc("Target triple to assemble for, " variable
71 TripleName.c_str(), MCPU.c_str(), FeaturesStr.c_str(), nullptr, 0, in DisassembleOneInput()
/external/llvm/tools/sancov/
Dsancov.cc353 auto TripleName = TheTriple.getTriple(); in getObjectCoveragePoints() local
356 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in getObjectCoveragePoints()
360 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in getObjectCoveragePoints()
361 FailIfEmpty(STI, "no subtarget info for target " + TripleName); in getObjectCoveragePoints()
364 TheTarget->createMCRegInfo(TripleName)); in getObjectCoveragePoints()
365 FailIfEmpty(MRI, "no register info for target " + TripleName); in getObjectCoveragePoints()
368 TheTarget->createMCAsmInfo(*MRI, TripleName)); in getObjectCoveragePoints()
369 FailIfEmpty(AsmInfo, "no asm info for target " + TripleName); in getObjectCoveragePoints()
375 FailIfEmpty(DisAsm, "no disassembler info for target " + TripleName); in getObjectCoveragePoints()
378 FailIfEmpty(MII, "no instruction info for target " + TripleName); in getObjectCoveragePoints()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm-c/
DDisassembler.h137 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,
/external/llvm/include/llvm-c/
DDisassembler.h184 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp577 std::string TripleName; in init() local
582 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
585 TripleName = TheTriple.getTriple(); in init()
588 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init()
590 return error(Twine("no register info for target ") + TripleName, Context); in init()
592 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); in init()
594 return error("no asm info for target " + TripleName, Context); in init()
600 MAB = TheTarget->createMCAsmBackend(*MRI, TripleName, ""); in init()
602 return error("no asm backend for target " + TripleName, Context); in init()
606 return error("no instr info info for target " + TripleName, Context); in init()
[all …]