Lines Matching refs:RI
28 void MCRegisterInfo_InitMCRegisterInfo(MCRegisterInfo *RI, in MCRegisterInfo_InitMCRegisterInfo() argument
38 RI->Desc = D; in MCRegisterInfo_InitMCRegisterInfo()
39 RI->NumRegs = NR; in MCRegisterInfo_InitMCRegisterInfo()
40 RI->RAReg = RA; in MCRegisterInfo_InitMCRegisterInfo()
41 RI->PCReg = PC; in MCRegisterInfo_InitMCRegisterInfo()
42 RI->Classes = C; in MCRegisterInfo_InitMCRegisterInfo()
43 RI->DiffLists = DL; in MCRegisterInfo_InitMCRegisterInfo()
44 RI->RegStrings = Strings; in MCRegisterInfo_InitMCRegisterInfo()
45 RI->NumClasses = NC; in MCRegisterInfo_InitMCRegisterInfo()
46 RI->RegUnitRoots = RURoots; in MCRegisterInfo_InitMCRegisterInfo()
47 RI->NumRegUnits = NRU; in MCRegisterInfo_InitMCRegisterInfo()
48 RI->SubRegIndices = SubIndices; in MCRegisterInfo_InitMCRegisterInfo()
49 RI->NumSubRegIndices = NumIndices; in MCRegisterInfo_InitMCRegisterInfo()
50 RI->RegEncodingTable = RET; in MCRegisterInfo_InitMCRegisterInfo()
86 unsigned MCRegisterInfo_getMatchingSuperReg(MCRegisterInfo *RI, unsigned Reg, unsigned SubIdx, MCRe… in MCRegisterInfo_getMatchingSuperReg() argument
90 if (Reg >= RI->NumRegs) { in MCRegisterInfo_getMatchingSuperReg()
94 DiffListIterator_init(&iter, (MCPhysReg)Reg, RI->DiffLists + RI->Desc[Reg].SuperRegs); in MCRegisterInfo_getMatchingSuperReg()
99 if (MCRegisterClass_contains(RC, val) && Reg == MCRegisterInfo_getSubReg(RI, val, SubIdx)) in MCRegisterInfo_getMatchingSuperReg()
108 unsigned MCRegisterInfo_getSubReg(MCRegisterInfo *RI, unsigned Reg, unsigned Idx) in MCRegisterInfo_getSubReg() argument
111 uint16_t *SRI = RI->SubRegIndices + RI->Desc[Reg].SubRegIndices; in MCRegisterInfo_getSubReg()
113 DiffListIterator_init(&iter, (MCPhysReg)Reg, RI->DiffLists + RI->Desc[Reg].SubRegs); in MCRegisterInfo_getSubReg()
126 MCRegisterClass* MCRegisterInfo_getRegClass(MCRegisterInfo *RI, unsigned i) in MCRegisterInfo_getRegClass() argument
129 if (i >= RI->NumClasses) in MCRegisterInfo_getRegClass()
131 return &(RI->Classes[i]); in MCRegisterInfo_getRegClass()