/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc-assemble-fuzzer/ |
D | llvm-mc-assemble-fuzzer.cpp | 40 TripleName("triple", cl::desc("Target triple to assemble for, " variable 119 << ": error: this target '" << TripleName in AssembleInput() 135 Triple TheTriple(Triple::normalize(TripleName)); in AssembleOneInput() 158 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in AssembleOneInput() 164 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in AssembleOneInput() 179 MCInstPrinter *IP = TheTarget->createMCInstPrinter(Triple(TripleName), OutputAsmVariant, in AssembleOneInput() 192 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in AssembleOneInput() 309 if (TripleName.empty()) in LLVMFuzzerInitialize() 310 TripleName = sys::getDefaultTargetTriple(); in LLVMFuzzerInitialize()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 120 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-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DwarfGenerator.cpp | 391 std::string TripleName; in init() local 395 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init() 399 TripleName = TheTriple.getTriple(); in init() 402 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init() 405 TripleName, in init() 408 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); in init() 410 return make_error<StringError>("no asm info for target " + TripleName, in init() 413 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init() 415 return make_error<StringError>("no subtarget info for target " + TripleName, in init() 421 return make_error<StringError>("no asm backend for target " + TripleName, in init() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 120 TripleName("triple", cl::desc("Target triple to assemble for, " variable 191 if (TripleName.empty()) in GetTarget() 192 TripleName = sys::getDefaultTargetTriple(); in GetTarget() 193 Triple TheTriple(Triple::normalize(TripleName)); in GetTarget() 205 TripleName = TheTriple.getTriple(); in GetTarget() 316 TripleName = Triple::normalize(TripleName); in main() 327 Triple TheTriple(TripleName); in main() 347 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main() 350 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main() 444 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DwarfStreamer.cpp | 46 std::string TripleName; in init() local 51 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init() 54 TripleName = TheTriple.getTriple(); in init() 57 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init() 59 return error(Twine("no register info for target ") + TripleName, Context); in init() 61 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); in init() 63 return error("no asm info for target " + TripleName, Context); in init() 69 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init() 71 return error("no subtarget info for target " + TripleName, Context); in init() 76 return error("no asm backend for target " + TripleName, Context); in init() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc-disassemble-fuzzer/ |
D | llvm-mc-disassemble-fuzzer.cpp | 23 TripleName("triple", cl::desc("Target triple to assemble for, " variable 56 TripleName.c_str(), MCPU.c_str(), FeaturesStr.c_str(), nullptr, 0, in DisassembleOneInput() 139 if (TripleName.empty()) in LLVMFuzzerInitialize() 140 TripleName = sys::getDefaultTargetTriple(); in LLVMFuzzerInitialize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | llvm-mca.cpp | 75 TripleName("mtriple", cl::desc("Target triple to assemble for, " variable 183 TripleName = Triple::normalize(TripleName); in getTarget() 184 if (TripleName.empty()) in getTarget() 185 TripleName = Triple::normalize(sys::getDefaultTargetTriple()); in getTarget() 186 Triple TheTriple(TripleName); in getTarget() 358 Triple TheTriple(TripleName); in main() 375 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main() 378 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main() 399 TheTarget->createMCSubtargetInfo(TripleName, MCPU, /* FeaturesStr */ "")); in main() 446 Triple(TripleName), AssemblerDialect, *MAI, *MCII, *MRI)); in main()
|
/external/llvm/tools/llvm-dwp/ |
D | llvm-dwp.cpp | 631 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/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCDisassembler/ |
D | Disassembler.h | 45 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/lib/MC/MCDisassembler/ |
D | Disassembler.h | 45 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 78 TripleName("triple", cl::desc("Target triple for disassembler")); variable 638 if (TripleName == "") in linkAndVerify() 642 Triple TheTriple(Triple::normalize(TripleName)); in linkAndVerify() 647 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr); in linkAndVerify() 649 TripleName = TheTriple.getTriple(); in linkAndVerify() 652 TheTarget->createMCSubtargetInfo(TripleName, MCPU, "")); in linkAndVerify() 656 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in linkAndVerify() 660 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in linkAndVerify() 674 TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI)); in linkAndVerify()
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 83 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwp/ |
D | llvm-dwp.cpp | 664 std::string TripleName = TheTriple.getTriple(); in main() local 667 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main() 669 return error(Twine("no register info for target ") + TripleName, Context); in main() 671 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main() 673 return error("no asm info for target " + TripleName, Context); in main() 680 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in main() 682 return error("no subtarget info for target " + TripleName, Context); in main() 687 return error("no asm backend for target " + TripleName, Context); in main() 691 return error("no instr info info for target " + TripleName, Context); in main() 695 return error("no code emitter for target " + TripleName, Context); in main() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 118 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 …]
|
D | llvm-objdump.h | 29 extern cl::opt<std::string> TripleName;
|
D | MachODump.cpp | 152 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/ |
D | llvm-mc-fuzzer.cpp | 38 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/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/ |
D | sancov.cpp | 776 auto TripleName = TheTriple.getTriple(); in getObjectCoveragePoints() local 779 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in getObjectCoveragePoints() 783 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in getObjectCoveragePoints() 784 failIfEmpty(STI, "no subtarget info for target " + TripleName); in getObjectCoveragePoints() 787 TheTarget->createMCRegInfo(TripleName)); in getObjectCoveragePoints() 788 failIfEmpty(MRI, "no register info for target " + TripleName); in getObjectCoveragePoints() 791 TheTarget->createMCAsmInfo(*MRI, TripleName)); in getObjectCoveragePoints() 792 failIfEmpty(AsmInfo, "no asm info for target " + TripleName); in getObjectCoveragePoints() 798 failIfEmpty(DisAsm, "no disassembler info for target " + TripleName); in getObjectCoveragePoints() 801 failIfEmpty(MII, "no instruction info for target " + TripleName); in getObjectCoveragePoints() [all …]
|
/external/llvm/tools/sancov/ |
D | sancov.cc | 353 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-7.0/llvm/tools/llvm-objdump/ |
D | llvm-objdump.cpp | 148 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " member in llvm 409 if (TripleName.empty()) { in getTarget() 414 TheTriple.setTriple(Triple::normalize(TripleName)); in getTarget() 437 TripleName = TheTriple.getTriple(); in getTarget() 1252 TheTarget->createMCRegInfo(TripleName)); in DisassembleObject() 1255 TripleName); in DisassembleObject() 1259 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleObject() 1262 TripleName); in DisassembleObject() 1264 TheTarget->createMCSubtargetInfo(TripleName, MCPU, Features.getString())); in DisassembleObject() 1267 TripleName); in DisassembleObject() [all …]
|
D | llvm-objdump.h | 30 extern cl::opt<std::string> TripleName;
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/lib/ |
D | FileAnalysis.cpp | 354 std::string TripleName = ObjectTriple.getTriple(); in initialiseDisassemblyMembers() local 369 RegisterInfo.reset(ObjectTarget->createMCRegInfo(TripleName)); in initialiseDisassemblyMembers() 374 AsmInfo.reset(ObjectTarget->createMCAsmInfo(*RegisterInfo, TripleName)); in initialiseDisassemblyMembers() 379 TripleName, MCPU, Features.getString())); in initialiseDisassemblyMembers()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Disassembler.h | 39 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,
|
/external/llvm/include/llvm-c/ |
D | Disassembler.h | 184 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 577 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 …]
|