/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/InstPrinter/ |
D | PPCInstPrinter.cpp | 52 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 …]
|
D | PPCInstPrinter.h | 25 bool showRegistersWithPercentPrefix(const char *RegName) const;
|
/external/llvm/lib/Target/PowerPC/InstPrinter/ |
D | PPCInstPrinter.cpp | 40 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/ |
D | PPCInstPrinter.cpp | 235 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/ |
D | PPCAsmPrinter.cpp | 133 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/ |
D | X86IntelInstPrinter.cpp | 77 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/ |
D | PPCAsmPrinter.cpp | 150 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/ |
D | PPCInstPrinter.c | 627 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/ |
D | PPCAsmPrinter.cpp | 163 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/ |
D | IceTargetLowering.cpp | 152 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()
|
D | IceAssemblerMIPS32.cpp | 164 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()
|
D | IceAssemblerARM32.cpp | 541 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/ |
D | DWARFExpression.cpp | 208 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/ |
D | MIParser.h | 71 VRegInfo &getVRegInfoNamed(StringRef RegName);
|
D | MIParser.cpp | 101 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/ |
D | AVRAsmParser.cpp | 684 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/ |
D | AMDGPUAsmParser.cpp | 772 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/ |
D | LanaiISelLowering.h | 94 unsigned getRegisterByName(const char *RegName, EVT VT,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.h | 94 unsigned getRegisterByName(const char *RegName, EVT VT,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
D | AVRISelLowering.h | 127 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.h | 105 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.h | 105 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.h | 123 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 1305 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/ |
D | AMDGPUAsmParser.cpp | 1595 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()
|