Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp52 const char *RegName = getRegisterName(RegNo); in printRegName() local
53 if (RegName[0] == 'q' /* QPX */) { in printRegName()
57 std::string RN(RegName); in printRegName()
65 OS << RegName; in printRegName()
456 bool PPCInstPrinter::showRegistersWithPercentPrefix(const char *RegName) const { in showRegistersWithPercentPrefix()
460 switch (RegName[0]) { in showRegistersWithPercentPrefix()
504 static const char *stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
505 switch (RegName[0]) { in stripRegisterPrefix()
510 if (RegName[1] == 's') in stripRegisterPrefix()
511 return RegName + 2; in stripRegisterPrefix()
[all …]
DPPCInstPrinter.h25 bool showRegistersWithPercentPrefix(const char *RegName) const;
/external/llvm/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp40 const char *RegName = getRegisterName(RegNo); in printRegName() local
41 if (RegName[0] == 'q' /* QPX */) { in printRegName()
45 std::string RN(RegName); in printRegName()
53 OS << RegName; in printRegName()
414 static const char *stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
416 return RegName; in stripRegisterPrefix()
418 switch (RegName[0]) { in stripRegisterPrefix()
423 if (RegName[1] == 's') in stripRegisterPrefix()
424 return RegName + 2; in stripRegisterPrefix()
425 return RegName + 1; in stripRegisterPrefix()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp235 static const char *stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
236 switch (RegName[0]) { in stripRegisterPrefix()
239 case 'v': return RegName + 1; in stripRegisterPrefix()
240 case 'c': if (RegName[1] == 'r') return RegName + 2; in stripRegisterPrefix()
243 return RegName; in stripRegisterPrefix()
250 const char *RegName = getRegisterName(Op.getReg()); in printOperand() local
253 RegName = stripRegisterPrefix(RegName); in printOperand()
255 O << RegName; in printOperand()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCAsmPrinter.cpp133 static const char *stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
134 switch (RegName[0]) { in stripRegisterPrefix()
137 case 'v': return RegName + 1; in stripRegisterPrefix()
138 case 'c': if (RegName[1] == 'r') return RegName + 2; in stripRegisterPrefix()
141 return RegName; in stripRegisterPrefix()
150 const char *RegName = PPCInstPrinter::getRegisterName(MO.getReg()); in printOperand() local
153 if (!Subtarget.isDarwin()) RegName = stripRegisterPrefix(RegName); in printOperand()
154 O << RegName; in printOperand()
/external/swiftshader/third_party/LLVM/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.cpp77 static void PrintRegName(raw_ostream &O, StringRef RegName) { in PrintRegName() argument
78 for (unsigned i = 0, e = RegName.size(); i != e; ++i) in PrintRegName()
79 O << (char)toupper(RegName[i]); in PrintRegName()
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp150 static const char *stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
151 switch (RegName[0]) { in stripRegisterPrefix()
156 if (RegName[1] == 's') in stripRegisterPrefix()
157 return RegName + 2; in stripRegisterPrefix()
158 return RegName + 1; in stripRegisterPrefix()
159 case 'c': if (RegName[1] == 'r') return RegName + 2; in stripRegisterPrefix()
162 return RegName; in stripRegisterPrefix()
172 const char *RegName = PPCInstPrinter::getRegisterName(MO.getReg()); in printOperand() local
176 RegName = stripRegisterPrefix(RegName); in printOperand()
177 O << RegName; in printOperand()
[all …]
/external/capstone/arch/PowerPC/
DPPCInstPrinter.c627 static char *stripRegisterPrefix(char *RegName) in stripRegisterPrefix() argument
629 switch (RegName[0]) { in stripRegisterPrefix()
633 if (RegName[1] == 's') in stripRegisterPrefix()
634 return RegName + 2; in stripRegisterPrefix()
635 return RegName + 1; in stripRegisterPrefix()
637 if (RegName[1] == 'r') in stripRegisterPrefix()
638 return RegName + 2; in stripRegisterPrefix()
641 return RegName; in stripRegisterPrefix()
651 char *RegName = getRegisterName(reg); in printOperand() local
658 RegName = stripRegisterPrefix(RegName); in printOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp163 static const char *stripRegisterPrefix(const char *RegName) { in stripRegisterPrefix() argument
164 switch (RegName[0]) { in stripRegisterPrefix()
169 if (RegName[1] == 's') in stripRegisterPrefix()
170 return RegName + 2; in stripRegisterPrefix()
171 return RegName + 1; in stripRegisterPrefix()
172 case 'c': if (RegName[1] == 'r') return RegName + 2; in stripRegisterPrefix()
175 return RegName; in stripRegisterPrefix()
200 const char *RegName = PPCInstPrinter::getRegisterName(Reg); in printOperand() local
205 RegName = stripRegisterPrefix(RegName); in printOperand()
206 O << RegName; in printOperand()
[all …]
/external/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFExpression.cpp208 if (const char *RegName = MRI->getName(LLVMRegNum)) { in prettyPrintRegisterOp() local
211 OS << format(" %s%+" PRId64, RegName, Operands[OpNum]); in prettyPrintRegisterOp()
213 OS << ' ' << RegName; in prettyPrintRegisterOp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.h71 VRegInfo &getVRegInfoNamed(StringRef RegName);
DMIParser.cpp101 VRegInfo &PerFunctionMIParsingState::getVRegInfoNamed(StringRef RegName) { in getVRegInfoNamed() argument
102 assert(RegName != "" && "Expected named reg."); in getVRegInfoNamed()
104 auto I = VRegInfosNamed.insert(std::make_pair(RegName.str(), nullptr)); in getVRegInfoNamed()
107 Info->VReg = MF.getRegInfo().createIncompleteVirtualRegister(RegName); in getVRegInfoNamed()
297 bool getRegisterByName(StringRef RegName, unsigned &Reg);
2566 bool MIParser::getRegisterByName(StringRef RegName, unsigned &Reg) { in getRegisterByName() argument
2568 auto RegInfo = Names2Regs.find(RegName); in getRegisterByName()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp684 std::ostringstream RegName; in validateTargetOperandClass() local
685 RegName << "r" << RegNum; in validateTargetOperandClass()
686 RegNum = MatchRegisterName(RegName.str().c_str()); in validateTargetOperandClass()
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp772 static unsigned getSpecialRegForName(StringRef RegName) { in getSpecialRegForName() argument
773 return StringSwitch<unsigned>(RegName) in getSpecialRegForName()
829 StringRef RegName = Parser.getTok().getString(); in ParseAMDGPURegister() local
830 if ((Reg = getSpecialRegForName(RegName))) { in ParseAMDGPURegister()
835 if (RegName[0] == 'v') { in ParseAMDGPURegister()
838 } else if (RegName[0] == 's') { in ParseAMDGPURegister()
841 } else if (RegName.startswith("ttmp")) { in ParseAMDGPURegister()
847 if (RegName.size() > RegNumIndex) { in ParseAMDGPURegister()
849 if (RegName.substr(RegNumIndex).getAsInteger(10, RegNum)) in ParseAMDGPURegister()
/external/llvm/lib/Target/Lanai/
DLanaiISelLowering.h94 unsigned getRegisterByName(const char *RegName, EVT VT,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.h94 unsigned getRegisterByName(const char *RegName, EVT VT,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
DAVRISelLowering.h127 unsigned getRegisterByName(const char* RegName, EVT VT,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcISelLowering.h105 unsigned getRegisterByName(const char* RegName, EVT VT,
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.h105 unsigned getRegisterByName(const char* RegName, EVT VT,
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.h123 unsigned getRegisterByName(const char* RegName, EVT VT,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1305 std::string RegName = IsSI ? "ES:(R|E)SI" : "ES:(R|E)DI"; in VerifyAndAdjustOperands() local
1308 "memory operand is only for determining the size, " + RegName + in VerifyAndAdjustOperands()
2828 StringRef RegName = X86IntelInstPrinter::getRegisterName(Src2); in validateInstruction() local
2832 "source register '" + RegName + "' implicitly denotes '" + in validateInstruction()
2833 RegName.take_front(3) + Twine(GroupStart) + "' to '" + in validateInstruction()
2834 RegName.take_front(3) + Twine(GroupEnd) + in validateInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1595 static unsigned getSpecialRegForName(StringRef RegName) { in getSpecialRegForName() argument
1596 return StringSwitch<unsigned>(RegName) in getSpecialRegForName()
1686 StringRef RegName = Parser.getTok().getString(); in ParseAMDGPURegister() local
1687 if ((Reg = getSpecialRegForName(RegName))) { in ParseAMDGPURegister()
1692 if (RegName[0] == 'v') { in ParseAMDGPURegister()
1695 } else if (RegName[0] == 's') { in ParseAMDGPURegister()
1698 } else if (RegName.startswith("ttmp")) { in ParseAMDGPURegister()
1704 if (RegName.size() > RegNumIndex) { in ParseAMDGPURegister()
1706 if (RegName.substr(RegNumIndex).getAsInteger(10, RegNum)) in ParseAMDGPURegister()

123