/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 …]
|
D | PPCISelLowering.h | 562 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/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/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/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,
|
D | LanaiISelLowering.cpp | 200 unsigned LanaiTargetLowering::getRegisterByName(const char *RegName, EVT VT, in getRegisterByName() argument 203 unsigned Reg = StringSwitch<unsigned>(RegName) in getRegisterByName()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.h | 123 unsigned getRegisterByName(const char* RegName, EVT VT,
|
D | SIISelLowering.cpp | 1029 unsigned SITargetLowering::getRegisterByName(const char* RegName, EVT VT, in getRegisterByName() argument 1031 unsigned Reg = StringSwitch<unsigned>(RegName) in getRegisterByName() 1043 + StringRef(RegName) + "\".")); in getRegisterByName() 1050 + StringRef(RegName) + "\" for subtarget.")); in getRegisterByName() 1072 + StringRef(RegName) + "\".")); in getRegisterByName()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.h | 105 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/abi-dumper/ |
D | abi-dumper.pl | 360 my %RegName; 4367 $Reg = $RegName{$R}; 4374 $Reg = $RegName{$1}; 5047 %RegName = ( 5109 %RegName = ( 5191 %RegName = (
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 691 virtual bool validateGlobalRegisterVariable(StringRef RegName, in validateGlobalRegisterVariable() argument
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | AsmMatcherEmitter.cpp | 812 StringRef RegName = Tok.substr(Info.RegisterPrefix.size()); in getSingletonRegisterForAsmOperand() local 813 if (const CodeGenRegister *Reg = Info.Target.getRegisterByName(RegName)) in getSingletonRegisterForAsmOperand() 823 std::string Err = "unable to find register for '" + RegName.str() + in getSingletonRegisterForAsmOperand()
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIParser.cpp | 210 bool getRegisterByName(StringRef RegName, unsigned &Reg); 1879 bool MIParser::getRegisterByName(StringRef RegName, unsigned &Reg) { in getRegisterByName() argument 1881 auto RegInfo = Names2Regs.find(RegName); in getRegisterByName()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 531 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 274 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 574 unsigned getRegisterByName(const char* RegName, EVT VT,
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 2640 bool validateGlobalRegisterVariable(StringRef RegName, in validateGlobalRegisterVariable() argument 2645 if (RegName.equals("esp") || RegName.equals("ebp")) { in validateGlobalRegisterVariable() 4385 bool validateGlobalRegisterVariable(StringRef RegName, in validateGlobalRegisterVariable() argument 4390 if (RegName.equals("rsp") || RegName.equals("rbp")) { in validateGlobalRegisterVariable() 4397 return X86TargetInfo::validateGlobalRegisterVariable(RegName, RegSize, in validateGlobalRegisterVariable()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 954 unsigned getRegisterByName(const char* RegName, EVT VT,
|