reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  310   bool isU1Imm() const { return Kind == Immediate && isUInt<1>(getImm()); }
  311   bool isU2Imm() const { return Kind == Immediate && isUInt<2>(getImm()); }
  312   bool isU3Imm() const { return Kind == Immediate && isUInt<3>(getImm()); }
  313   bool isU4Imm() const { return Kind == Immediate && isUInt<4>(getImm()); }
  314   bool isU5Imm() const { return Kind == Immediate && isUInt<5>(getImm()); }
  315   bool isS5Imm() const { return Kind == Immediate && isInt<5>(getImm()); }
  316   bool isU6Imm() const { return Kind == Immediate && isUInt<6>(getImm()); }
  318                                   isUInt<6>(getImm()) &&
  319                                   (getImm() & 1) == 0; }
  320   bool isU7Imm() const { return Kind == Immediate && isUInt<7>(getImm()); }
  322                                   isUInt<7>(getImm()) &&
  323                                   (getImm() & 3) == 0; }
  324   bool isU8Imm() const { return Kind == Immediate && isUInt<8>(getImm()); }
  326                                   isUInt<8>(getImm()) &&
  327                                   (getImm() & 7) == 0; }
  329   bool isU10Imm() const { return Kind == Immediate && isUInt<10>(getImm()); }
  330   bool isU12Imm() const { return Kind == Immediate && isUInt<12>(getImm()); }
  354                                    (Kind == Immediate && isInt<16>(getImm()) &&
  355                                     (getImm() & 3) == 0); }
  357                                     (Kind == Immediate && isInt<16>(getImm()) &&
  358                                      (getImm() & 15) == 0); }
  377     if ((getImm() & 3) != 0)
  379     if (isInt<26>(getImm()))
  383       if (isUInt<32>(getImm()) && isInt<26>(static_cast<int32_t>(getImm())))
  383       if (isUInt<32>(getImm()) && isInt<26>(static_cast<int32_t>(getImm())))
  389                                  (Kind == Immediate && isInt<16>(getImm()) &&
  390                                   (getImm() & 3) == 0); }
  391   bool isRegNumber() const { return Kind == Immediate && isUInt<5>(getImm()); }
  393     return Kind == Immediate && isUInt<6>(getImm());
  398                                        && isUInt<3>(getImm())); }
  402                                        && isUInt<5>(getImm())); }
  403   bool isCRBitMask() const { return Kind == Immediate && isUInt<8>(getImm()) &&
  404                                     isPowerOf2_32(getImm()); }
  525       Inst.addOperand(MCOperand::createImm(getImm()));
  534         Inst.addOperand(MCOperand::createImm(getImm()));
  549         Inst.addOperand(MCOperand::createImm(getImm()));
  563       Inst.addOperand(MCOperand::createImm(getImm() / 4));
  678     OS << getImm();
 1821   if (Op.isImm() && Op.getImm() == ImmVal)