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

References

include/llvm/ADT/APInt.h
  156       U.pVal[getNumWords() - 1] &= mask;
  780       memset(U.pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
  811     memset(U.pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
 1398       memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE);
 1459       memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2496     int Chunk = API.getNumWords() - 1;
lib/CodeGen/MIRParser/MIParser.cpp
 2663   Result = APInt(NumBits, ArrayRef<uint64_t>(A.getRawData(), A.getNumWords()));
lib/Support/APFloat.cpp
  735   if (!fill || fill->getNumWords() < numParts)
  739                     std::min(fill->getNumWords(), numParts));
 2248   unsigned int partCount = Val.getNumWords();
 4552   SmallVector<uint64_t, 4> parts(result.getNumWords());
lib/Support/APInt.cpp
   78   U.pVal = getClearedMemory(getNumWords());
   81     for (unsigned i = 1; i < getNumWords(); ++i)
   87   U.pVal = getMemory(getNumWords());
   88   memcpy(U.pVal, that.U.pVal, getNumWords() * APINT_WORD_SIZE);
   98     U.pVal = getClearedMemory(getNumWords());
  100     unsigned words = std::min<unsigned>(bigVal.size(), getNumWords());
  126   if (getNumWords() == getNumWords(NewBitWidth)) {
  140     U.pVal = getMemory(getNumWords());
  155     memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE);
  167   unsigned NumWords = getNumWords();
  177     tcIncrement(U.pVal, getNumWords());
  186     tcDecrement(U.pVal, getNumWords());
  198     tcAdd(U.pVal, RHS.U.pVal, 0, getNumWords());
  206     tcAddPart(U.pVal, RHS, getNumWords());
  218     tcSubtract(U.pVal, RHS.U.pVal, 0, getNumWords());
  226     tcSubtractPart(U.pVal, RHS, getNumWords());
  235   APInt Result(getMemory(getNumWords()), getBitWidth());
  237   tcMultiply(Result.U.pVal, U.pVal, RHS.U.pVal, getNumWords());
  244   tcAnd(U.pVal, RHS.U.pVal, getNumWords());
  248   tcOr(U.pVal, RHS.U.pVal, getNumWords());
  252   tcXor(U.pVal, RHS.U.pVal, getNumWords());
  265     unsigned NumWords = getNumWords();
  272   return std::equal(U.pVal, U.pVal + getNumWords(), RHS.U.pVal);
  280   return tcCompare(U.pVal, RHS.U.pVal, getNumWords());
  300   return tcCompare(U.pVal, RHS.U.pVal, getNumWords());
  332   tcComplement(U.pVal, getNumWords());
  454   unsigned NumSrcWords = getNumWords();
  455   unsigned NumDstWords = Result.getNumWords();
  553   return hash_combine_range(Arg.U.pVal, Arg.U.pVal + Arg.getNumWords());
  589   for (int i = getNumWords()-1; i >= 0; --i) {
  613   int i = getNumWords() - 1;
  631   for (; i < getNumWords() && U.pVal[i] == 0; ++i)
  633   if (i < getNumWords())
  641   for (; i < getNumWords() && U.pVal[i] == WORDTYPE_MAX; ++i)
  643   if (i < getNumWords())
  651   for (unsigned i = 0; i < getNumWords(); ++i)
  657   for (unsigned i = 0, e = getNumWords(); i != e; ++i)
  665   for (unsigned i = 0, e = getNumWords(); i != e; ++i)
  688   APInt Result(getNumWords() * APINT_BITS_PER_WORD, 0);
  689   for (unsigned I = 0, N = getNumWords(); I != N; ++I)
  897   std::memcpy(Result.U.pVal, getRawData(), getNumWords() * APINT_WORD_SIZE);
  900   Result.U.pVal[getNumWords() - 1] =
  901       SignExtend64(Result.U.pVal[getNumWords() - 1],
  905   std::memset(Result.U.pVal + getNumWords(), isNegative() ? -1 : 0,
  906               (Result.getNumWords() - getNumWords()) * APINT_WORD_SIZE);
  906               (Result.getNumWords() - getNumWords()) * APINT_WORD_SIZE);
  921   std::memcpy(Result.U.pVal, getRawData(), getNumWords() * APINT_WORD_SIZE);
  924   std::memset(Result.U.pVal + getNumWords(), 0,
  925               (Result.getNumWords() - getNumWords()) * APINT_WORD_SIZE);
  925               (Result.getNumWords() - getNumWords()) * APINT_WORD_SIZE);
  978   unsigned WordsToMove = getNumWords() - WordShift;
  981     U.pVal[getNumWords() - 1] = SignExtend64(
  982         U.pVal[getNumWords() - 1], ((BitWidth - 1) % APINT_BITS_PER_WORD) + 1);
 1016   tcShiftRight(U.pVal, getNumWords(), ShiftAmt);
 1028   tcShiftLeft(U.pVal, getNumWords(), ShiftAmt);
 2117     U.pVal = getClearedMemory(getNumWords());
lib/Target/X86/X86MCInstLower.cpp
 1715     for (int i = 0, N = Val.getNumWords(); i < N; ++i) {
tools/clang/lib/AST/Expr.cpp
  902   unsigned NumWords = Val.getNumWords();
tools/clang/lib/AST/TemplateBase.cpp
   93   unsigned NumWords = Value.getNumWords();
tools/clang/lib/Serialization/ASTWriter.cpp
 5440   Record->append(Words, Words + Value.getNumWords());
tools/polly/lib/Support/GICHelper.cpp
   41   unsigned Words = Abs.getNumWords();
utils/TableGen/CodeEmitterGen.cpp
  342   for (unsigned I = 0; I < Bits.getNumWords(); ++I)