30 unsigned RA,
unsigned PC,
32 uint16_t (*RURoots)[2],
unsigned NRU,
35 const uint16_t *SubIndices,
unsigned NumIndices,
83 return (
d->List != 0);
136 unsigned InByte =
Reg % 8;
139 if (
Byte >=
c->RegSetSize)
142 return (
c->RegSet[
Byte] & (1 << InByte)) != 0;
static uint16_t DiffListIterator_getVal(DiffListIterator *d)
unsigned MCRegisterInfo_getMatchingSuperReg(const MCRegisterInfo *RI, unsigned Reg, unsigned SubIdx, const MCRegisterClass *RC)
static bool DiffListIterator_isValid(DiffListIterator *d)
const MCRegisterClass * MCRegisterInfo_getRegClass(const MCRegisterInfo *RI, unsigned i)
void MCRegisterInfo_InitMCRegisterInfo(MCRegisterInfo *RI, const MCRegisterDesc *D, unsigned NR, unsigned RA, unsigned PC, const MCRegisterClass *C, unsigned NC, uint16_t(*RURoots)[2], unsigned NRU, const MCPhysReg *DL, const char *Strings, const uint16_t *SubIndices, unsigned NumIndices, const uint16_t *RET)
static void DiffListIterator_init(DiffListIterator *d, MCPhysReg InitVal, const MCPhysReg *DiffList)
bool MCRegisterClass_contains(const MCRegisterClass *c, unsigned Reg)
struct DiffListIterator DiffListIterator
static bool DiffListIterator_next(DiffListIterator *d)
unsigned MCRegisterInfo_getSubReg(const MCRegisterInfo *RI, unsigned Reg, unsigned Idx)
#define PC(addr, is_thumb)
const MCRegisterDesc * Desc
const uint16_t * SubRegIndices
const MCRegisterClass * Classes
uint16_t(* RegUnitRoots)[2]
const MCPhysReg * DiffLists
unsigned NumSubRegIndices
const uint16_t * RegEncodingTable