Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:LSB

72                               // Starting at first 1 (from lsb).
422 unsigned LSB;
1588 // Munge the lsb/width into a bitfield mask.
1589 unsigned lsb = Bitfield.LSB;
1592 uint32_t Mask = ~(((uint32_t)0xffffffff >> lsb) << (32 - width) >>
1593 (32 - (lsb + width)));
2305 static ARMOperand *CreateBitfield(unsigned LSB, unsigned Width,
2308 Op->Bitfield.LSB = LSB;
2547 OS << "<bitfield " << "lsb: " << Bitfield.LSB
3901 // The bitfield descriptor is really two operands, the LSB and the width.
3917 Error(E, "'lsb' operand must be an immediate");
3921 int64_t LSB = CE->getValue();
3922 // The LSB must be in the range [0,31]
3923 if (LSB < 0 || LSB > 31) {
3924 Error(E, "'lsb' operand must be in the range [0,31]");
3955 // The LSB must be in the range [1,32-lsb]
3956 if (Width < 1 || Width > 32 - LSB) {
3957 Error(E, "'width' operand must be in the range [1,32-lsb]");
3961 Operands.push_back(ARMOperand::CreateBitfield(LSB, Width, S, EndLoc));
5287 // width must be in range [1, 32-lsb]
5288 unsigned lsb = Inst.getOperand(2).getImm();
5290 if (widthm1 >= 32 - lsb)
5292 "bitfield width must be in range [1,32-lsb]");