Home | History | Annotate | Download | only in ARM

Lines Matching refs:Imm

86   inline SDValue getI32Imm(unsigned Imm) {
87 return CurDAG->getTargetConstant(Imm, MVT::i32);
189 inline bool is_so_imm(unsigned Imm) const {
190 return ARM_AM::getSOImmVal(Imm) != -1;
193 inline bool is_so_imm_not(unsigned Imm) const {
194 return ARM_AM::getSOImmVal(~Imm) != -1;
197 inline bool is_t2_so_imm(unsigned Imm) const {
198 return ARM_AM::getT2SOImmVal(Imm) != -1;
201 inline bool is_t2_so_imm_not(unsigned Imm) const {
202 return ARM_AM::getT2SOImmVal(~Imm) != -1;
280 /// operand. If so Imm will receive the 32-bit value.
281 static bool isInt32Immediate(SDNode *N, unsigned &Imm) {
283 Imm = cast<ConstantSDNode>(N)->getZExtValue();
290 // If so Imm will receive the 32 bit value.
291 static bool isInt32Immediate(SDValue N, unsigned &Imm) {
292 return isInt32Immediate(N.getNode(), Imm);
297 // If so Imm will receive the 32 bit value.
298 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) {
300 isInt32Immediate(N->getOperand(1).getNode(), Imm);
2299 // The immediate is a mask of the low bits iff imm & (imm+1) == 0
2491 // Selects to ADDri FI, 0 which in turn will become ADDri SP, imm.
2677 // Pattern: (ARMbrcond:void (bb:Other):$dst, (imm:i32):$cc)
2678 // Emits: (Bcc:void (bb:Other):$dst, (imm:i32):$cc)
2681 // Pattern: (ARMbrcond:void (bb:Other):$dst, (imm:i32):$cc)
2682 // Emits: (tBcc:void (bb:Other):$dst, (imm:i32):$cc)
2685 // Pattern: (ARMbrcond:void (bb:Other):$dst, (imm:i32):$cc)
2686 // Emits: (t2Bcc:void (bb:Other):$dst, (imm:i32):$cc)