Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DBitVector.h495 unsigned NumWords = Bits.size();
496 return std::equal(Bits.begin(), Bits.begin() + NumWords, RHS.Bits.begin());
579 unsigned NumWords = Bits.size();
580 assert(NumWords >= 1);
613 for (unsigned I = 0; I < NumWords - 1; ++I) {
618 Bits[NumWords - 1] >>= BitDistance;
628 unsigned NumWords = Bits.size();
629 assert(NumWords >= 1);
663 for (int I = NumWords - 1; I > 0; --I) {
741 uint32_t NumWords = Bits.size(); in wordShl() local
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DHashTable.cpp23 uint32_t NumWords; in readSparseBitVector() local
24 if (auto EC = Stream.readInteger(NumWords)) in readSparseBitVector()
30 for (uint32_t I = 0; I != NumWords; ++I) { in readSparseBitVector()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kBaseInfo.h56 const unsigned NumWords = sizeof(Val) / 2; in swapWord() local
57 if (NumWords <= 1) in swapWord()
61 for (unsigned i = 0U; i != NumWords; ++i) { in swapWord()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp111 const uint32_t NumWords = MI.getNumOperands() + 1; in encodeInstruction() local
112 const uint32_t FirstWord = (NumWords << 16) | OpCode; in encodeInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td950 int NumWords = dw;
952 RegisterClass RegClass = !if(!le(NumWords, 0), ?,
953 !if(!eq(NumWords, 1), VGPR_32,
954 !if(!eq(NumWords, 2), VReg_64,
955 !if(!eq(NumWords, 3), VReg_96,
956 !if(!eq(NumWords, 4), VReg_128,
957 !if(!eq(NumWords, 5), VReg_160,
958 !if(!eq(NumWords, 6), VReg_192,
959 !if(!eq(NumWords, 7), VReg_224,
960 !if(!le(NumWords, 8), VReg_256,
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DTemplateBase.cpp170 unsigned NumWords = Value.getNumWords(); in TemplateArgument() local
171 if (NumWords > 1) { in TemplateArgument()
172 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in TemplateArgument()
173 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in TemplateArgument()
H A DExpr.cpp961 unsigned NumWords = Val.getNumWords(); in setIntValue() local
963 if (NumWords > 1) { in setIntValue()
964 pVal = new (C) uint64_t[NumWords]; in setIntValue()
965 std::copy(Words, Words + NumWords, pVal); in setIntValue()
966 } else if (NumWords == 1) in setIntValue()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.h59 static unsigned constexpr NumWords = Capacity/WordWidth; member
60 static_assert(NumWords*WordWidth == Capacity,
77 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear()
96 for (unsigned i = 0; i != NumWords; ++i) in insert()
158 for (unsigned i = SkipWords; i != NumWords; ++i) { in find_from_pos()
187 std::array<WordType,NumWords> Words;
H A DCodeEmitterGen.cpp516 int NumWords = APInt::getNumWords(BitWidth); in run() local
521 << NumWords << ", " << NumWords << "));\n" in run()
/openbsd-src/gnu/llvm/llvm/docs/
H A DRemarks.rst469 <Meta BlockID=8 NumWords=13 BlockCodeSize=3>
480 <Meta BlockID=8 NumWords=3 BlockCodeSize=3>
484 <Remark BlockID=9 NumWords=8 BlockCodeSize=4>
496 <Meta BlockID=8 NumWords=15 BlockCodeSize=3>
501 <Remark BlockID=9 NumWords=8 BlockCodeSize=4>
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTemplateBase.h321 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
322 return APSInt(APInt(Integer.BitWidth, ArrayRef(Integer.pVal, NumWords)),
H A DExpr.h1478 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue() local
1479 if (NumWords > 1) in getIntValue()
1480 return llvm::APInt(BitWidth, NumWords, pVal); in getIntValue()
/openbsd-src/gnu/llvm/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp55 word_t NumWords = MaybeNum.get(); in EnterSubBlock() local
57 *NumWordsP = NumWords; in EnterSubBlock()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp764 unsigned NumWords = 0; in parseBlock() local
765 if (Error Err = Stream.EnterSubBlock(BlockID, &NumWords)) in parseBlock()
782 O->OS << " NumWords=" << NumWords in parseBlock()
H A DMetadataLoader.cpp1407 const size_t NumWords = Record.size() - 3; in parseOneMetadata() local
1408 Value = readWideAPInt(ArrayRef(&Record[3], NumWords), BitWidth); in parseOneMetadata()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp162 unsigned NumWords = getNumWords(); in Profile() local
163 for (unsigned i = 0; i < NumWords; ++i) in Profile()
263 unsigned NumWords = getNumWords(); in operator *=() local
264 tcMultiplyPart(U.pVal, U.pVal, RHS, 0, NumWords, NumWords, false); in operator *=()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2275 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore() local
2277 if (Instruction *In = dyn_cast<Instruction>(NumWords)) in processCopyingStore()
2279 NumWords = Simp; in processCopyingStore()
2287 NewCall = CondBuilder.CreateCall(Fn, {Op0, Op1, NumWords}); in processCopyingStore()
H A DHexagonISelLoweringHVX.cpp824 unsigned NumWords = Words.size(); in buildHvxVectorReg() local
929 for (unsigned i = 0; i != NumWords; ++i) { in buildHvxVectorReg()
933 for (unsigned j = i; j != NumWords; ++j) in buildHvxVectorReg()
957 for (unsigned i = 0; i != NumWords/2; ++i) { in buildHvxVectorReg()
966 if (Words[i+NumWords/2] != Words[n] || VecHist[n] <= 1) { in buildHvxVectorReg()
970 {HalfV1, Words[i+NumWords/2]}); in buildHvxVectorReg()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp977 uint32_t NumWords = NumBytes >> 2; in emitPrologue() local
979 if (NumWords < 65536) { in emitPrologue()
981 .addImm(NumWords) in emitPrologue()
989 .addImm(NumWords & 0xffff) in emitPrologue()
994 .addImm(NumWords >> 16) in emitPrologue()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp1638 uint64_t NumWords = (NumBytes + RealignmentPadding) >> 4; in emitPrologue() local
1650 uint32_t LowNumWords = NumWords & 0xFFFF; in emitPrologue()
1657 if ((NumWords & 0xFFFF0000) != 0) { in emitPrologue()
1660 .addImm((NumWords & 0xFFFF0000) >> 16) // High half in emitPrologue()
1668 .addImm(NumWords) in emitPrologue()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp735 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local
737 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DCore.h1993 unsigned NumWords,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DCore.cpp1388 unsigned NumWords, in LLVMConstIntOfArbitraryPrecision() argument
1392 Ty->getContext(), APInt(Ty->getBitWidth(), ArrayRef(Words, NumWords)))); in LLVMConstIntOfArbitraryPrecision()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1685 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local
1687 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()