| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APInt.cpp | 85 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 D | APFloat.cpp | 771 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 D | APInt.h | 645 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 D | VarLenCodeEmitterGen.cpp | 306 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 D | CodeEmitterGen.cpp | 336 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 D | MachineStableHash.cpp | 84 stable_hash_combine_array(Val.getRawData(), Val.getNumWords()); in stableHashValue()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | AbstractBasicWriter.h | 164 for (size_t i = 0, e = value.getNumWords(); i != e; ++i) in writeAPInt()
|
| H A D | AbstractBasicReader.h | 173 unsigned numWords = llvm::APInt::getNumWords(bitWidth); in readAPInt()
|
| H A D | TemplateBase.h | 320 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
|
| H A D | Expr.h | 1458 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 D | M68kMCCodeEmitter.cpp | 233 ArrayRef<uint64_t> Data(EncodedInst.getRawData(), EncodedInst.getNumWords()); in encodeInstruction()
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | GICHelper.cpp | 41 unsigned Words = Abs.getNumWords(); in isl_valFromAPInt()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinAttributes.cpp | 463 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 D | TemplateBase.cpp | 170 unsigned NumWords = Value.getNumWords(); in TemplateArgument()
|
| H A D | Expr.cpp | 878 unsigned NumWords = Val.getNumWords(); in setIntValue()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCStreamer.cpp | 145 if (Value.getNumWords() == 1) { in emitIntValue()
|
| /llvm-project-15.0.7/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 2145 ap_int.getNumWords()}; in Evaluate()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86MCInstLower.cpp | 1927 for (int i = 0, N = Val.getNumWords(); i < N; ++i) { in printConstant()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3766 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 D | MIParser.cpp | 1954 Result = APInt(NumBits, ArrayRef<uint64_t>(A.getRawData(), A.getNumWords())); in getHexUint()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3087 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 1863 EXPECT_EQ(2u, Y.getNumWords()); in TEST()
|