Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp77 U.pVal = getClearedMemory(getNumWords()); in initSlowCase()
80 for (unsigned i = 1; i < getNumWords(); ++i) in initSlowCase()
86 U.pVal = getMemory(getNumWords()); in initSlowCase()
87 memcpy(U.pVal, that.U.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
96 U.pVal = getClearedMemory(getNumWords()); in initFromArray()
98 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
122 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
136 U.pVal = getMemory(getNumWords()); in reallocate()
151 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in assignSlowCase()
163 unsigned NumWords = getNumWords(); in Profile()
[all …]
H A DAPFloat.cpp937 if (!fill || fill->getNumWords() < numParts) in makeNaN()
941 std::min(fill->getNumWords(), numParts)); in makeNaN()
2792 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
3833 uint64_t last_word = api.getRawData()[api.getNumWords() - 1]; in initFromIEEEAPInt()
5368 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h644 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
674 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
1304 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE); in setAllBits()
1381 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1455 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function
1463 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function
1947 U.pVal[getNumWords() - 1] &= mask;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp317 int NumWords = APInt::getNumWords(BitWidth); in getInstructionCases()
390 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 DVarLenCodeEmitterGen.cpp335 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/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMCCodeEmitter.cpp239 ArrayRef<uint64_t> Data(EncodedInst.getRawData(), EncodedInst.getNumWords());
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h161 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.h371 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineStableHash.cpp81 stable_hash_combine_array(Val.getRawData(), Val.getNumWords()); in stableHashValue()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp189 unsigned NumWords = Value.getNumWords(); in initFromIntegral()
H A DExpr.cpp955 unsigned NumWords = Val.getNumWords(); in setIntValue()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp144 if (Value.getNumWords() == 1) { in emitIntValue()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp1908 ap_int.getNumWords()}; in Evaluate()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1552 for (int i = 0, N = Val.getNumWords(); i < N; ++i) { in printConstant()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4045 assert(Range.getLower().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
4046 assert(Range.getUpper().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp2065 Result = APInt(NumBits, ArrayRef<uint64_t>(A.getRawData(), A.getNumWords())); in getHexUint()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3520 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP()