/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | BitVector.h | 502 unsigned NumWords = Bits.size(); 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 766 uint32_t NumWords = Bits.size(); in wordShr() local [all …]
|
H A D | Bitset.h | 38 static constexpr unsigned NumWords = (NumBits + BITWORD_SIZE-1) / BITWORD_SIZE; variable 39 std::array<BitWord, NumWords> Bits{}; 42 constexpr Bitset(const std::array<BitWord, NumWords> &B) in Bitset()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | APNumericStorage.h | 42 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue() local 43 if (NumWords > 1) in getIntValue() 44 return llvm::APInt(BitWidth, NumWords, pVal); in getIntValue()
|
H A D | TemplateBase.h | 371 unsigned NumWords = APInt::getNumWords(Integer.BitWidth); 372 return APSInt(APInt(Integer.BitWidth, ArrayRef(Integer.pVal, NumWords)),
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | HashTable.cpp | 23 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 D | M68kBaseInfo.h | 82 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/lib/Target/SPIRV/MCTargetDesc/ |
H A D | SPIRVMCCodeEmitter.cpp | 114 const uint32_t NumWords = MI.getNumOperands() + 1; in encodeInstruction() local 115 const uint32_t FirstWord = (NumWords << 16) | OpCode; in encodeInstruction()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TemplateBase.cpp | 189 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 D | Expr.cpp | 925 unsigned NumWords = Val.getNumWords(); in setIntValue() local 927 if (NumWords > 1) { in setIntValue() 928 pVal = new (C) uint64_t[NumWords]; in setIntValue() 929 std::copy(Words, Words + NumWords, pVal); in setIntValue() 930 } else if (NumWords == 1) in setIntValue()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.h | 62 static unsigned constexpr NumWords = Capacity/WordWidth; member 63 static_assert(NumWords*WordWidth == Capacity, 80 std::memset(Words.data(), 0, NumWords*sizeof(WordType)); in clear() 99 for (unsigned i = 0; i != NumWords; ++i) in insert() 161 for (unsigned i = SkipWords; i != NumWords; ++i) { in find_from_pos() 190 std::array<WordType,NumWords> Words;
|
H A D | CodeEmitterGen.cpp | 517 int NumWords = APInt::getNumWords(BitWidth); in run() local 522 << NumWords << ", " << NumWords << "));\n" in run()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | MIMGInstructions.td | 1183 int NumWords = dw; 1297 let VAddrDwords = addr.NumWords in { 1299 def _V # addr.NumWords 1303 def _V # addr.NumWords # _gfx90a 1306 def _V # addr.NumWords # _gfx10 1311 def _V # addr.NumWords # _gfx11 1319 let VAddrDwords = addr.NumWords in { 1321 def _V # addr.NumWords # _nsa_gfx10 1329 let VAddrDwords = addr.NumWords in { 1339 let VAddrDwords = addr.NumWords in { [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/ |
H A D | BitstreamReader.cpp | 55 word_t NumWords = MaybeNum.get(); in EnterSubBlock() local 57 *NumWordsP = NumWords; in EnterSubBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeAnalyzer.cpp | 764 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 D | MetadataLoader.cpp | 1509 const size_t NumWords = Record.size() - 3; in parseOneMetadata() local 1510 Value = readWideAPInt(ArrayRef(&Record[3], NumWords), BitWidth); in parseOneMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APInt.cpp | 163 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 D | HexagonLoopIdiomRecognition.cpp | 2275 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore() local 2277 if (Instruction *In = dyn_cast<Instruction>(NumWords)) in processCopyingStore() 2279 NumWords = Simp; in processCopyingStore() 2282 {StoreBasePtr, LoadBasePtr, NumWords}); in processCopyingStore()
|
H A D | HexagonISelLoweringHVX.cpp | 825 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 D | ARMFrameLowering.cpp | 976 uint32_t NumWords = NumBytes >> 2; in emitPrologue() local 978 if (NumWords < 65536) { in emitPrologue() 980 .addImm(NumWords) in emitPrologue() 988 .addImm(NumWords & 0xffff) in emitPrologue() 993 .addImm(NumWords >> 16) in emitPrologue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64FrameLowering.cpp | 1914 uint64_t NumWords = (NumBytes + RealignmentPadding) >> 4; in emitPrologue() local 1926 uint32_t LowNumWords = NumWords & 0xFFFF; in emitPrologue() 1933 if ((NumWords & 0xFFFF0000) != 0) { in emitPrologue() 1936 .addImm((NumWords & 0xFFFF0000) >> 16) // High half in emitPrologue() 1944 .addImm(NumWords) in emitPrologue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
H A D | DXILBitcodeWriter.cpp | 735 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local 737 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()
|
/freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 2088 unsigned NumWords,
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 1457 unsigned NumWords, in LLVMConstIntOfArbitraryPrecision() argument 1461 Ty->getContext(), APInt(Ty->getBitWidth(), ArrayRef(Words, NumWords)))); in LLVMConstIntOfArbitraryPrecision()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1731 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local 1733 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()
|