Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp76 U.pVal = getClearedMemory(getNumWords()); in initSlowCase()
79 for (unsigned i = 1; i < getNumWords(); ++i) in initSlowCase()
85 U.pVal = getMemory(getNumWords()); in initSlowCase()
86 memcpy(U.pVal, that.U.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
95 U.pVal = getClearedMemory(getNumWords()); in initFromArray()
97 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
121 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
135 U.pVal = getMemory(getNumWords()); in reallocate()
150 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in assignSlowCase()
162 unsigned NumWords = getNumWords(); in Profile()
[all …]
H A DAPFloat.cpp809 if (!fill || fill->getNumWords() < numParts) in makeNaN()
813 std::min(fill->getNumWords(), numParts)); in makeNaN()
2607 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
5168 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPInt.h652 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
682 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
1302 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE); in setAllBits()
1379 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1446 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function
1454 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function
1925 U.pVal[getNumWords() - 1] &= mask;
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DVarLenCodeEmitterGen.cpp331 if (!Bits.getNumWords()) { in emitInstBits()
340 for (unsigned I = 0; I < Bits.getNumWords(); ++I, ++Index) in emitInstBits()
407 if (Value.getNumWords()) in emitInstructionBaseValues()
H A DCodeEmitterGen.cpp375 for (unsigned I = 0; I < Bits.getNumWords(); ++I) in emitInstBits()
516 int NumWords = APInt::getNumWords(BitWidth); in run()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMCCodeEmitter.cpp215 ArrayRef<uint64_t> Data(EncodedInst.getRawData(), EncodedInst.getNumWords()); in encodeInstruction()
/openbsd-src/gnu/llvm/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.h321 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
H A DExpr.h1469 bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; } in hasAllocation()
1478 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineStableHash.cpp84 stable_hash_combine_array(Val.getRawData(), Val.getNumWords()); in stableHashValue()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DTemplateBase.cpp170 unsigned NumWords = Value.getNumWords(); in TemplateArgument()
H A DExpr.cpp961 unsigned NumWords = Val.getNumWords(); in setIntValue()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCStreamer.cpp145 if (Value.getNumWords() == 1) { in emitIntValue()
/openbsd-src/gnu/llvm/lldb/source/Expression/
H A DDWARFExpression.cpp2173 ap_int.getNumWords()}; in Evaluate()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1988 for (int i = 0, N = Val.getNumWords(); i < N; ++i) { in printConstant()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3814 assert(Range.getLower().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
3815 assert(Range.getUpper().getNumWords() == 1); in writeFunctionTypeMetadataRecords()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3262 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp2013 Result = APInt(NumBits, ArrayRef<uint64_t>(A.getRawData(), A.getNumWords())); in getHexUint()