Lines Matching defs:Imm
191 /// operand. If so Imm will receive the 32-bit value.
192 static bool isIntImmediate(const SDNode *N, uint64_t &Imm) {
194 Imm = C->getZExtValue();
201 // If so Imm will receive the value.
202 static bool isIntImmediate(SDValue N, uint64_t &Imm) {
203 return isIntImmediate(N.getNode(), Imm);
208 // If so Imm will receive the 32 bit value.
210 uint64_t &Imm) {
212 isIntImmediate(N->getOperand(1).getNode(), Imm);
1592 uint64_t Imm =
1594 Imm = AArch64_AM::decodeLogicalImmediate(Imm, UsefulBits.getBitWidth());
1595 UsefulBits &= APInt(UsefulBits.getBitWidth(), Imm);
1600 uint64_t Imm, uint64_t MSB,
1606 if (MSB >= Imm) {
1607 OpUsefulBits = OpUsefulBits.shl(MSB - Imm + 1);
1611 // The interesting part was starting at Imm in the argument
1612 OpUsefulBits = OpUsefulBits.shl(Imm);
1617 OpUsefulBits = OpUsefulBits.shl(OpUsefulBits.getBitWidth() - Imm);
1620 OpUsefulBits = OpUsefulBits.lshr(OpUsefulBits.getBitWidth() - Imm);
1628 uint64_t Imm =
1633 getUsefulBitsFromBitfieldMoveOpd(Op, UsefulBits, Imm, MSB, Depth);
1666 uint64_t Imm =
1672 return getUsefulBitsFromBitfieldMoveOpd(Op, UsefulBits, Imm, MSB, Depth);
1677 if (MSB >= Imm) {
1678 OpUsefulBits = OpUsefulBits.shl(MSB - Imm + 1);
1685 UsefulBits = ~(OpUsefulBits.shl(OpUsefulBits.getBitWidth() - Imm));
1908 uint64_t Imm;
1909 if (isOpcWithIntImmediate(OrOpd1, ISD::AND, Imm) &&
1910 isBitfieldDstMask(Imm, BitsToBeInserted, NumberOfIgnoredHighBits, VT))