Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DBitVector.h624 unsigned NumWords = NumBitWords(Size); variable
625 assert(NumWords >= 1);
658 for (unsigned I = 0; I < NumWords - 1; ++I) {
663 Bits[NumWords - 1] >>= BitDistance;
673 unsigned NumWords = NumBitWords(Size); variable
674 assert(NumWords >= 1);
708 for (int I = NumWords - 1; I > 0; --I) {
817 uint32_t NumWords = NumBitWords(Size); in wordShl() local
837 uint32_t NumWords = NumBitWords(Size); in wordShr() local
847 MutableArrayRef<BitWord> allocate(size_t NumWords) { in allocate() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DHashTable.cpp27 uint32_t NumWords; in readSparseBitVector() local
28 if (auto EC = Stream.readInteger(NumWords)) in readSparseBitVector()
34 for (uint32_t I = 0; I != NumWords; ++I) { in readSparseBitVector()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td329 int NumWords = dw;
331 RegisterClass RegClass = !if(!le(NumWords, 0), ?,
332 !if(!eq(NumWords, 1), VGPR_32,
333 !if(!eq(NumWords, 2), VReg_64,
334 !if(!eq(NumWords, 3), VReg_96,
335 !if(!eq(NumWords, 4), VReg_128,
336 !if(!le(NumWords, 8), VReg_256,
337 !if(!le(NumWords, 16), VReg_512, ?)))))));
385 let VAddrDwords = addr.NumWords in
386 def _V # addr.NumWords
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DTemplateBase.cpp94 unsigned NumWords = Value.getNumWords(); in TemplateArgument() local
95 if (NumWords > 1) { in TemplateArgument()
96 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in TemplateArgument()
97 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in TemplateArgument()
H A DExpr.cpp769 unsigned NumWords = Val.getNumWords(); in setIntValue() local
771 if (NumWords > 1) { in setIntValue()
772 pVal = new (C) uint64_t[NumWords]; in setIntValue()
773 std::copy(Words, Words + NumWords, pVal); in setIntValue()
774 } else if (NumWords == 1) in setIntValue()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h63 static unsigned constexpr NumWords = Capacity/WordWidth; member
64 static_assert(NumWords*WordWidth == Capacity,
81 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear()
100 for (unsigned i = 0; i != NumWords; ++i) in insert()
160 for (unsigned i = SkipWords; i != NumWords; ++i) { in find_from_pos()
189 std::array<WordType,NumWords> Words;
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp44 unsigned NumWords = Read(bitc::BlockSizeWidth); in EnterSubBlock() local
45 if (NumWordsP) *NumWordsP = NumWords; in EnterSubBlock()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTemplateBase.h309 unsigned NumWords = APInt::getNumWords(Integer.BitWidth); in getAsIntegral() local
310 return APSInt(APInt(Integer.BitWidth, makeArrayRef(Integer.pVal, NumWords)), in getAsIntegral()
H A DExpr.h1281 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue() local
1282 if (NumWords > 1) in getIntValue()
1283 return llvm::APInt(BitWidth, NumWords, pVal); in getIntValue()
/freebsd-12.1/contrib/llvm/tools/llvm-bcanalyzer/
H A Dllvm-bcanalyzer.cpp531 unsigned NumWords = 0; in ParseBlock() local
532 if (Stream.EnterSubBlock(BlockID, &NumWords)) in ParseBlock()
549 outs() << " NumWords=" << NumWords in ParseBlock()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp945 uint32_t NumWords = NumBytes >> 4; in emitPrologue() local
956 uint32_t LowNumWords = NumWords & 0xFFFF; in emitPrologue()
963 if ((NumWords & 0xFFFF0000) != 0) { in emitPrologue()
966 .addImm((NumWords & 0xFFFF0000) >> 16) // High half in emitPrologue()
974 .addImm(NumWords) in emitPrologue()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPInt.cpp168 unsigned NumWords = getNumWords(); in Profile() local
169 for (unsigned i = 0; i < NumWords; ++i) in Profile()
266 unsigned NumWords = getNumWords(); in operator *=() local
267 tcMultiplyPart(U.pVal, U.pVal, RHS, 0, NumWords, NumWords, false); in operator *=()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp367 unsigned NumWords = Words.size(); in buildHvxVectorReg() local
370 for (unsigned i = 0; i != NumWords && IsSplat; ++i) { in buildHvxVectorReg()
478 for (unsigned i = 0; i != NumWords/2; ++i) { in buildHvxVectorReg()
482 {HalfV1, Words[i+NumWords/2]}); in buildHvxVectorReg()
H A DHexagonLoopIdiomRecognition.cpp2263 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore() local
2265 if (Instruction *In = dyn_cast<Instruction>(NumWords)) in processCopyingStore()
2267 NumWords = Simp; in processCopyingStore()
2275 NewCall = CondBuilder.CreateCall(Fn, {Op0, Op1, NumWords}); in processCopyingStore()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp515 uint32_t NumWords = NumBytes >> 2; in emitPrologue() local
517 if (NumWords < 65536) in emitPrologue()
519 .addImm(NumWords) in emitPrologue()
524 .addImm(NumWords) in emitPrologue()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DCore.h1873 unsigned NumWords,
/freebsd-12.1/contrib/llvm/lib/IR/
H A DCore.cpp1280 unsigned NumWords, in LLVMConstIntOfArbitraryPrecision() argument
1285 makeArrayRef(Words, NumWords)))); in LLVMConstIntOfArbitraryPrecision()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp9063 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in ReadAPInt() local
9064 llvm::APInt Result(BitWidth, NumWords, &Record[Idx]); in ReadAPInt()
9065 Idx += NumWords; in ReadAPInt()