Home
last modified time | relevance | path

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

12

/external/llvm/lib/Support/
DAPInt.cpp79 pVal = getClearedMemory(getNumWords()); in initSlowCase()
82 for (unsigned i = 1; i < getNumWords(); ++i) in initSlowCase()
87 pVal = getMemory(getNumWords()); in initSlowCase()
88 memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
98 pVal = getClearedMemory(getNumWords()); in initFromArray()
100 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
132 memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
140 pVal = getMemory(RHS.getNumWords()); in AssignSlowCase()
141 memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
142 } else if (getNumWords() == RHS.getNumWords()) in AssignSlowCase()
[all …]
DAPFloat.cpp632 if (!fill || fill->getNumWords() < numParts) in makeNaN()
636 std::min(fill->getNumWords(), numParts)); in makeNaN()
2250 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
2297 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp79 pVal = getClearedMemory(getNumWords()); in initSlowCase()
82 for (unsigned i = 1; i < getNumWords(); ++i) in initSlowCase()
87 pVal = getMemory(getNumWords()); in initSlowCase()
88 memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
98 pVal = getClearedMemory(getNumWords()); in initFromArray()
100 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
132 memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
140 pVal = getMemory(RHS.getNumWords()); in AssignSlowCase()
141 memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
142 } else if (getNumWords() == RHS.getNumWords()) in AssignSlowCase()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp78 U.pVal = getClearedMemory(getNumWords()); in initSlowCase()
81 for (unsigned i = 1; i < getNumWords(); ++i) in initSlowCase()
87 U.pVal = getMemory(getNumWords()); in initSlowCase()
88 memcpy(U.pVal, that.U.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
98 U.pVal = getClearedMemory(getNumWords()); in initFromArray()
100 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
126 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
140 U.pVal = getMemory(getNumWords()); in reallocate()
155 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
167 unsigned NumWords = getNumWords(); in Profile()
[all …]
DAPFloat.cpp749 if (!fill || fill->getNumWords() < numParts) in makeNaN()
753 std::min(fill->getNumWords(), numParts)); in makeNaN()
2266 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
4594 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
/external/llvm-project/llvm/lib/Support/
DAPInt.cpp78 U.pVal = getClearedMemory(getNumWords()); in initSlowCase()
81 for (unsigned i = 1; i < getNumWords(); ++i) in initSlowCase()
87 U.pVal = getMemory(getNumWords()); in initSlowCase()
88 memcpy(U.pVal, that.U.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
98 U.pVal = getClearedMemory(getNumWords()); in initFromArray()
100 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
126 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
140 U.pVal = getMemory(getNumWords()); in reallocate()
155 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
167 unsigned NumWords = getNumWords(); in Profile()
[all …]
DAPFloat.cpp764 if (!fill || fill->getNumWords() < numParts) in makeNaN()
768 std::min(fill->getNumWords(), numParts)); in makeNaN()
2449 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
4869 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
/external/llvm/include/llvm/ADT/
DAPInt.h150 pVal[getNumWords() - 1] &= mask; in clearUnusedBits()
644 for (unsigned i = 0; i != getNumWords(); ++i)
1232 for (unsigned i = 0; i < getNumWords(); ++i) in setAllBits()
1249 memset(pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1262 for (unsigned i = 0; i < getNumWords(); ++i) in flipAllBits()
1286 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function
1294 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h154 pVal[getNumWords() - 1] &= mask; in clearUnusedBits()
636 for (unsigned i = 0; i != getNumWords(); ++i)
1208 for (unsigned i = 0; i < getNumWords(); ++i) in setAllBits()
1225 memset(pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1238 for (unsigned i = 0; i < getNumWords(); ++i) in flipAllBits()
1262 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function
1270 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h157 U.pVal[getNumWords() - 1] &= mask;
800 memset(U.pVal + 1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
830 memset(U.pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
1434 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE);
1519 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE);
1588 unsigned getNumWords() const { return getNumWords(BitWidth); }
1596 static unsigned getNumWords(unsigned BitWidth) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h156 U.pVal[getNumWords() - 1] &= mask; in clearUnusedBits()
797 memset(U.pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
828 memset(U.pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
1428 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE); in setAllBits()
1504 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1573 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function
1581 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function
/external/llvm-project/clang/include/clang/AST/
DAbstractBasicWriter.h162 for (size_t i = 0, e = value.getNumWords(); i != e; ++i) in writeAPInt()
DAbstractBasicReader.h173 unsigned numWords = llvm::APInt::getNumWords(bitWidth); in readAPInt()
DTemplateBase.h321 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
/external/llvm-project/llvm/lib/CodeGen/
DMachineStableHash.cpp80 stable_hash_combine_array(Val.getRawData(), Val.getNumWords()); in stableHashValue()
/external/llvm-project/llvm/utils/TableGen/
DCodeEmitterGen.cpp342 for (unsigned I = 0; I < Bits.getNumWords(); ++I) in emitInstBits()
479 int NumWords = APInt::getNumWords(BitWidth); in run()
/external/llvm-project/polly/lib/Support/
DGICHelper.cpp41 unsigned Words = Abs.getNumWords(); in isl_valFromAPInt()
/external/llvm-project/mlir/lib/IR/
DAttributeDetail.h152 auto elements = ArrayRef<uint64_t>(apint.getRawData(), apint.getNumWords()); in construct()
201 auto elements = ArrayRef<uint64_t>(value.getRawData(), value.getNumWords()); in construct()
DBuiltinAttributes.cpp545 assert(value.getNumWords() * APInt::APINT_WORD_SIZE >= numBytes); in copyAPIntToArrayForBEmachine()
550 size_t numFilledWords = (value.getNumWords() - 1) * APInt::APINT_WORD_SIZE; in copyAPIntToArrayForBEmachine()
575 assert(result.getNumWords() * APInt::APINT_WORD_SIZE >= numBytes); in copyArrayToAPIntForBEmachine()
582 size_t numFilledWords = (result.getNumWords() - 1) * APInt::APINT_WORD_SIZE; in copyArrayToAPIntForBEmachine()
/external/clang/lib/AST/
DTemplateBase.cpp79 unsigned NumWords = Value.getNumWords(); in TemplateArgument()
/external/clang/include/clang/AST/
DTemplateBase.h288 unsigned NumWords = APInt::getNumWords(Integer.BitWidth); in getAsIntegral()
/external/llvm-project/clang/lib/AST/
DTemplateBase.cpp94 unsigned NumWords = Value.getNumWords(); in TemplateArgument()
/external/llvm-project/llvm/lib/MC/
DMCStreamer.cpp142 if (Value.getNumWords() == 1) { in emitIntValue()
/external/llvm/unittests/ADT/
DAPIntTest.cpp1062 EXPECT_EQ(2u, Y.getNumWords()); in TEST()
/external/llvm-project/lldb/source/Expression/
DDWARFExpression.cpp2168 ap_int.getNumWords()}; in Evaluate()

12