Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h502 unsigned NumWords = Bits.size();
503 return std::equal(Bits.begin(), Bits.begin() + NumWords, RHS.Bits.begin());
586 unsigned NumWords = Bits.size();
587 assert(NumWords >= 1);
620 for (unsigned I = 0; I < NumWords - 1; ++I) {
625 Bits[NumWords - 1] >>= BitDistance;
635 unsigned NumWords = Bits.size();
636 assert(NumWords >= 1);
670 for (int I = NumWords - 1; I > 0; --I) {
748 uint32_t NumWords = Bits.size(); in wordShl() local
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kBaseInfo.h82 const unsigned NumWords = sizeof(Val) / 2; in swapWord() local
83 if (NumWords <= 1) in swapWord()
87 for (unsigned i = 0U; i != NumWords; ++i) { in swapWord()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp317 int NumWords = APInt::getNumWords(BitWidth); in getInstructionCases() local
319 Case += ", ArrayRef(InstBitsByHw + opcode * " + itostr(NumWords) + in getInstructionCases()
320 ", " + itostr(NumWords); in getInstructionCases()
558 int NumWords = APInt::getNumWords(BitWidth); in run() local
563 << NumWords << ", " << NumWords << "));\n" in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp114 const uint32_t NumWords = MI.getNumOperands() + 1; in encodeInstruction()
115 const uint32_t FirstWord = (NumWords << 16) | OpCode; in encodeInstruction()
111 const uint32_t NumWords = MI.getNumOperands() + 1; encodeInstruction() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td1246 int NumWords = dw;
1360 let VAddrDwords = addr.NumWords in {
1362 def _V # addr.NumWords
1366 def _V # addr.NumWords # _gfx90a
1369 def _V # addr.NumWords # _gfx10
1374 def _V # addr.NumWords # _gfx11
1382 let VAddrDwords = addr.NumWords in {
1384 def _V # addr.NumWords # _nsa_gfx10
1385 : MIMG_Sampler_nsa_gfx10<op, asm, dst_rc, addr.NumWords,
1392 let VAddrDwords = addr.NumWords in {
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp189 unsigned NumWords = Value.getNumWords(); in initFromIntegral() local
190 if (NumWords > 1) { in initFromIntegral()
191 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in initFromIntegral()
192 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in initFromIntegral()
H A DExpr.cpp955 unsigned NumWords = Val.getNumWords(); in setIntValue() local
957 if (NumWords > 1) { in setIntValue()
958 pVal = new (C) uint64_t[NumWords]; in setIntValue()
959 std::copy(Words, Words + NumWords, pVal); in setIntValue()
960 } else if (NumWords == 1) in setIntValue()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.h62 static unsigned constexpr NumWords = Capacity / WordWidth; member
63 static_assert(NumWords * WordWidth == Capacity,
77 void clear() { std::memset(Words.data(), 0, NumWords * sizeof(WordType)); } in clear()
95 for (unsigned i = 0; i != NumWords; ++i) in insert()
155 for (unsigned i = SkipWords; i != NumWords; ++i) { in find_from_pos()
182 std::array<WordType, NumWords> Words;
/freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp55 word_t NumWords = MaybeNum.get(); in EnterSubBlock() local
57 *NumWordsP = NumWords; in EnterSubBlock()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateBase.h371 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
372 return APSInt(APInt(Integer.BitWidth, ArrayRef(Integer.pVal, NumWords)),
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp770 unsigned NumWords = 0; in parseBlock() local
771 if (Error Err = Stream.EnterSubBlock(BlockID, &NumWords)) in parseBlock()
788 O->OS << " NumWords=" << NumWords in parseBlock()
H A DMetadataLoader.cpp1517 const size_t NumWords = Record.size() - 3; in parseOneMetadata() local
1518 Value = readWideAPInt(ArrayRef(&Record[3], NumWords), BitWidth); in parseOneMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp163 unsigned NumWords = getNumWords(); in Profile() local
164 for (unsigned i = 0; i < NumWords; ++i) in Profile()
272 unsigned NumWords = getNumWords(); in operator *=() local
273 tcMultiplyPart(U.pVal, U.pVal, RHS, 0, NumWords, NumWords, false); in operator *=()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2269 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore() local
2271 if (Instruction *In = dyn_cast<Instruction>(NumWords)) in processCopyingStore()
2273 NumWords = Simp; in processCopyingStore()
2276 {StoreBasePtr, LoadBasePtr, NumWords}); in processCopyingStore()
H A DHexagonISelLoweringHVX.cpp825 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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp2030 uint64_t NumWords = (NumBytes + RealignmentPadding) >> 4; in emitPrologue() local
2042 uint32_t LowNumWords = NumWords & 0xFFFF; in emitPrologue()
2049 if ((NumWords & 0xFFFF0000) != 0) { in emitPrologue()
2052 .addImm((NumWords & 0xFFFF0000) >> 16) // High half in emitPrologue()
2060 .addImm(NumWords) in emitPrologue()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp194 unsigned NumWords = divideCeil(NumBits, 64); in LLVMCreateConstantRangeAttribute() local
197 ConstantRange(APInt(NumBits, ArrayRef(LowerWords, NumWords)), in LLVMCreateConstantRangeAttribute()
198 APInt(NumBits, ArrayRef(UpperWords, NumWords))))); in LLVMCreateConstantRangeAttribute()
1541 unsigned NumWords, in LLVMConstIntOfArbitraryPrecision() argument
1545 Ty->getContext(), APInt(Ty->getBitWidth(), ArrayRef(Words, NumWords)))); in LLVMConstIntOfArbitraryPrecision()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp734 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local
736 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h2217 unsigned NumWords,
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp912 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local
914 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()