• Home
  • Raw
  • Download

Lines Matching refs:getImm

246   int64_t getImm() const {  in getImm()  function
317 bool isU1Imm() const { return Kind == Immediate && isUInt<1>(getImm()); } in isU1Imm()
318 bool isU2Imm() const { return Kind == Immediate && isUInt<2>(getImm()); } in isU2Imm()
319 bool isU3Imm() const { return Kind == Immediate && isUInt<3>(getImm()); } in isU3Imm()
320 bool isU4Imm() const { return Kind == Immediate && isUInt<4>(getImm()); } in isU4Imm()
321 bool isU5Imm() const { return Kind == Immediate && isUInt<5>(getImm()); } in isU5Imm()
322 bool isS5Imm() const { return Kind == Immediate && isInt<5>(getImm()); } in isS5Imm()
323 bool isU6Imm() const { return Kind == Immediate && isUInt<6>(getImm()); } in isU6Imm()
325 isUInt<6>(getImm()) && in isU6ImmX2()
326 (getImm() & 1) == 0; } in isU6ImmX2()
327 bool isU7Imm() const { return Kind == Immediate && isUInt<7>(getImm()); } in isU7Imm()
329 isUInt<7>(getImm()) && in isU7ImmX4()
330 (getImm() & 3) == 0; } in isU7ImmX4()
331 bool isU8Imm() const { return Kind == Immediate && isUInt<8>(getImm()); } in isU8Imm()
333 isUInt<8>(getImm()) && in isU8ImmX8()
334 (getImm() & 7) == 0; } in isU8ImmX8()
336 bool isU10Imm() const { return Kind == Immediate && isUInt<10>(getImm()); } in isU10Imm()
337 bool isU12Imm() const { return Kind == Immediate && isUInt<12>(getImm()); } in isU12Imm()
361 (Kind == Immediate && isInt<16>(getImm()) && in isS16ImmX4()
362 (getImm() & 3) == 0); } in isS16ImmX4()
364 (Kind == Immediate && isInt<16>(getImm()) && in isS16ImmX16()
365 (getImm() & 15) == 0); } in isS16ImmX16()
368 (Kind == Immediate && isInt<34>(getImm()) && (getImm() & 15) == 0); in isS34ImmX16()
373 return Kind == Expression || (Kind == Immediate && isInt<34>(getImm())); in isS34Imm()
394 if ((getImm() & 3) != 0) in isDirectBr()
396 if (isInt<26>(getImm())) in isDirectBr()
400 if (isUInt<32>(getImm()) && isInt<26>(static_cast<int32_t>(getImm()))) in isDirectBr()
406 (Kind == Immediate && isInt<16>(getImm()) && in isCondBr()
407 (getImm() & 3) == 0); } in isCondBr()
408 bool isImmZero() const { return Kind == Immediate && getImm() == 0; } in isImmZero()
409 bool isRegNumber() const { return Kind == Immediate && isUInt<5>(getImm()); } in isRegNumber()
411 return Kind == Immediate && isUInt<3>(getImm()); in isACCRegNumber()
414 return Kind == Immediate && isUInt<6>(getImm()) && ((getImm() & 1) == 0); in isVSRpEvenRegNumber()
417 return Kind == Immediate && isUInt<6>(getImm()); in isVSRegNumber()
422 && isUInt<3>(getImm())); } in isCCRegNumber()
426 && isUInt<5>(getImm())); } in isCRBitNumber()
427 bool isCRBitMask() const { return Kind == Immediate && isUInt<8>(getImm()) && in isCRBitMask()
428 isPowerOf2_32(getImm()); } in isCRBitMask()
549 Inst.addOperand(MCOperand::createImm(getImm())); in addImmOperands()
558 Inst.addOperand(MCOperand::createImm(getImm())); in addS16ImmOperands()
573 Inst.addOperand(MCOperand::createImm(getImm())); in addU16ImmOperands()
587 Inst.addOperand(MCOperand::createImm(getImm() / 4)); in addBranchTargetOperands()
703 OS << getImm(); in print()
717 Inst.addOperand(MCOperand::createImm(-Op.getImm())); in addNegOperand()
846 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
847 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
860 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
861 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
874 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
875 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
889 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
890 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
904 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
917 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
930 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
943 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
956 int64_t B = Inst.getOperand(2).getImm(); in ProcessInstruction()
957 int64_t N = Inst.getOperand(3).getImm(); in ProcessInstruction()
970 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
971 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
983 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
984 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
996 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
997 int64_t B = Inst.getOperand(3).getImm(); in ProcessInstruction()
1010 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1022 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1033 int64_t N = Inst.getOperand(1).getImm(); in ProcessInstruction()
1043 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1055 int64_t N = Inst.getOperand(2).getImm(); in ProcessInstruction()
1067 int64_t B = Inst.getOperand(2).getImm(); in ProcessInstruction()
1068 int64_t N = Inst.getOperand(3).getImm(); in ProcessInstruction()
1080 int64_t BM = Inst.getOperand(3).getImm(); in ProcessInstruction()
1097 int64_t BM = Inst.getOperand(3).getImm(); in ProcessInstruction()
1115 int64_t BM = Inst.getOperand(3).getImm(); in ProcessInstruction()
1753 if (Op.isImm() && Op.getImm() == ImmVal) in validateTargetOperandClass()