/freebsd-current/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.cpp | 62 const char *PPC::stripRegisterPrefix(const char *RegName) { argument 63 switch (RegName[0]) { 65 if (RegName[1] == 'c' && RegName[2] == 'c') 66 return RegName + 3; 69 if (RegName[1] == 'p') 70 return RegName + 2; 74 if (RegName[1] == 's') { 75 if (RegName[2] == 'p') 76 return RegName [all...] |
H A D | PPCInstPrinter.cpp | 51 const char *RegName = getRegisterName(Reg); local 52 OS << RegName; local 602 bool PPCInstPrinter::showRegistersWithPercentPrefix(const char *RegName) const { 607 switch (RegName[0]) { 655 const char *RegName; local 656 RegName = getVerboseConditionRegName(Reg, MRI.getEncodingValue(Reg)); 657 if (RegName == nullptr) 658 RegName = getRegisterName(Reg); 659 if (showRegistersWithPercentPrefix(RegName)) 662 RegName 664 O << RegName; local [all...] |
H A D | PPCInstPrinter.h | 24 bool showRegistersWithPercentPrefix(const char *RegName) const;
|
H A D | PPCMCTargetDesc.h | 40 const char *stripRegisterPrefix(const char *RegName);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | LVLGen.cpp | 61 #define RegName(no) \ macro 81 LLVM_DEBUG(dbgs() << "Vector length is " << RegName(Reg) << ". "); 83 << (HasRegForVL ? RegName(RegForVL) : "unknown") 90 << RegName(Reg) << ".\n"); 106 LLVM_DEBUG(dbgs() << RegName(RegForVL) << " is needed to be updated: ");
|
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ArrayBoundCheckerV2.cpp | 211 if (std::string RegName = Region->getDescriptiveName(); !RegName.empty()) 212 return RegName; 242 static std::string getShortMsg(OOB_Kind Kind, std::string RegName) { argument 248 return formatv(ShortMsgTemplates[Kind], RegName); 252 std::string RegName = getRegionName(Region); local 255 Out << "Access of " << RegName << " at negative byte offset"; local 258 return {getShortMsg(OOB_Precedes, RegName), std::string(Buf)}; 263 std::string RegName = getRegionName(Region); local 289 Out << RegName << " a local 314 std::string RegName = getRegionName(Region); local 406 std::string RegName = getRegionName(Reg); local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFExpression.cpp | 275 auto RegName = DumpOpts.GetNameForDWARFReg(DwarfRegNum, DumpOpts.IsEH); local 276 if (!RegName.empty()) { 279 OS << ' ' << RegName << format("%+" PRId64, Operands[OpNum]); 281 OS << ' ' << RegName.data(); 451 auto RegName = GetNameForDWARFReg(DwarfRegNum, false); local 452 if (RegName.empty()) 455 S << RegName; local 461 auto RegName = GetNameForDWARFReg(DwarfRegNum, false); local 462 if (RegName.empty()) 465 S << RegName; local 503 auto RegName = GetNameForDWARFReg(DwarfRegNum, false); local 507 S << RegName; local 512 auto RegName = GetNameForDWARFReg(DwarfRegNum, false); local 516 S << RegName; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/ |
H A D | XtensaAsmParser.cpp | 476 StringRef RegName; local 497 RegName = StringRef(std::to_string(getLexer().getTok().getIntVal())); 498 RegNo = MatchRegisterName(RegName); 500 RegNo = MatchRegisterAltName(RegName); 503 RegName = getLexer().getTok().getIdentifier(); 504 RegNo = MatchRegisterName(RegName); 506 RegNo = MatchRegisterAltName(RegName); 610 StringRef RegName = Name.drop_front(4); local 611 unsigned RegNo = MatchRegisterName(RegName); 614 RegNo = MatchRegisterAltName(RegName); [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZInstPrinter.cpp | 64 const char *RegName = getRegisterName(Reg); local 67 assert(isalpha(RegName[0]) && isdigit(RegName[1])); 68 markup(O, Markup::Register) << (RegName + 1); 70 markup(O, Markup::Register) << '%' << RegName;
|
/freebsd-current/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | SystemZ.h | 81 bool isSPRegName(StringRef RegName) const override { 82 return RegName.equals("r15");
|
H A D | X86.h | 219 bool isSPRegName(StringRef RegName) const override { 220 return RegName.equals("esp") || RegName.equals("rsp"); 240 bool validateGlobalRegisterVariable(StringRef RegName, unsigned RegSize, 244 if (RegName.equals("esp") || RegName.equals("ebp")) { 794 bool validateGlobalRegisterVariable(StringRef RegName, unsigned RegSize, 798 if (RegName.equals("rsp") || RegName.equals("rbp")) { 805 return X86TargetInfo::validateGlobalRegisterVariable(RegName, RegSiz [all...] |
H A D | PPC.h | 359 bool isSPRegName(StringRef RegName) const override { 360 return RegName.equals("r1") || RegName.equals("x1");
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/ |
H A D | MIParser.h | 108 bool getRegisterByName(StringRef RegName, Register &Reg); 190 VRegInfo &getVRegInfoNamed(StringRef RegName);
|
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CallingConvEmitter.cpp | 397 const std::string &RegName = Entry.first; local 400 if (RegName.empty()) 421 const std::string &RegName = Entry.first; local 424 O << "const MCRegister " << RegName << "_Swift_ArgRegs[] = { "; local
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetMachine.cpp | 1526 auto parseRegister = [&](const yaml::StringValue &RegName, Register &RegVal) { 1528 if (parseNamedRegisterReference(PFS, TempReg, RegName.Value, Error)) { 1529 SourceRange = RegName.SourceRange; 1537 auto parseOptionalRegister = [&](const yaml::StringValue &RegName, 1539 return !RegName.Value.empty() && parseRegister(RegName, RegVal); 1552 auto diagnoseRegisterClass = [&](const yaml::StringValue &RegName) { 1557 RegName.Value.size(), SourceMgr::DK_Error, 1558 "incorrect register class for field", RegName.Value, 1560 SourceRange = RegName [all...] |
H A D | AMDGPUTargetTransformInfo.cpp | 887 StringRef RegName = 896 if (RegName.starts_with("vcc") || RegName.empty()) 901 return RegName[0] == 'v' || RegName[0] == 'a';
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
H A D | CSKYAsmParser.cpp | 434 auto RegName = [](MCRegister Reg) { variable 449 OS << "<register " << RegName(getReg()) << ">"; 453 OS << RegName(getRegSeq().first) << "-" << RegName(getRegSeq().second) 458 OS << RegName(getRegList().List1From) << "-" 459 << RegName(getRegList().List1To) << ","; 460 OS << RegName(getRegList().List2From) << "-" 461 << RegName(getRegList().List2To) << ","; 462 OS << RegName(getRegList().List3From) << "-" 463 << RegName(getRegLis [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.h | 98 Register getRegisterByName(const char *RegName, LLT VT,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRISelLowering.h | 143 Register getRegisterByName(const char *RegName, LLT VT,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.h | 104 Register getRegisterByName(const char* RegName, LLT VT,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 1099 bool MatchRegisterByName(MCRegister &RegNo, StringRef RegName, SMLoc StartLoc, 1384 bool X86AsmParser::MatchRegisterByName(MCRegister &RegNo, StringRef RegName, argument 1388 RegName.consume_front("%"); 1390 RegNo = MatchRegisterName(RegName); 1394 RegNo = MatchRegisterName(RegName.lower()); 1411 "register %" + RegName + " is only available in 64-bit mode", 1421 if (RegNo == 0 && RegName.starts_with("db")) { 1422 if (RegName.size() == 3) { 1423 switch (RegName[2]) { 1455 } else if (RegName 1711 std::string RegName = IsSI ? "ES:(R|E)SI" : "ES:(R|E)DI"; local 3749 StringRef RegName = X86IntelInstPrinter::getRegisterName(Src2); local 3800 StringRef RegName = X86IntelInstPrinter::getRegisterName(HReg); local [all...] |
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | SourcePrinter.cpp | 45 if (const char *RegName = MRI.getName(*LLVMRegNum)) 46 return StringRef(RegName);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelLowering.h | 211 Register getRegisterByName(const char *RegName, LLT VT,
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 755 std::ostringstream RegName; 756 RegName << "r" << RegNum; 757 RegNum = MatchRegisterName(RegName.str());
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZAsmPrinter.cpp | 883 const char *RegName = SystemZInstPrinter::getRegisterName(RegNo); local 886 assert(isalpha(RegName[0]) && isdigit(RegName[1])); 887 OS << (RegName + 1); 889 OS << '%' << RegName; local
|