Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:LSB

50                               // Starting at first 1 (from lsb).
374 unsigned LSB;
1097 // Munge the lsb/width into a bitfield mask.
1098 unsigned lsb = Bitfield.LSB;
1101 uint32_t Mask = ~(((uint32_t)0xffffffff >> lsb) << (32 - width) >>
1102 (32 - (lsb + width)));
1698 static ARMOperand *CreateBitfield(unsigned LSB, unsigned Width,
1701 Op->Bitfield.LSB = LSB;
1912 OS << "<bitfield " << "lsb: " << Bitfield.LSB
2827 // The bitfield descriptor is really two operands, the LSB and the width.
2842 Error(E, "'lsb' operand must be an immediate");
2846 int64_t LSB = CE->getValue();
2847 // The LSB must be in the range [0,31]
2848 if (LSB < 0 || LSB > 31) {
2849 Error(E, "'lsb' operand must be in the range [0,31]");
2878 // The LSB must be in the range [1,32-lsb]
2879 if (Width < 1 || Width > 32 - LSB) {
2880 Error(E, "'width' operand must be in the range [1,32-lsb]");
2885 Operands.push_back(ARMOperand::CreateBitfield(LSB, Width, S, E));
4298 // width must be in range [1, 32-lsb]
4299 unsigned lsb = Inst.getOperand(2).getImm();
4301 if (widthm1 >= 32 - lsb)
4303 "bitfield width must be in range [1,32-lsb]");