| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APInt.cpp | 76 U.pVal = getMemory(getNumWords()); in initSlowCase() 78 memset(&U.pVal[1], 0xFF, APINT_WORD_SIZE * (getNumWords() - 1)); in initSlowCase() 81 U.pVal = getClearedMemory(getNumWords()); in initSlowCase() 87 U.pVal = getMemory(getNumWords()); in initSlowCase() 88 memcpy(U.pVal, that.U.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase() 97 U.pVal = getClearedMemory(getNumWords()); in initFromArray() 99 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray() 123 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate() 137 U.pVal = getMemory(getNumWords()); in reallocate() 152 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in assignSlowCase() [all …]
|
| H A D | APFloat.cpp | 970 if (!fill || fill->getNumWords() < numParts) in makeNaN() 974 std::min(fill->getNumWords(), numParts)); in makeNaN() 2894 unsigned int partCount = Val.getNumWords(); in convertFromAPInt() 3990 uint64_t last_word = api.getRawData()[api.getNumWords() - 1]; in initFromIEEEAPInt() 5555 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | IntegralAP.h | 65 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getValue() 80 assert(numWords() == V.getNumWords()); in copy() 90 std::memcpy(Memory, V.getRawData(), V.getNumWords() * sizeof(uint64_t)); in copy() 134 assert(APInt::getNumWords(NumBits) == 1); 140 constexpr unsigned numWords() const { return APInt::getNumWords(BitWidth); } in numWords() 339 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in deserialize()
|
| H A D | InterpState.h | 138 unsigned NumWords = APInt::getNumWords(BitWidth); in allocAP() 151 APInt::getNumWords(llvm::APFloatBase::getSizeInBits(Sem)); in allocFloat()
|
| H A D | Floating.h | 105 unsigned numWords() const { return llvm::APInt::getNumWords(bitWidth()); } in numWords() 116 return APInt::getNumWords(llvm::APFloatBase::getSizeInBits(Sem)) == 1; in singleWord() 221 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in deserialize()
|
| H A D | Disasm.cpp | 58 std::make_unique<uint64_t[]>(llvm::APInt::getNumWords(BitWidth)); in printArg() 75 std::make_unique<uint64_t[]>(llvm::APInt::getNumWords(BitWidth)); in printArg() 93 std::make_unique<uint64_t[]>(llvm::APInt::getNumWords(BitWidth)); in printArg()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 664 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE); 694 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE); 1324 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE); in setAllBits() 1400 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits() 1495 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function 1503 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function 1995 U.pVal[getNumWords() - 1] &= mask;
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CodeEmitterGen.cpp | 320 int NumWords = APInt::getNumWords(BitWidth); in getInstructionCases() 393 for (unsigned I = 0; I < Bits.getNumWords(); ++I) in emitInstBits() 558 int NumWords = APInt::getNumWords(BitWidth); in run()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | VarLenCodeEmitterGen.cpp | 335 if (!Bits.getNumWords()) { in emitInstBits() 344 for (unsigned I = 0; I < Bits.getNumWords(); ++I, ++Index) in emitInstBits() 402 if (Value.getNumWords()) in emitInstructionBaseValues()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | AbstractBasicWriter.h | 160 for (size_t i = 0, e = value.getNumWords(); i != e; ++i) in writeAPInt()
|
| H A D | AbstractBasicReader.h | 172 unsigned numWords = llvm::APInt::getNumWords(bitWidth); in readAPInt()
|
| H A D | TemplateBase.h | 372 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineStableHash.cpp | 80 ArrayRef<stable_hash>(Val.getRawData(), Val.getNumWords())); in stableHashValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | StructuralHash.cpp | 71 auto RawVals = ArrayRef<uint64_t>(I.getRawData(), I.getNumWords()); in hashAPInt()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 185 unsigned NumWords = Value.getNumWords(); in initFromIntegral()
|
| H A D | Expr.cpp | 952 unsigned NumWords = Val.getNumWords(); in setIntValue()
|
| /freebsd/contrib/llvm-project/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 1983 ap_int.getNumWords()}; in Evaluate()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCStreamer.cpp | 144 if (Value.getNumWords() == 1) { in emitIntValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86MCInstLower.cpp | 1546 for (int i = 0, N = Val.getNumWords(); i < N; ++i) { in printConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 4278 assert(Range.getLower().getNumWords() == 1); in writeFunctionTypeMetadataRecords() 4279 assert(Range.getUpper().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 2074 Result = APInt(NumBits, ArrayRef<uint64_t>(A.getRawData(), A.getNumWords())); in getHexUint()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3871 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP()
|