Searched refs:RegNo (Results 1 - 25 of 55) sorted by relevance

123

/external/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h62 MachineOperand *&getRegUseDefListHead(unsigned RegNo) { argument
63 if (TargetRegisterInfo::isVirtualRegister(RegNo))
64 return VRegInfo[RegNo].second;
65 return PhysRegUseDefLists[RegNo];
68 MachineOperand *getRegUseDefListHead(unsigned RegNo) const {
69 if (TargetRegisterInfo::isVirtualRegister(RegNo))
70 return VRegInfo[RegNo].second;
71 return PhysRegUseDefLists[RegNo];
170 reg_iterator reg_begin(unsigned RegNo) const {
171 return reg_iterator(getRegUseDefListHead(RegNo));
[all...]
H A DCallingConvLower.h68 unsigned RegNo, MVT LocVT,
72 Ret.Loc = RegNo;
82 unsigned RegNo, MVT LocVT,
85 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP);
67 getReg(unsigned ValNo, MVT ValVT, unsigned RegNo, MVT LocVT, LocInfo HTP) argument
81 getCustomReg(unsigned ValNo, MVT ValVT, unsigned RegNo, MVT LocVT, LocInfo HTP) argument
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmLexer.cpp105 int RegNo = -1; local
107 case '0': RegNo = X86::DR0; break;
108 case '1': RegNo = X86::DR1; break;
109 case '2': RegNo = X86::DR2; break;
110 case '3': RegNo = X86::DR3; break;
111 case '4': RegNo = X86::DR4; break;
112 case '5': RegNo = X86::DR5; break;
113 case '6': RegNo = X86::DR6; break;
114 case '7': RegNo = X86::DR7; break;
117 if (RegNo !
[all...]
H A DX86AsmParser.cpp115 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
181 unsigned RegNo; member in struct:__anon8982::X86Operand::__anon8983::__anon8985
222 return Reg.RegNo;
451 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) { argument
453 Res->Reg.RegNo = RegNo;
521 bool X86AsmParser::ParseRegister(unsigned &RegNo, argument
523 RegNo = 0;
539 RegNo = MatchRegisterName(Tok.getString());
542 if (RegNo
782 unsigned RegNo = 0; local
799 unsigned RegNo; local
[all...]
/external/llvm/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp102 unsigned RegNo,
107 unsigned RegNo,
112 unsigned RegNo,
117 unsigned RegNo,
122 unsigned RegNo,
132 unsigned RegNo,
320 static unsigned getReg(const void *D, unsigned RC, unsigned RegNo) { argument
322 return *(Dis->getRegInfo()->getRegClass(RC).begin() + RegNo);
326 unsigned RegNo,
330 if (RegNo > 3
325 DecodeCPU64RegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
338 DecodeCPURegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
349 DecodeFGR64RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
361 DecodeFGR32RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
373 DecodeCCRRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
422 DecodeHWRegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
442 DecodeAFGR64RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
455 DecodeHWRegs64RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
[all...]
/external/llvm/lib/Target/PowerPC/InstPrinter/
H A DPPCInstPrinter.cpp26 void PPCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
27 OS << getRegisterName(RegNo);
92 unsigned RegNo; local
95 case PPC::CR0: RegNo = 0; break;
96 case PPC::CR1: RegNo = 1; break;
97 case PPC::CR2: RegNo = 2; break;
98 case PPC::CR3: RegNo = 3; break;
99 case PPC::CR4: RegNo = 4; break;
100 case PPC::CR5: RegNo = 5; break;
101 case PPC::CR6: RegNo
196 unsigned RegNo; local
[all...]
H A DPPCInstPrinter.h35 virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
40 static const char *getRegisterName(unsigned RegNo);
/external/llvm/lib/MC/
H A DMCInstPrinter.cpp27 void MCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
/external/llvm/include/llvm/MC/
H A DMCRegisterInfo.h296 const MCRegisterDesc &operator[](unsigned RegNo) const {
297 assert(RegNo < NumRegs &&
299 return Desc[RegNo];
305 const MCRegisterDesc &get(unsigned RegNo) const {
306 return operator[](RegNo);
310 /// for physical register RegNo. Return zero if the sub-register does not
322 unsigned getSubRegIndex(unsigned RegNo, unsigned SubRegNo) const;
326 const char *getName(unsigned RegNo) const {
327 return RegStrings + get(RegNo).Name;
371 /// getEncodingValue - Returns the encoding for RegNo
[all...]
H A DMCInstPrinter.h58 virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
H A DMCTargetAsmParser.h50 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
/external/llvm/lib/Target/Mips/InstPrinter/
H A DMipsInstPrinter.h86 static const char *getRegisterName(unsigned RegNo);
88 virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
H A DMipsInstPrinter.cpp66 void MipsInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
67 OS << '$' << StringRef(getRegisterName(RegNo)).lower();
/external/llvm/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.h73 const char *getName(unsigned RegNo) const {
75 O << "reg" << RegNo; local
/external/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.h64 unsigned RegNo = MO.getReg(); local
65 assert(TargetRegisterInfo::isPhysicalRegister(RegNo) && "Not physreg??");
66 O << getRegisterName(RegNo);
156 static const char *getRegisterName(unsigned RegNo);
/external/llvm/lib/Target/MBlaze/InstPrinter/
H A DMBlazeInstPrinter.h32 static const char *getRegisterName(unsigned RegNo);
/external/llvm/lib/Target/MSP430/InstPrinter/
H A DMSP430InstPrinter.h32 static const char *getRegisterName(unsigned RegNo);
/external/llvm/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp38 MBlazeOperand *ParseRegister(unsigned &RegNo);
43 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
390 bool MBlazeAsmParser::ParseRegister(unsigned &RegNo, argument
392 return (ParseRegister(RegNo) == 0);
395 MBlazeOperand *MBlazeAsmParser::ParseRegister(unsigned &RegNo) { argument
402 RegNo = MatchRegisterName(getLexer().getTok().getIdentifier());
403 if (RegNo == 0)
407 return MBlazeOperand::CreateReg(RegNo, S, E);
463 unsigned RegNo; local
464 Op = ParseRegister(RegNo);
[all...]
/external/llvm/lib/Target/Hexagon/InstPrinter/
H A DHexagonInstPrinter.h32 StringRef getRegName(unsigned RegNo) const;
33 static const char *getRegisterName(unsigned RegNo);
/external/llvm/lib/Target/X86/InstPrinter/
H A DX86ATTInstPrinter.h29 virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
38 static const char *getRegisterName(unsigned RegNo);
H A DX86IntelInstPrinter.h30 virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
35 static const char *getRegisterName(unsigned RegNo);
H A DX86ATTInstPrinter.cpp35 unsigned RegNo) const {
36 OS << '%' << getRegisterName(RegNo);
H A DX86IntelInstPrinter.cpp29 void X86IntelInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
30 OS << getRegisterName(RegNo);
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
102 unsigned getReg(int RC,int RegNo);
412 unsigned MipsAsmParser::getReg(int RC,int RegNo){ argument
413 return *(getContext().getRegisterInfo().getRegClass(RC).begin() + RegNo);
456 int RegNo = -1; local
461 RegNo = Parser.getTok().getIntVal(); //get the int value
463 if (RegNo == 0)
464 RegNo = Mips::FCC0;
466 RegNo = tryParseRegister(Mnemonic);
467 if (RegNo
628 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
703 int RegNo = op->getReg(); local
[all...]
/external/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp189 unsigned getSlot(unsigned RegNo) const {
190 assert(RegNo < NumFPRegs && "Regno out of range!");
191 return RegMap[RegNo];
194 /// isLive - Is RegNo currently live in the stack?
195 bool isLive(unsigned RegNo) const {
196 unsigned Slot = getSlot(RegNo);
197 return Slot < StackTop && Stack[Slot] == RegNo;
208 /// isScratchReg - Returns trus if RegNo is a scratch FP register.
209 bool isScratchReg(unsigned RegNo) {
210 return RegNo >
[all...]

Completed in 1640 milliseconds

123