Lines Matching refs:getImm

392   int64_t getImm() const {  in getImm()  function
453 bool isU1Imm() const { return Kind == Immediate && isUInt<1>(getImm()); } in isU1Imm()
454 bool isU2Imm() const { return Kind == Immediate && isUInt<2>(getImm()); } in isU2Imm()
455 bool isU3Imm() const { return Kind == Immediate && isUInt<3>(getImm()); } in isU3Imm()
456 bool isU4Imm() const { return Kind == Immediate && isUInt<4>(getImm()); } in isU4Imm()
457 bool isU5Imm() const { return Kind == Immediate && isUInt<5>(getImm()); } in isU5Imm()
458 bool isS5Imm() const { return Kind == Immediate && isInt<5>(getImm()); } in isS5Imm()
459 bool isU6Imm() const { return Kind == Immediate && isUInt<6>(getImm()); } in isU6Imm()
461 isUInt<6>(getImm()) && in isU6ImmX2()
462 (getImm() & 1) == 0; } in isU6ImmX2()
463 bool isU7Imm() const { return Kind == Immediate && isUInt<7>(getImm()); } in isU7Imm()
465 isUInt<7>(getImm()) && in isU7ImmX4()
466 (getImm() & 3) == 0; } in isU7ImmX4()
467 bool isU8Imm() const { return Kind == Immediate && isUInt<8>(getImm()); } in isU8Imm()
469 isUInt<8>(getImm()) && in isU8ImmX8()
470 (getImm() & 7) == 0; } in isU8ImmX8()
472 bool isU10Imm() const { return Kind == Immediate && isUInt<10>(getImm()); } in isU10Imm()
473 bool isU12Imm() const { return Kind == Immediate && isUInt<12>(getImm()); } in isU12Imm()
497 (Kind == Immediate && isInt<16>(getImm()) && in isS16ImmX4()
498 (getImm() & 3) == 0); } in isS16ImmX4()
500 (Kind == Immediate && isInt<16>(getImm()) && in isS16ImmX16()
501 (getImm() & 15) == 0); } in isS16ImmX16()
520 if ((getImm() & 3) != 0) in isDirectBr()
522 if (isInt<26>(getImm())) in isDirectBr()
526 if (isUInt<32>(getImm()) && isInt<26>(static_cast<int32_t>(getImm()))) in isDirectBr()
532 (Kind == Immediate && isInt<16>(getImm()) && in isCondBr()
533 (getImm() & 3) == 0); } in isCondBr()
534 bool isRegNumber() const { return Kind == Immediate && isUInt<5>(getImm()); } in isRegNumber()
536 return Kind == Immediate && isUInt<6>(getImm()); in isVSRegNumber()
541 && isUInt<3>(getImm())); } in isCCRegNumber()
545 && isUInt<5>(getImm())); } in isCRBitNumber()
546 bool isCRBitMask() const { return Kind == Immediate && isUInt<8>(getImm()) && in isCRBitMask()
547 isPowerOf2_32(getImm()); } in isCRBitMask()
652 Inst.addOperand(MCOperand::createImm(getImm())); in addImmOperands()
661 Inst.addOperand(MCOperand::createImm(getImm())); in addS16ImmOperands()
676 Inst.addOperand(MCOperand::createImm(getImm())); in addU16ImmOperands()
690 Inst.addOperand(MCOperand::createImm(getImm() / 4)); in addBranchTargetOperands()
805 OS << getImm(); in print()
819 Inst.addOperand(MCOperand::createImm(-Op.getImm())); in addNegOperand()
925 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
926 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
939 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
940 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
953 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
954 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
968 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
969 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
983 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
996 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1009 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1022 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1035 int64_t B = Inst.getOperand(2).getImm(); in ProcessInstruction()
1036 int64_t N = Inst.getOperand(3).getImm(); in ProcessInstruction()
1049 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1050 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
1062 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1063 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
1075 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1076 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
1089 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1101 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1113 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1125 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1137 int64_t B = Inst.getOperand(2).getImm(); in ProcessInstruction()
1138 int64_t N = Inst.getOperand(3).getImm(); in ProcessInstruction()
1150 int64_t BM = Inst.getOperand(3).getImm(); in ProcessInstruction()
1167 int64_t BM = Inst.getOperand(3).getImm(); in ProcessInstruction()
1185 int64_t BM = Inst.getOperand(3).getImm(); in ProcessInstruction()
1979 if (Op.isImm() && Op.getImm() == ImmVal) in validateTargetOperandClass()