Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
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()
97 U.pVal = getClearedMemory(getNumWords()); in initFromArray()
99 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
125 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
139 U.pVal = getMemory(getNumWords()); in reallocate()
154 memcpy(U.pVal, RHS.U.pVal, getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
166 unsigned NumWords = getNumWords(); in Profile()
[all …]
DAPFloat.cpp697 if (!fill || fill->getNumWords() < numParts) in makeNaN()
701 std::min(fill->getNumWords(), numParts)); in makeNaN()
2210 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
4513 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
/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/lib/Support/
DAPInt.cpp76 pVal = getClearedMemory(getNumWords()); in initSlowCase()
79 for (unsigned i = 1; i < getNumWords(); ++i) in initSlowCase()
84 pVal = getMemory(getNumWords()); in initSlowCase()
85 memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE); in initSlowCase()
95 pVal = getClearedMemory(getNumWords()); in initFromArray()
97 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
129 memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
137 pVal = getMemory(RHS.getNumWords()); in AssignSlowCase()
138 memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE); in AssignSlowCase()
139 } else if (getNumWords() == RHS.getNumWords()) in AssignSlowCase()
[all …]
DAPFloat.cpp640 if (!fill || fill->getNumWords() < numParts) in makeNaN()
644 std::min(fill->getNumWords(), numParts)); in makeNaN()
2101 SmallVector<uint64_t, 4> parts(result.getNumWords()); in convertToInteger()
2149 unsigned int partCount = Val.getNumWords(); in convertFromAPInt()
/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/include/llvm/ADT/
DAPInt.h144 pVal[getNumWords() - 1] &= mask; in clearUnusedBits()
356 return APInt(N, makeArrayRef(pVal, getNumWords())).zext(getBitWidth()) in isIntN()
1068 for (unsigned i = 0; i < getNumWords(); ++i) in setAllBits()
1084 memset(pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1096 for (unsigned i = 0; i < getNumWords(); ++i) in flipAllBits()
1119 unsigned getNumWords() const { in getNumWords() function
1120 return getNumWords(BitWidth); in getNumWords()
1127 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h156 U.pVal[getNumWords() - 1] &= mask; in clearUnusedBits()
780 memset(U.pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
811 memset(U.pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
1388 memset(U.pVal, -1, getNumWords() * APINT_WORD_SIZE); in setAllBits()
1449 memset(U.pVal, 0, getNumWords() * APINT_WORD_SIZE); in clearAllBits()
1509 unsigned getNumWords() const { return getNumWords(BitWidth); } in getNumWords() function
1517 static unsigned getNumWords(unsigned BitWidth) { in getNumWords() function
/external/clang/include/clang/AST/
DTemplateBase.h288 unsigned NumWords = APInt::getNumWords(Integer.BitWidth); in getAsIntegral()
DExpr.h1228 bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; } in hasAllocation()
1237 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue()
/external/clang/lib/AST/
DTemplateBase.cpp79 unsigned NumWords = Value.getNumWords(); in TemplateArgument()
DExpr.cpp697 unsigned NumWords = Val.getNumWords(); in setIntValue()
/external/llvm/unittests/ADT/
DAPIntTest.cpp1062 EXPECT_EQ(2u, Y.getNumWords()); in TEST()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp1645 for (int i = 0, N = Val.getNumWords(); i < N; ++i) { in EmitInstruction()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2072 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86MCInstLower.cpp1528 for (int i = 0, N = Val.getNumWords(); i < N; ++i) { in printConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2373 int Chunk = API.getNumWords() - 1; in emitGlobalConstantFP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp2260 Result = APInt(NumBits, ArrayRef<uint64_t>(A.getRawData(), A.getNumWords())); in getHexUint()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1716 EXPECT_EQ(2u, Y.getNumWords()); in TEST()
/external/clang/lib/Serialization/
DASTWriter.cpp4798 Record->append(Words, Words + Value.getNumWords()); in AddAPInt()
DASTReader.cpp8154 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in ReadAPInt()