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

References

include/llvm/ADT/APInt.h
  154       U.VAL &= mask;
  163     return isSingleWord() ? U.VAL : U.pVal[whichWord(bitPosition)];
  281       U.VAL = val;
  323       U.VAL = that.U.VAL;
  323       U.VAL = that.U.VAL;
  345   explicit APInt() : BitWidth(1) { U.VAL = 0; }
  397       return U.VAL == WORDTYPE_MAX >> (APINT_BITS_PER_WORD - BitWidth);
  412       return U.VAL == 1;
  428       return U.VAL == ((WordType(1) << (BitWidth - 1)) - 1);
  444       return U.VAL == (WordType(1) << (BitWidth - 1));
  465       return isPowerOf2_64(U.VAL);
  498       return U.VAL == (WORDTYPE_MAX >> (APINT_BITS_PER_WORD - numBits));
  509       return isMask_64(U.VAL);
  518       return isShiftedMask_64(U.VAL);
  676       return &U.VAL;
  723       return U.VAL == 0;
  737       U.VAL = RHS.U.VAL;
  737       U.VAL = RHS.U.VAL;
  776       U.VAL = RHS;
  794       U.VAL &= RHS.U.VAL;
  794       U.VAL &= RHS.U.VAL;
  807       U.VAL &= RHS;
  824       U.VAL |= RHS.U.VAL;
  824       U.VAL |= RHS.U.VAL;
  837       U.VAL |= RHS;
  854       U.VAL ^= RHS.U.VAL;
  854       U.VAL ^= RHS.U.VAL;
  867       U.VAL ^= RHS;
  908         U.VAL = 0;
  910         U.VAL <<= ShiftAmt;
  956       int64_t SExtVAL = SignExtend64(U.VAL, BitWidth);
  958         U.VAL = SExtVAL >> (APINT_BITS_PER_WORD - 1); // Fill with sign bit.
  960         U.VAL = SExtVAL >> ShiftAmt;
  981         U.VAL = 0;
  983         U.VAL >>= ShiftAmt;
 1136       return U.VAL == RHS.U.VAL;
 1136       return U.VAL == RHS.U.VAL;
 1327       return (U.VAL & RHS.U.VAL) != 0;
 1327       return (U.VAL & RHS.U.VAL) != 0;
 1335       return (U.VAL & ~RHS.U.VAL) == 0;
 1335       return (U.VAL & ~RHS.U.VAL) == 0;
 1395       U.VAL = WORDTYPE_MAX;
 1410       U.VAL |= Mask;
 1431         U.VAL |= mask;
 1457       U.VAL = 0;
 1469       U.VAL &= Mask;
 1489       U.VAL ^= WORDTYPE_MAX;
 1577       return U.VAL;
 1589       return SignExtend64(U.VAL, BitWidth);
 1611       return llvm::countLeadingZeros(U.VAL) - unusedBits;
 1626       return llvm::countLeadingOnes(U.VAL << (APINT_BITS_PER_WORD - BitWidth));
 1646       return std::min(unsigned(llvm::countTrailingZeros(U.VAL)), BitWidth);
 1660       return llvm::countTrailingOnes(U.VAL);
 1672       return llvm::countPopulation(U.VAL);
 1783       return U.VAL - 1;
lib/IR/LLVMContextImpl.h
   65     V.U.VAL = 0;
   71     V.U.VAL = 1;
lib/Support/APInt.cpp
   95     U.VAL = bigVal[0];
  153     U.VAL = RHS.U.VAL;
  153     U.VAL = RHS.U.VAL;
  163     ID.AddInteger(U.VAL);
  175     ++U.VAL;
  184     --U.VAL;
  196     U.VAL += RHS.U.VAL;
  196     U.VAL += RHS.U.VAL;
  204     U.VAL += RHS;
  216     U.VAL -= RHS.U.VAL;
  216     U.VAL -= RHS.U.VAL;
  224     U.VAL -= RHS;
  233     return APInt(BitWidth, U.VAL * RHS.U.VAL);
  233     return APInt(BitWidth, U.VAL * RHS.U.VAL);
  263     U.VAL *= RHS;
  278     return U.VAL < RHS.U.VAL ? -1 : U.VAL > RHS.U.VAL;
  278     return U.VAL < RHS.U.VAL ? -1 : U.VAL > RHS.U.VAL;
  278     return U.VAL < RHS.U.VAL ? -1 : U.VAL > RHS.U.VAL;
  278     return U.VAL < RHS.U.VAL ? -1 : U.VAL > RHS.U.VAL;
  286     int64_t lhsSext = SignExtend64(U.VAL, BitWidth);
  287     int64_t rhsSext = SignExtend64(RHS.U.VAL, BitWidth);
  359     U.VAL &= ~(mask << bitPosition);
  360     U.VAL |= (subBits.U.VAL << bitPosition);
  360     U.VAL |= (subBits.U.VAL << bitPosition);
  372     U.pVal[loWord] |= (subBits.U.VAL << loBit);
  408     U.VAL &= ~(maskBits << bitPosition);
  409     U.VAL |= subBits << bitPosition;
  437     return APInt(numBits, U.VAL >> bitPosition);
  457   uint64_t *DestPtr = Result.isSingleWord() ? &Result.U.VAL : Result.U.pVal;
  477     return (U.VAL >> bitPosition) & maskBits;
  551     return hash_combine(Arg.U.VAL);
  675     return APInt(BitWidth, ByteSwap_16(uint16_t(U.VAL)));
  677     return APInt(BitWidth, ByteSwap_32(unsigned(U.VAL)));
  679     unsigned Tmp1 = unsigned(U.VAL >> 16);
  681     uint16_t Tmp2 = uint16_t(U.VAL);
  686     return APInt(BitWidth, ByteSwap_64(U.VAL));
  701     return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL));
  703     return APInt(BitWidth, llvm::reverseBits<uint32_t>(U.VAL));
  705     return APInt(BitWidth, llvm::reverseBits<uint16_t>(U.VAL));
  707     return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL));
  892     return APInt(Width, SignExtend64(U.VAL, BitWidth));
  916     return APInt(width, U.VAL);
 1091     return APInt(BitWidth, results[ (isSingleWord() ? U.VAL : U.pVal[0]) ]);
 1100                  uint64_t(::round(::sqrt(double(isSingleWord() ? U.VAL
 1581     assert(RHS.U.VAL != 0 && "Divide by zero?");
 1582     return APInt(BitWidth, U.VAL / RHS.U.VAL);
 1582     return APInt(BitWidth, U.VAL / RHS.U.VAL);
 1619     return APInt(BitWidth, U.VAL / RHS);
 1672     assert(RHS.U.VAL != 0 && "Remainder by zero?");
 1673     return APInt(BitWidth, U.VAL % RHS.U.VAL);
 1673     return APInt(BitWidth, U.VAL % RHS.U.VAL);
 1711     return U.VAL % RHS;
 1768     assert(RHS.U.VAL != 0 && "Divide by zero?");
 1769     uint64_t QuotVal = LHS.U.VAL / RHS.U.VAL;
 1769     uint64_t QuotVal = LHS.U.VAL / RHS.U.VAL;
 1770     uint64_t RemVal = LHS.U.VAL % RHS.U.VAL;
 1770     uint64_t RemVal = LHS.U.VAL % RHS.U.VAL;
 1839     uint64_t QuotVal = LHS.U.VAL / RHS;
 1840     Remainder = LHS.U.VAL % RHS;
 2115     U.VAL = 0;