Searched refs:BytesPerReg (Results 1 – 2 of 2) sorted by relevance
112 unsigned BytesPerReg = TRI.getRegSizeInBits(*RC) / 8; in PrintAsmOperand() local113 assert(BytesPerReg <= 2 && "Only 8 and 16 bit regs are supported."); in PrintAsmOperand()115 unsigned RegIdx = ByteNumber / BytesPerReg; in PrintAsmOperand()120 if (BytesPerReg == 2) { in PrintAsmOperand()121 Reg = TRI.getSubReg(Reg, ByteNumber % BytesPerReg ? AVR::sub_hi in PrintAsmOperand()