Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h482 unsigned NumWords = Bits.size();
566 unsigned NumWords = Bits.size();
567 assert(NumWords >= 1);
600 for (unsigned I = 0; I < NumWords - 1; ++I) {
605 Bits[NumWords - 1] >>= BitDistance;
615 unsigned NumWords = Bits.size();
616 assert(NumWords >= 1);
650 for (int I = NumWords - 1; I > 0; --I) {
728 uint32_t NumWords = Bits.size(); in wordShl() local
746 uint32_t NumWords = Bits.size(); in wordShr() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DHashTable.cpp26 uint32_t NumWords; in readSparseBitVector() local
27 if (auto EC = Stream.readInteger(NumWords)) in readSparseBitVector()
33 for (uint32_t I = 0; I != NumWords; ++I) { in readSparseBitVector()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td709 int NumWords = dw;
711 RegisterClass RegClass = !if(!le(NumWords, 0), ?,
712 !if(!eq(NumWords, 1), VGPR_32,
713 !if(!eq(NumWords, 2), VReg_64,
714 !if(!eq(NumWords, 3), VReg_96,
792 let VAddrDwords = addr.NumWords in {
794 def _V # addr.NumWords
798 def _V # addr.NumWords # _gfx90a
801 def _V # addr.NumWords # _gfx10
809 let VAddrDwords = addr.NumWords in {
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp168 unsigned NumWords = Value.getNumWords(); in TemplateArgument() local
169 if (NumWords > 1) { in TemplateArgument()
170 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in TemplateArgument()
171 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in TemplateArgument()
H A DExpr.cpp870 unsigned NumWords = Val.getNumWords(); in setIntValue() local
872 if (NumWords > 1) { in setIntValue()
873 pVal = new (C) uint64_t[NumWords]; in setIntValue()
874 std::copy(Words, Words + NumWords, pVal); in setIntValue()
875 } else if (NumWords == 1) in setIntValue()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h60 static unsigned constexpr NumWords = Capacity/WordWidth; member
61 static_assert(NumWords*WordWidth == Capacity,
78 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear()
97 for (unsigned i = 0; i != NumWords; ++i) in insert()
157 for (unsigned i = SkipWords; i != NumWords; ++i) { in find_from_pos()
186 std::array<WordType,NumWords> Words;
H A DCodeEmitterGen.cpp477 int NumWords = APInt::getNumWords(BitWidth); in run() local
485 << NumWords << "], " << NumBytes << ");\n" in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/Disassembler/
H A DM68kDisassembler.cpp261 unsigned NumWords = numWords(); in build() local
262 M68kInstructionBuffer MaskBuffer(Mask.begin(), Mask.begin() + NumWords); in build()
263 M68kInstructionBuffer ValueBuffer(Value.begin(), Value.begin() + NumWords); in build()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp50 word_t NumWords = MaybeNum.get(); in EnterSubBlock() local
52 *NumWordsP = NumWords; in EnterSubBlock()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateBase.h321 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
322 return APSInt(APInt(Integer.BitWidth, makeArrayRef(Integer.pVal, NumWords)),
H A DExpr.h1454 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue() local
1455 if (NumWords > 1) in getIntValue()
1456 return llvm::APInt(BitWidth, NumWords, pVal); in getIntValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp765 unsigned NumWords = 0; in parseBlock() local
766 if (Error Err = Stream.EnterSubBlock(BlockID, &NumWords)) in parseBlock()
783 O->OS << " NumWords=" << NumWords in parseBlock()
H A DMetadataLoader.cpp1397 const size_t NumWords = Record.size() - 3; in parseOneMetadata() local
1398 Value = readWideAPInt(makeArrayRef(&Record[3], NumWords), BitWidth); in parseOneMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp167 unsigned NumWords = getNumWords(); in Profile() local
168 for (unsigned i = 0; i < NumWords; ++i) in Profile()
265 unsigned NumWords = getNumWords(); in operator *=() local
266 tcMultiplyPart(U.pVal, U.pVal, RHS, 0, NumWords, NumWords, false); in operator *=()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2282 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore() local
2284 if (Instruction *In = dyn_cast<Instruction>(NumWords)) in processCopyingStore()
2286 NumWords = Simp; in processCopyingStore()
2294 NewCall = CondBuilder.CreateCall(Fn, {Op0, Op1, NumWords}); in processCopyingStore()
H A DHexagonISelLoweringHVX.cpp511 unsigned NumWords = Words.size(); in buildHvxVectorReg() local
514 for (unsigned i = 0; i != NumWords && IsSplat; ++i) { in buildHvxVectorReg()
625 for (unsigned i = 0; i != NumWords/2; ++i) { in buildHvxVectorReg()
629 {HalfV1, Words[i+NumWords/2]}); in buildHvxVectorReg()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp643 uint32_t NumWords = NumBytes >> 2; in emitPrologue() local
645 if (NumWords < 65536) in emitPrologue()
647 .addImm(NumWords) in emitPrologue()
652 .addImm(NumWords) in emitPrologue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp1306 uint64_t NumWords = NumBytes >> 4; in emitPrologue() local
1318 uint32_t LowNumWords = NumWords & 0xFFFF; in emitPrologue()
1325 if ((NumWords & 0xFFFF0000) != 0) { in emitPrologue()
1328 .addImm((NumWords & 0xFFFF0000) >> 16) // High half in emitPrologue()
1336 .addImm(NumWords) in emitPrologue()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1941 unsigned NumWords,
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp1357 unsigned NumWords, in LLVMConstIntOfArbitraryPrecision() argument
1362 makeArrayRef(Words, NumWords)))); in LLVMConstIntOfArbitraryPrecision()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1617 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local
1619 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()