Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.h152 static const char *stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
153 switch (RegName[0]) { in stripRegisterPrefix()
158 if (RegName[1] == 's') in stripRegisterPrefix()
159 return RegName + 2; in stripRegisterPrefix()
160 return RegName + 1; in stripRegisterPrefix()
161 case 'c': if (RegName[1] == 'r') return RegName + 2; in stripRegisterPrefix()
164 return RegName; in stripRegisterPrefix()
DPPCAsmPrinter.cpp207 const char *RegName = PPCInstPrinter::getRegisterName(MO.getReg()); in printOperand() local
212 RegName = PPCRegisterInfo::stripRegisterPrefix(RegName); in printOperand()
213 O << RegName; in printOperand()
277 const char *RegName; in PrintAsmOperand() local
278 RegName = PPCInstPrinter::getRegisterName(Reg); in PrintAsmOperand()
279 RegName = PPCRegisterInfo::stripRegisterPrefix(RegName); in PrintAsmOperand()
280 O << RegName; in PrintAsmOperand()
303 const char *RegName = "r0"; in PrintAsmMemoryOperand() local
305 RegName = PPCRegisterInfo::stripRegisterPrefix(RegName); in PrintAsmMemoryOperand()
306 O << RegName << ", "; in PrintAsmMemoryOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCInstPrinter.cpp51 const char *RegName = getRegisterName(RegNo); in printRegName() local
52 if (RegName[0] == 'q' /* QPX */) { in printRegName()
56 std::string RN(RegName); in printRegName()
64 OS << RegName; in printRegName()
492 bool PPCInstPrinter::showRegistersWithPercentPrefix(const char *RegName) const { in showRegistersWithPercentPrefix()
496 switch (RegName[0]) { in showRegistersWithPercentPrefix()
547 const char *RegName; in printOperand() local
548 RegName = getVerboseConditionRegName(Reg, MRI.getEncodingValue(Reg)); in printOperand()
549 if (RegName == nullptr) in printOperand()
550 RegName = getRegisterName(Reg); in printOperand()
[all …]
DPPCInstPrinter.h24 bool showRegistersWithPercentPrefix(const char *RegName) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVEISelLowering.cpp75 Register VETargetLowering::getRegisterByName(const char *RegName, LLT VT, in getRegisterByName() argument
77 Register Reg = StringSwitch<Register>(RegName) in getRegisterByName()
DVEISelLowering.h38 Register getRegisterByName(const char *RegName, LLT VT,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/MIRParser/
DMIParser.h103 bool getRegisterByName(StringRef RegName, unsigned &Reg);
182 VRegInfo &getVRegInfoNamed(StringRef RegName);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetMachine.cpp1025 auto parseRegister = [&](const yaml::StringValue &RegName, unsigned &RegVal) { in parseMachineFunctionInfo() argument
1026 if (parseNamedRegisterReference(PFS, RegVal, RegName.Value, Error)) { in parseMachineFunctionInfo()
1027 SourceRange = RegName.SourceRange; in parseMachineFunctionInfo()
1034 auto diagnoseRegisterClass = [&](const yaml::StringValue &RegName) { in parseMachineFunctionInfo() argument
1039 RegName.Value.size(), SourceMgr::DK_Error, in parseMachineFunctionInfo()
1040 "incorrect register class for field", RegName.Value, in parseMachineFunctionInfo()
1042 SourceRange = RegName.SourceRange; in parseMachineFunctionInfo()
DSIISelLowering.h333 Register getRegisterByName(const char* RegName, LLT VT,
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLowering.cpp152 void splitToClassAndName(const std::string &RegName, std::string *SplitRegClass, in splitToClassAndName() argument
156 size_t Pos = RegName.find(Separator); in splitToClassAndName()
159 *SplitRegName = RegName; in splitToClassAndName()
161 *SplitRegClass = RegName.substr(0, Pos); in splitToClassAndName()
162 *SplitRegName = RegName.substr(Pos + SeparatorWidth); in splitToClassAndName()
224 for (const auto &RegName : BadRegNames) in filterTypeToRegisterSet() local
225 StrBuf << " " << RegName; in filterTypeToRegisterSet()
DIceAssemblerMIPS32.cpp164 const char *RegName, const char *InstName) { in encodeRegister() argument
168 RegName); in encodeRegister()
172 IValueT encodeGPRegister(const Operand *OpReg, const char *RegName, in encodeGPRegister() argument
174 return encodeRegister(OpReg, WantGPRegs, RegName, InstName); in encodeGPRegister()
177 IValueT encodeFPRegister(const Operand *OpReg, const char *RegName, in encodeFPRegister() argument
179 return encodeRegister(OpReg, WantFPRegs, RegName, InstName); in encodeFPRegister()
DIceAssemblerARM32.cpp541 const char *RegName, const char *InstName) { in encodeRegister() argument
545 RegName); in encodeRegister()
549 IValueT encodeGPRegister(const Operand *OpReg, const char *RegName, in encodeGPRegister() argument
551 return encodeRegister(OpReg, WantGPRegs, RegName, InstName); in encodeGPRegister()
554 IValueT encodeSRegister(const Operand *OpReg, const char *RegName, in encodeSRegister() argument
556 return encodeRegister(OpReg, WantSRegs, RegName, InstName); in encodeSRegister()
559 IValueT encodeDRegister(const Operand *OpReg, const char *RegName, in encodeDRegister() argument
561 return encodeRegister(OpReg, WantDRegs, RegName, InstName); in encodeDRegister()
564 IValueT encodeQRegister(const Operand *OpReg, const char *RegName, in encodeQRegister() argument
566 return encodeRegister(OpReg, WantQRegs, RegName, InstName); in encodeQRegister()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFExpression.cpp224 if (const char *RegName = MRI->getName(*LLVMRegNum)) { in prettyPrintRegisterOp() local
227 OS << format(" %s%+" PRId64, RegName, Operands[OpNum]); in prettyPrintRegisterOp()
229 OS << ' ' << RegName; in prettyPrintRegisterOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUPALMetadata.cpp575 if (const char *RegName = getRegisterName(Key.getUInt())) { in toString() local
578 KeyName += RegName; in toString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp704 std::ostringstream RegName; in validateTargetOperandClass() local
705 RegName << "r" << RegNum; in validateTargetOperandClass()
706 RegNum = MatchRegisterName(RegName.str().c_str()); in validateTargetOperandClass()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.h93 Register getRegisterByName(const char *RegName, LLT VT,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelLowering.h128 Register getRegisterByName(const char* RegName, LLT VT,
DAVRISelLowering.cpp2008 Register AVRTargetLowering::getRegisterByName(const char *RegName, LLT VT, in getRegisterByName() argument
2013 Reg = StringSwitch<unsigned>(RegName) in getRegisterByName()
2028 Reg = StringSwitch<unsigned>(RegName) in getRegisterByName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.h101 Register getRegisterByName(const char* RegName, LLT VT,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.h154 Register getRegisterByName(const char *RegName, LLT VT,
DRISCVISelLowering.cpp2910 RISCVTargetLowering::getRegisterByName(const char *RegName, LLT VT, in getRegisterByName() argument
2912 Register Reg = MatchRegisterAltName(RegName); in getRegisterByName()
2914 Reg = MatchRegisterName(RegName); in getRegisterByName()
2917 Twine("Invalid register name \"" + StringRef(RegName) + "\".")); in getRegisterByName()
2921 StringRef(RegName) + "\".")); in getRegisterByName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1175 StringRef RegName = Tok.getString(); in ParseRegister() local
1178 "register %" + RegName + " is only available in 64-bit mode", in ParseRegister()
1372 std::string RegName = IsSI ? "ES:(R|E)SI" : "ES:(R|E)DI"; in VerifyAndAdjustOperands() local
1375 "memory operand is only for determining the size, " + RegName + in VerifyAndAdjustOperands()
3081 StringRef RegName = X86IntelInstPrinter::getRegisterName(Src2); in validateInstruction() local
3085 "source register '" + RegName + "' implicitly denotes '" + in validateInstruction()
3086 RegName.take_front(3) + Twine(GroupStart) + "' to '" + in validateInstruction()
3087 RegName.take_front(3) + Twine(GroupEnd) + in validateInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp124 bool PerTargetMIParsingState::getRegisterByName(StringRef RegName, in getRegisterByName() argument
127 auto RegInfo = Names2Regs.find(RegName); in getRegisterByName()
335 VRegInfo &PerFunctionMIParsingState::getVRegInfoNamed(StringRef RegName) { in getVRegInfoNamed() argument
336 assert(RegName != "" && "Expected named reg."); in getVRegInfoNamed()
338 auto I = VRegInfosNamed.insert(std::make_pair(RegName.str(), nullptr)); in getVRegInfoNamed()
341 Info->VReg = MF.getRegInfo().createIncompleteVirtualRegister(RegName); in getVRegInfoNamed()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h233 Register getRegisterByName(const char* RegName, LLT VT,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp3712 auto RegName = [](unsigned Reg) { in print() local
3727 OS << "<ccout " << RegName(getReg()) << ">"; in print()
3770 OS << " base:" << RegName(Memory.BaseRegNum); in print()
3775 << RegName(Memory.OffsetRegNum); in print()
3786 << RegName(PostIdxReg.RegNum); in print()
3802 OS << "<register " << RegName(getReg()) << ">"; in print()
3809 OS << "<so_reg_reg " << RegName(RegShiftedReg.SrcReg) << " " in print()
3811 << RegName(RegShiftedReg.ShiftReg) << ">"; in print()
3814 OS << "<so_reg_imm " << RegName(RegShiftedImm.SrcReg) << " " in print()
3843 OS << RegName(*I); in print()
[all …]

12