Home
last modified time | relevance | path

Searched refs:BytesPerReg (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/lib/Target/AVR/
DAVRAsmPrinter.cpp112 unsigned BytesPerReg = TRI.getRegSizeInBits(*RC) / 8; in PrintAsmOperand() local
113 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRAsmPrinter.cpp112 unsigned BytesPerReg = TRI.getRegSizeInBits(*RC) / 8; in PrintAsmOperand() local
113 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()