Home
last modified time | relevance | path

Searched refs:getNumWords (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DAPInt.cpp85 U.pVal = getMemory(getNumWords()); in initSlowCase()
121 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
135 U.pVal = getMemory(getNumWords()); in reallocate()
162 unsigned NumWords = getNumWords(); in Profile()
172 tcIncrement(U.pVal, getNumWords()); in operator ++()
263 unsigned NumWords = getNumWords(); in operator *=()
648 int i = getNumWords() - 1; in countLeadingOnesSlowCase()
668 if (i < getNumWords()) in countTrailingZerosSlowCase()
678 if (i < getNumWords()) in countTrailingOnesSlowCase()
967 (Result.getNumWords() - getNumWords()) * APINT_WORD_SIZE); in sext()
[all …]
H A DAPFloat.cpp771 if (!fill || fill->getNumWords() < numParts) in makeNaN()
775 std::min(fill->getNumWords(), numParts)); in makeNaN()
2480 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
4894 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPInt.h645 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
675 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
1274 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE); in setAllBits()
1351 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1418 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function
1426 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function
1877 U.pVal[getNumWords() - 1] &= mask;
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DVarLenCodeEmitterGen.cpp306 if (!Bits.getNumWords()) { in emitInstBits()
315 for (unsigned I = 0; I < Bits.getNumWords(); ++I, ++Index) in emitInstBits()
382 if (Value.getNumWords()) in emitInstructionBaseValues()
H A DCodeEmitterGen.cpp336 for (unsigned I = 0; I < Bits.getNumWords(); ++I) in emitInstBits()
477 int NumWords = APInt::getNumWords(BitWidth); in run()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineStableHash.cpp84 stable_hash_combine_array(Val.getRawData(), Val.getNumWords()); in stableHashValue()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAbstractBasicWriter.h164 for (size_t i = 0, e = value.getNumWords(); i != e; ++i) in writeAPInt()
H A DAbstractBasicReader.h173 unsigned numWords = llvm::APInt::getNumWords(bitWidth); in readAPInt()
H A DTemplateBase.h320 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
H A DExpr.h1458 bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; } in hasAllocation()
1467 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue()
/llvm-project-15.0.7/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMCCodeEmitter.cpp233 ArrayRef<uint64_t> Data(EncodedInst.getRawData(), EncodedInst.getNumWords()); in encodeInstruction()
/llvm-project-15.0.7/polly/lib/Support/
H A DGICHelper.cpp41 unsigned Words = Abs.getNumWords(); in isl_valFromAPInt()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp463 assert(value.getNumWords() * APInt::APINT_WORD_SIZE >= numBytes); in copyAPIntToArrayForBEmachine()
468 size_t numFilledWords = (value.getNumWords() - 1) * APInt::APINT_WORD_SIZE; in copyAPIntToArrayForBEmachine()
493 assert(result.getNumWords() * APInt::APINT_WORD_SIZE >= numBytes); in copyArrayToAPIntForBEmachine()
500 size_t numFilledWords = (result.getNumWords() - 1) * APInt::APINT_WORD_SIZE; in copyArrayToAPIntForBEmachine()
/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateBase.cpp170 unsigned NumWords = Value.getNumWords(); in TemplateArgument()
H A DExpr.cpp878 unsigned NumWords = Val.getNumWords(); in setIntValue()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCStreamer.cpp145 if (Value.getNumWords() == 1) { in emitIntValue()
/llvm-project-15.0.7/lldb/source/Expression/
H A DDWARFExpression.cpp2145 ap_int.getNumWords()}; in Evaluate()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1927 for (int i = 0, N = Val.getNumWords(); i < N; ++i) { in printConstant()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3766 assert(Range.getLower().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
3767 assert(Range.getUpper().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
/llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp1954 Result = APInt(NumBits, ArrayRef<uint64_t>(A.getRawData(), A.getNumWords())); in getHexUint()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3087 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DAPIntTest.cpp1863 EXPECT_EQ(2u, Y.getNumWords()); in TEST()