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

123

/macosx-10.10.1/llvmCore-3425.0.34/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];
167 reg_iterator reg_begin(unsigned RegNo) const {
168 return reg_iterator(getRegUseDefListHead(RegNo));
[all...]
H A DCallingConvLower.h69 unsigned RegNo, MVT LocVT,
73 Ret.Loc = RegNo;
83 unsigned RegNo, MVT LocVT,
86 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP);
68 getReg(unsigned ValNo, MVT ValVT, unsigned RegNo, MVT LocVT, LocInfo HTP) argument
82 getCustomReg(unsigned ValNo, MVT ValVT, unsigned RegNo, MVT LocVT, LocInfo HTP) argument
/macosx-10.10.1/llvmCore-3425.0.34/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.cpp111 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
179 unsigned RegNo; member in struct:__anon10273::X86Operand::__anon10274::__anon10276
225 return Reg.RegNo;
473 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, argument
476 Res->Reg.RegNo = RegNo;
549 bool X86AsmParser::ParseRegister(unsigned &RegNo, argument
551 RegNo = 0;
567 RegNo = MatchRegisterName(Tok.getString());
570 if (RegNo
932 unsigned RegNo = is64BitMode() ? X86::RBX : X86::EBX; local
1004 unsigned RegNo = 0; local
1026 unsigned RegNo; local
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp102 unsigned RegNo,
107 unsigned RegNo,
112 unsigned RegNo,
117 unsigned RegNo,
122 unsigned RegNo,
127 unsigned RegNo,
137 unsigned RegNo,
147 unsigned RegNo,
330 static unsigned getReg(const void *D, unsigned RC, unsigned RegNo) { argument
332 return *(Dis->getRegInfo()->getRegClass(RC).begin() + RegNo);
335 DecodeCPU64RegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
348 DecodeCPURegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
359 DecodeDSPRegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
366 DecodeFGR64RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
378 DecodeFGR32RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
390 DecodeCCRRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
439 DecodeHWRegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
459 DecodeAFGR64RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
472 DecodeHWRegs64RegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
483 DecodeACRegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decoder) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/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);
/macosx-10.10.1/llvmCore-3425.0.34/lib/MC/
H A DMCInstPrinter.cpp27 void MCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
/macosx-10.10.1/llvmCore-3425.0.34/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;
378 /// getEncodingValue - Returns the encoding for RegNo
[all...]
H A DMCInstPrinter.h58 virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
H A DMCTargetAsmParser.h97 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
/macosx-10.10.1/llvmCore-3425.0.34/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();
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.h73 const char *getName(unsigned RegNo) const {
75 O << "reg" << RegNo; local
/macosx-10.10.1/llvmCore-3425.0.34/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);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/MBlaze/InstPrinter/
H A DMBlazeInstPrinter.h32 static const char *getRegisterName(unsigned RegNo);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/MSP430/InstPrinter/
H A DMSP430InstPrinter.h32 static const char *getRegisterName(unsigned RegNo);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp38 MBlazeOperand *ParseRegister(unsigned &RegNo);
43 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
384 bool MBlazeAsmParser::ParseRegister(unsigned &RegNo, argument
386 return (ParseRegister(RegNo) == 0);
389 MBlazeOperand *MBlazeAsmParser::ParseRegister(unsigned &RegNo) { argument
396 RegNo = MatchRegisterName(getLexer().getTok().getIdentifier());
397 if (RegNo == 0)
401 return MBlazeOperand::CreateReg(RegNo, S, E);
457 unsigned RegNo; local
458 Op = ParseRegister(RegNo);
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/Hexagon/InstPrinter/
H A DHexagonInstPrinter.h32 StringRef getRegName(unsigned RegNo) const;
33 static const char *getRegisterName(unsigned RegNo);
/macosx-10.10.1/llvmCore-3425.0.34/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.cpp36 unsigned RegNo) const {
37 OS << '%' << getRegisterName(RegNo);
H A DX86IntelInstPrinter.cpp30 void X86IntelInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
31 OS << getRegisterName(RegNo);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp49 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
99 unsigned getReg(int RC,int RegNo);
397 unsigned MipsAsmParser::getReg(int RC,int RegNo){ argument
398 return *(getContext().getRegisterInfo().getRegClass(RC).begin() + RegNo);
441 int RegNo = -1; local
446 RegNo = Parser.getTok().getIntVal(); //get the int value
448 if (RegNo == 0)
449 RegNo = Mips::FCC0;
451 RegNo = tryParseRegister(Mnemonic);
452 if (RegNo
613 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) argument
688 int RegNo = op->getReg(); local
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/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 137 milliseconds

123