Home
last modified time | relevance | path

Searched refs:RegName (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.h177 stripRegisterPrefix(const char * RegName) stripRegisterPrefix() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp62 const char *PPC::stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
63 switch (RegName[0]) { in stripRegisterPrefix()
65 if (RegName[1] == 'c' && RegName[2] == 'c') in stripRegisterPrefix()
66 return RegName + 3; in stripRegisterPrefix()
69 if (RegName[1] == 'p') in stripRegisterPrefix()
70 return RegName + 2; in stripRegisterPrefix()
74 if (RegName[1] == 's') { in stripRegisterPrefix()
75 if (RegName[2] == 'p') in stripRegisterPrefix()
76 return RegName + 3; in stripRegisterPrefix()
77 return RegName + 2; in stripRegisterPrefix()
[all …]
H A DPPCInstPrinter.cpp51 const char *RegName = getRegisterName(Reg); in printRegName() local
52 OS << RegName; in printRegName()
602 bool PPCInstPrinter::showRegistersWithPercentPrefix(const char *RegName) const { in showRegistersWithPercentPrefix()
607 switch (RegName[0]) { in showRegistersWithPercentPrefix()
655 const char *RegName; in printOperand()
656 RegName = getVerboseConditionRegName(Reg, MRI.getEncodingValue(Reg)); in printOperand()
657 if (RegName == nullptr) in printOperand()
658 RegName = getRegisterName(Reg); in printOperand()
659 if (showRegistersWithPercentPrefix(RegName)) in printOperand()
662 RegName in printOperand()
652 const char *RegName; printOperand() local
[all...]
H A DPPCInstPrinter.h24 bool showRegistersWithPercentPrefix(const char *RegName) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DLVLGen.cpp61 #define RegName(no) \ in runOnMachineBasicBlock() macro
81 LLVM_DEBUG(dbgs() << "Vector length is " << RegName(Reg) << ". "); in runOnMachineBasicBlock()
83 << (HasRegForVL ? RegName(RegForVL) : "unknown") in runOnMachineBasicBlock()
90 << RegName(Reg) << ".\n"); in runOnMachineBasicBlock()
106 LLVM_DEBUG(dbgs() << RegName(RegForVL) << " is needed to be updated: "); in runOnMachineBasicBlock()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp278 auto RegName = DumpOpts.GetNameForDWARFReg(DwarfRegNum, DumpOpts.IsEH); in prettyPrintRegisterOp() local
279 if (!RegName.empty()) { in prettyPrintRegisterOp()
282 OS << ' ' << RegName << format("%+" PRId64, Operands[OpNum]); in prettyPrintRegisterOp()
284 OS << ' ' << RegName.data(); in prettyPrintRegisterOp()
454 auto RegName = GetNameForDWARFReg(DwarfRegNum, false); in printCompactDWARFExpr() local
455 if (RegName.empty()) in printCompactDWARFExpr()
458 S << RegName; in printCompactDWARFExpr()
464 auto RegName = GetNameForDWARFReg(DwarfRegNum, false); in printCompactDWARFExpr() local
465 if (RegName.empty()) in printCompactDWARFExpr()
468 S << RegName; in printCompactDWARFExpr()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp340 if (std::string RegName = Region->getDescriptiveName(); !RegName.empty()) in getRegionName() local
341 return RegName; in getRegionName()
376 std::string RegName = getRegionName(Region), OffsetStr = ""; in getPrecedesMsgs() local
382 formatv("Out of bound access to memory preceding {0}", RegName), in getPrecedesMsgs()
383 formatv("Access of {0} at negative byte offset{1}", RegName, OffsetStr)}; in getPrecedesMsgs()
409 std::string RegName = getRegionName(Region); in getExceedsMsgs() local
427 Out << RegName << " at "; in getExceedsMsgs()
452 RegName), in getExceedsMsgs()
458 std::string RegName = getRegionName(Region); in getTaintMsgs() local
460 RegName, OffsetName), in getTaintMsgs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp554 StringRef RegName; in parseRegister() local
575 RegName = getLexer().getTok().getString(); in parseRegister()
576 RegNo = MatchRegisterName(RegName); in parseRegister()
578 RegNo = MatchRegisterAltName(RegName); in parseRegister()
581 RegName = getLexer().getTok().getIdentifier(); in parseRegister()
582 RegNo = MatchRegisterName(RegName); in parseRegister()
584 RegNo = MatchRegisterAltName(RegName); in parseRegister()
688 StringRef RegName = Name.drop_front(4); in ParseInstructionWithSR() local
689 unsigned RegNo = MatchRegisterName(RegName); in ParseInstructionWithSR()
692 RegNo = MatchRegisterAltName(RegName); in ParseInstructionWithSR()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZInstPrinter.cpp64 const char *RegName = getRegisterName(Reg); in printFormattedRegName()
67 assert(isalpha(RegName[0]) && isdigit(RegName[1])); in printFormattedRegName()
68 markup(O, Markup::Register) << (RegName + 1); in printFormattedRegName()
70 markup(O, Markup::Register) << '%' << RegName; in printFormattedRegName()
63 const char *RegName = getRegisterName(Reg); printFormattedRegName() local
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DX86.h216 bool isSPRegName(StringRef RegName) const override { in isSPRegName() argument
217 return RegName == "esp" || RegName == "rsp"; in isSPRegName()
241 bool validateGlobalRegisterVariable(StringRef RegName, unsigned RegSize, in validateGlobalRegisterVariable() argument
245 if (RegName == "esp" || RegName == "ebp") { in validateGlobalRegisterVariable()
787 bool validateGlobalRegisterVariable(StringRef RegName, unsigned RegSize, in validateGlobalRegisterVariable() argument
791 if (RegName == "rsp" || RegName == "rbp") { in validateGlobalRegisterVariable()
798 return X86TargetInfo::validateGlobalRegisterVariable(RegName, RegSize, in validateGlobalRegisterVariable()
H A DSystemZ.h86 bool isSPRegName(StringRef RegName) const override { in isSPRegName() argument
87 return RegName == "r15"; in isSPRegName()
H A DPPC.h372 bool isSPRegName(StringRef RegName) const override { in isSPRegName() argument
373 return RegName == "r1" || RegName == "x1"; in isSPRegName()
H A DAArch64.cpp232 StringRef RegName, unsigned RegSize, bool &HasSizeMismatch) const { in validateGlobalRegisterVariable() argument
233 if ((RegName == "sp") || RegName.starts_with("x")) { in validateGlobalRegisterVariable()
236 } else if (RegName.starts_with("w")) { in validateGlobalRegisterVariable()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCallingConvEmitter.cpp401 const std::string &RegName = Entry.first; in EmitArgRegisterLists() local
404 if (RegName.empty()) in EmitArgRegisterLists()
425 const std::string &RegName = Entry.first; in EmitArgRegisterLists() local
428 O << "const MCRegister " << RegName << "_Swift_ArgRegs[] = { "; in EmitArgRegisterLists()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIParser.h108 bool getRegisterByName(StringRef RegName, Register &Reg);
190 VRegInfo &getVRegInfoNamed(StringRef RegName);
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp434 auto RegName = [](MCRegister Reg) { in print() local
449 OS << "<register " << RegName(getReg()) << ">"; in print()
453 OS << RegName(getRegSeq().first) << "-" << RegName(getRegSeq().second) in print()
458 OS << RegName(getRegList().List1From) << "-" in print()
459 << RegName(getRegList().List1To) << ","; in print()
460 OS << RegName(getRegList().List2From) << "-" in print()
461 << RegName(getRegList().List2To) << ","; in print()
462 OS << RegName(getRegList().List3From) << "-" in print()
463 << RegName(getRegList().List3To) << ","; in print()
464 OS << RegName(getRegList().List4From) << "-" in print()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.cpp1552 auto parseRegister = [&](const yaml::StringValue &RegName, Register &RegVal) { in parseMachineFunctionInfo() argument
1554 if (parseNamedRegisterReference(PFS, TempReg, RegName.Value, Error)) { in parseMachineFunctionInfo()
1555 SourceRange = RegName.SourceRange; in parseMachineFunctionInfo()
1563 auto parseOptionalRegister = [&](const yaml::StringValue &RegName, in parseMachineFunctionInfo()
1565 return !RegName.Value.empty() && parseRegister(RegName, RegVal); in parseMachineFunctionInfo()
1578 auto diagnoseRegisterClass = [&](const yaml::StringValue &RegName) { in parseMachineFunctionInfo() argument
1583 RegName.Value.size(), SourceMgr::DK_Error, in parseMachineFunctionInfo()
1584 "incorrect register class for field", RegName.Value, in parseMachineFunctionInfo()
1586 SourceRange = RegName.SourceRange; in parseMachineFunctionInfo()
H A DAMDGPUTargetTransformInfo.cpp884 StringRef RegName = in isReadRegisterSourceOfDivergence() local
893 if (RegName.starts_with("vcc") || RegName.empty()) in isReadRegisterSourceOfDivergence()
898 return RegName[0] == 'v' || RegName[0] == 'a'; in isReadRegisterSourceOfDivergence()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1107 bool MatchRegisterByName(MCRegister &RegNo, StringRef RegName, SMLoc StartLoc,
1392 bool X86AsmParser::MatchRegisterByName(MCRegister &RegNo, StringRef RegName, in MatchRegisterByName() argument
1396 RegName.consume_front("%"); in MatchRegisterByName()
1398 RegNo = MatchRegisterName(RegName); in MatchRegisterByName()
1402 RegNo = MatchRegisterName(RegName.lower()); in MatchRegisterByName()
1419 "register %" + RegName + " is only available in 64-bit mode", in MatchRegisterByName()
1429 if (RegNo == 0 && RegName.starts_with("db")) { in MatchRegisterByName()
1430 if (RegName.size() == 3) { in MatchRegisterByName()
1431 switch (RegName[2]) { in MatchRegisterByName()
1463 } else if (RegName.size() == 4 && RegName[2] == '1') { in MatchRegisterByName()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp762 std::ostringstream RegName; in validateTargetOperandClass() local
763 RegName << "r" << RegNum; in validateTargetOperandClass()
764 RegNum = MatchRegisterName(RegName.str()); in validateTargetOperandClass()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.h98 Register getRegisterByName(const char *RegName, LLT VT,
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp45 if (const char *RegName = MRI.getName(*LLVMRegNum)) in print() local
46 return StringRef(RegName); in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.h143 Register getRegisterByName(const char *RegName, LLT VT,
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp884 const char *RegName = SystemZInstPrinter::getRegisterName(RegNo); in printFormattedRegName() local
887 assert(isalpha(RegName[0]) && isdigit(RegName[1])); in printFormattedRegName()
888 OS << (RegName + 1); in printFormattedRegName()
890 OS << '%' << RegName; in printFormattedRegName()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h104 Register getRegisterByName(const char* RegName, LLT VT,

123