/external/swiftshader/third_party/LLVM/tools/llvm-mc/ |
llvm-mc.cpp | 102 TripleName("triple", cl::desc("Target triple to assemble for, " 177 if (TripleName.empty()) 178 TripleName = sys::getHostTriple(); 179 Triple TheTriple(Triple::normalize(TripleName)); 213 TripleName = TheTriple.getTriple(); 254 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); 364 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); 367 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); 374 MOFI->InitMCObjectFileInfo(TripleName, RelocModel, CMModel, Ctx); 397 STI(TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)) [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/ |
Disassembler.cpp | 28 // LLVMCreateDisasm() creates a disassembler for the TripleName. Symbolic 35 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, 46 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); 50 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(TripleName); 53 const MCRegisterInfo *MRI = TheTarget->createMCRegInfo(TripleName); 60 const MCSubtargetInfo *STI = TheTarget->createMCSubtargetInfo(TripleName, CPU, 79 LLVMDisasmContext *DC = new LLVMDisasmContext(TripleName, DisInfo, TagType,
|
Disassembler.h | 42 // The TripleName for this disassembler. 43 std::string TripleName; 76 LLVMDisasmContext(std::string tripleName, void *disInfo, int tagType, 82 MCInstPrinter *iP) : TripleName(tripleName),
|
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
llvm-objdump.h | 20 extern cl::opt<std::string> TripleName;
|
llvm-objdump.cpp | 69 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " 99 if (TripleName.empty()) { 103 TT.setTriple(Triple::normalize(TripleName)); 108 TripleName = TT.str(); 112 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); 116 errs() << ToolName << ": error: unable to get target for '" << TripleName 219 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); 222 errs() << "error: no assembly info for target " << TripleName << "\n"; 227 TheTarget->createMCSubtargetInfo(TripleName, "", "")); 230 errs() << "error: no subtarget info for target " << TripleName << "\n" [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc-assemble-fuzzer/ |
llvm-mc-assemble-fuzzer.cpp | 40 TripleName("triple", cl::desc("Target triple to assemble for, " 119 << ": error: this target '" << TripleName 135 Triple TheTriple(Triple::normalize(TripleName)); 158 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); 164 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); 179 MCInstPrinter *IP = TheTarget->createMCInstPrinter(Triple(TripleName), OutputAsmVariant, 192 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); 309 if (TripleName.empty()) 310 TripleName = sys::getDefaultTargetTriple();
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc-disassemble-fuzzer/ |
llvm-mc-disassemble-fuzzer.cpp | 23 TripleName("triple", cl::desc("Target triple to assemble for, " 56 TripleName.c_str(), MCPU.c_str(), FeaturesStr.c_str(), nullptr, 0, 139 if (TripleName.empty()) 140 TripleName = sys::getDefaultTargetTriple();
|
/external/llvm/lib/MC/MCDisassembler/ |
Disassembler.h | 44 // The TripleName for this disassembler. 45 std::string TripleName; 86 LLVMDisasmContext(std::string tripleName, void *disInfo, int tagType, 93 : TripleName(std::move(tripleName)), DisInfo(disInfo), TagType(tagType), 104 const std::string &getTripleName() const { return TripleName; }
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCDisassembler/ |
Disassembler.h | 44 // The TripleName for this disassembler. 45 std::string TripleName; 86 LLVMDisasmContext(std::string tripleName, void *disInfo, int tagType, 93 : TripleName(std::move(tripleName)), DisInfo(disInfo), TagType(tagType), 104 const std::string &getTripleName() const { return TripleName; }
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
Disassembler.h | 131 * Create a disassembler for the TripleName. Symbolic disassembly is supported 137 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
Disassembler.h | 32 * Create a disassembler for the TripleName. Symbolic disassembly is supported 39 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, 44 * Create a disassembler for the TripleName and a specific CPU. Symbolic 57 * Create a disassembler for the TripleName, a specific CPU and specific feature
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
DwarfGenerator.cpp | 391 std::string TripleName; 395 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); 399 TripleName = TheTriple.getTriple(); 402 MRI.reset(TheTarget->createMCRegInfo(TripleName)); 405 TripleName, 408 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); 410 return make_error<StringError>("no asm info for target " + TripleName, 413 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); 415 return make_error<StringError>("no subtarget info for target " + TripleName, 421 return make_error<StringError>("no asm backend for target " + TripleName, [all...] |
/external/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 120 TripleName("triple", cl::desc("Target triple to assemble for, " 198 if (TripleName.empty()) 199 TripleName = sys::getDefaultTargetTriple(); 200 Triple TheTriple(Triple::normalize(TripleName)); 212 TripleName = TheTriple.getTriple(); 391 TripleName = Triple::normalize(TripleName); 400 // Now that GetTarget() has (potentially) replaced TripleName, it's safe to 402 Triple TheTriple(TripleName); 421 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 120 TripleName("triple", cl::desc("Target triple to assemble for, " 191 if (TripleName.empty()) 192 TripleName = sys::getDefaultTargetTriple(); 193 Triple TheTriple(Triple::normalize(TripleName)); 205 TripleName = TheTriple.getTriple(); 316 TripleName = Triple::normalize(TripleName); 325 // Now that GetTarget() has (potentially) replaced TripleName, it's safe to 327 Triple TheTriple(TripleName); 347 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); [all...] |
/external/llvm/tools/llvm-mc-fuzzer/ |
llvm-mc-fuzzer.cpp | 38 TripleName("triple", cl::desc("Target triple to assemble for, " 71 TripleName.c_str(), MCPU.c_str(), FeaturesStr.c_str(), nullptr, 0,
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
llvm-mca.cpp | 75 TripleName("mtriple", cl::desc("Target triple to assemble for, " 183 TripleName = Triple::normalize(TripleName); 184 if (TripleName.empty()) 185 TripleName = Triple::normalize(sys::getDefaultTargetTriple()); 186 Triple TheTriple(TripleName); 356 // GetTarget() may replaced TripleName with a default triple. 358 Triple TheTriple(TripleName); 375 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); 378 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
DwarfStreamer.cpp | 46 std::string TripleName; 51 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); 54 TripleName = TheTriple.getTriple(); 57 MRI.reset(TheTarget->createMCRegInfo(TripleName)); 59 return error(Twine("no register info for target ") + TripleName, Context); 61 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); 63 return error("no asm info for target " + TripleName, Context); 69 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); 71 return error("no subtarget info for target " + TripleName, Context); 76 return error("no asm backend for target " + TripleName, Context) [all...] |
/external/llvm/tools/llvm-rtdyld/ |
llvm-rtdyld.cpp | 83 TripleName("triple", cl::desc("Target triple for disassembler")); 633 if (TripleName == "") 637 Triple TheTriple(Triple::normalize(TripleName)); 642 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr); 644 TripleName = TheTriple.getTriple(); 647 TheTarget->createMCSubtargetInfo(TripleName, MCPU, "")); 651 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); 655 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); 669 TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI));
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rtdyld/ |
llvm-rtdyld.cpp | 78 TripleName("triple", cl::desc("Target triple for disassembler")); 638 if (TripleName == "") 642 Triple TheTriple(Triple::normalize(TripleName)); 647 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr); 649 TripleName = TheTriple.getTriple(); 652 TheTarget->createMCSubtargetInfo(TripleName, MCPU, "")); 656 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); 660 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); 674 TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI));
|
/external/llvm/include/llvm-c/ |
Disassembler.h | 177 * Create a disassembler for the TripleName. Symbolic disassembly is supported 184 LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, 189 * Create a disassembler for the TripleName and a specific CPU. Symbolic 202 * Create a disassembler for the TripleName, a specific CPU and specific feature
|
/external/llvm/tools/sancov/ |
sancov.cc | 353 auto TripleName = TheTriple.getTriple(); 356 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); 360 TheTarget->createMCSubtargetInfo(TripleName, "", "")); 361 FailIfEmpty(STI, "no subtarget info for target " + TripleName); 364 TheTarget->createMCRegInfo(TripleName)); 365 FailIfEmpty(MRI, "no register info for target " + TripleName); 368 TheTarget->createMCAsmInfo(*MRI, TripleName)); 369 FailIfEmpty(AsmInfo, "no asm info for target " + TripleName); 375 FailIfEmpty(DisAsm, "no disassembler info for target " + TripleName); 378 FailIfEmpty(MII, "no instruction info for target " + TripleName); [all...] |
/external/llvm/tools/llvm-objdump/ |
llvm-objdump.cpp | 118 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " 329 if (TripleName.empty()) { 344 TheTriple.setTriple(Triple::normalize(TripleName)); 354 TripleName = TheTriple.getTriple(); 952 TheTarget->createMCRegInfo(TripleName)); 954 report_fatal_error("error: no register info for target " + TripleName); 958 TheTarget->createMCAsmInfo(*MRI, TripleName)); 960 report_fatal_error("error: no assembly info for target " + TripleName); 962 TheTarget->createMCSubtargetInfo(TripleName, MCPU, Features.getString())); 964 report_fatal_error("error: no subtarget info for target " + TripleName); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/lib/ |
FileAnalysis.cpp | 354 std::string TripleName = ObjectTriple.getTriple(); 369 RegisterInfo.reset(ObjectTarget->createMCRegInfo(TripleName)); 374 AsmInfo.reset(ObjectTarget->createMCAsmInfo(*RegisterInfo, TripleName)); 379 TripleName, MCPU, Features.getString()));
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/ |
sancov.cpp | 776 auto TripleName = TheTriple.getTriple(); 779 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); 783 TheTarget->createMCSubtargetInfo(TripleName, "", "")); 784 failIfEmpty(STI, "no subtarget info for target " + TripleName); 787 TheTarget->createMCRegInfo(TripleName)); 788 failIfEmpty(MRI, "no register info for target " + TripleName); 791 TheTarget->createMCAsmInfo(*MRI, TripleName)); 792 failIfEmpty(AsmInfo, "no asm info for target " + TripleName); 798 failIfEmpty(DisAsm, "no disassembler info for target " + TripleName); 801 failIfEmpty(MII, "no instruction info for target " + TripleName); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
llvm-objdump.cpp | 148 llvm::TripleName("triple", cl::desc("Target triple to disassemble for, " 409 if (TripleName.empty()) { 414 TheTriple.setTriple(Triple::normalize(TripleName)); 437 TripleName = TheTriple.getTriple(); [all...] |