| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVMCCodeEmitter.cpp | 113 const uint32_t NumWords = MI.getNumOperands(); in encodeUnknownType() local 114 const uint32_t FirstWord = (0xFFFF & NumWords) << 16 | (0xFFFF & OpCode); in encodeUnknownType() 120 for (unsigned i = 2; i < NumWords; ++i) in encodeUnknownType() 135 const uint32_t NumWords = MI.getNumOperands() + 1; in encodeInstruction() local 136 const uint32_t FirstWord = (NumWords << 16) | OpCode; in encodeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | BitVector.h | 502 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 …]
|
| 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/lib/AST/ByteCode/ |
| H A D | InterpState.h | 138 unsigned NumWords = APInt::getNumWords(BitWidth); in allocAP() local 139 if (NumWords == 1) in allocAP() 141 uint64_t *Mem = (uint64_t *)this->allocate(NumWords * sizeof(uint64_t)); in allocAP() 150 unsigned NumWords = in allocFloat() local 152 uint64_t *Mem = (uint64_t *)this->allocate(NumWords * sizeof(uint64_t)); in allocFloat()
|
| H A D | Floating.h | 47 unsigned NumWords = numWords(); in getValue() local 48 return APFloat(getSemantics(), APInt(BitWidth, NumWords, Memory)); in getValue() 221 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in deserialize() local 224 if (NumWords == 1 && !ALLOCATE_ALL) { in deserialize() 229 NumWords * sizeof(uint64_t)); in deserialize()
|
| H A D | IntegralAP.h | 65 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getValue() local 66 return llvm::APInt(BitWidth, NumWords, Memory); in getValue() 339 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in deserialize() local 341 if (NumWords == 1) in deserialize() 346 NumWords * sizeof(uint64_t)); in deserialize()
|
| /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/utils/TableGen/ |
| H A D | CodeEmitterGen.cpp | 320 int NumWords = APInt::getNumWords(BitWidth); in getInstructionCases() local 322 Case += ", ArrayRef(InstBitsByHw + opcode * " + itostr(NumWords) + in getInstructionCases() 323 ", " + 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/AMDGPU/ |
| H A D | MIMGInstructions.td | 1238 int NumWords = dw; 1352 let VAddrDwords = addr.NumWords in { 1354 def _V # addr.NumWords 1358 def _V # addr.NumWords # _gfx90a 1361 def _V # addr.NumWords # _gfx10 1366 def _V # addr.NumWords # _gfx11 1374 let VAddrDwords = addr.NumWords in { 1376 def _V # addr.NumWords # _nsa_gfx10 1377 : MIMG_Sampler_nsa_gfx10<op, asm, dst_rc, addr.NumWords, 1384 let VAddrDwords = addr.NumWords in { [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 185 unsigned NumWords = Value.getNumWords(); in initFromIntegral() local 186 if (NumWords > 1) { in initFromIntegral() 187 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in initFromIntegral() 188 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in initFromIntegral()
|
| H A D | Expr.cpp | 952 unsigned NumWords = Val.getNumWords(); in setIntValue() local 954 if (NumWords > 1) { in setIntValue() 955 pVal = new (C) uint64_t[NumWords]; in setIntValue() 956 std::copy(Words, Words + NumWords, pVal); in setIntValue() 957 } else if (NumWords == 1) in setIntValue()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenDAGPatterns.h | 59 static unsigned constexpr NumWords = Capacity / WordWidth; member 60 static_assert(NumWords * WordWidth == Capacity, 74 void clear() { std::memset(Words.data(), 0, NumWords * sizeof(WordType)); } in clear() 94 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 D | BitstreamReader.cpp | 55 word_t NumWords = MaybeNum.get(); in EnterSubBlock() local 57 *NumWordsP = NumWords; in EnterSubBlock()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 372 unsigned NumWords = APInt::getNumWords(Integer.BitWidth); 373 return APSInt(APInt(Integer.BitWidth, ArrayRef(Integer.pVal, NumWords)),
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeAnalyzer.cpp | 773 unsigned NumWords = 0; in parseBlock() local 774 if (Error Err = Stream.EnterSubBlock(BlockID, &NumWords)) in parseBlock() 791 O->OS << " NumWords=" << NumWords in parseBlock()
|
| H A D | MetadataLoader.cpp | 1525 const size_t NumWords = Record.size() - 3; in parseOneMetadata() local 1526 Value = readWideAPInt(ArrayRef(&Record[3], NumWords), BitWidth); in parseOneMetadata() 1572 unsigned NumWords = Encoded >> 32; in parseOneMetadata() local 1574 auto Value = readWideAPInt(ArrayRef(&Record[Offset], NumWords), BitWidth); in parseOneMetadata() 1575 Offset += NumWords; in parseOneMetadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APInt.cpp | 164 unsigned NumWords = getNumWords(); in Profile() local 165 for (unsigned i = 0; i < NumWords; ++i) in Profile() 274 unsigned NumWords = getNumWords(); in operator *=() local 275 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 | 2257 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore() local 2259 if (Instruction *In = dyn_cast<Instruction>(NumWords)) in processCopyingStore() 2261 NumWords = Simp; in processCopyingStore() 2264 {StoreBasePtr, LoadBasePtr, NumWords}); in processCopyingStore()
|
| H A D | HexagonISelLoweringHVX.cpp | 835 unsigned NumWords = Words.size(); in buildHvxVectorReg() local 939 for (unsigned i = 0; i != NumWords; ++i) { in buildHvxVectorReg() 943 for (unsigned j = i; j != NumWords; ++j) in buildHvxVectorReg() 967 for (unsigned i = 0; i != NumWords/2; ++i) { in buildHvxVectorReg() 976 if (Words[i+NumWords/2] != Words[n] || VecHist[n] <= 1) { in buildHvxVectorReg() 980 {HalfV1, Words[i+NumWords/2]}); in buildHvxVectorReg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMFrameLowering.cpp | 1119 uint32_t NumWords = NumBytes >> 2; in emitPrologue() local 1121 if (NumWords < 65536) { in emitPrologue() 1123 .addImm(NumWords) in emitPrologue() 1131 .addImm(NumWords & 0xffff) in emitPrologue() 1136 .addImm(NumWords >> 16) in emitPrologue()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 201 unsigned NumWords = divideCeil(NumBits, 64); in LLVMCreateConstantRangeAttribute() local 204 ConstantRange(APInt(NumBits, ArrayRef(LowerWords, NumWords)), in LLVMCreateConstantRangeAttribute() 205 APInt(NumBits, ArrayRef(UpperWords, NumWords))))); in LLVMCreateConstantRangeAttribute() 1544 unsigned NumWords, in LLVMConstIntOfArbitraryPrecision() argument 1548 Ty->getContext(), APInt(Ty->getBitWidth(), ArrayRef(Words, NumWords)))); in LLVMConstIntOfArbitraryPrecision()
|
| H A D | DebugInfo.cpp | 1310 uint64_t NumWords = (SizeInBits + 63) / 64; in LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision() local 1313 APSInt(APInt(SizeInBits, ArrayRef(Words, NumWords)), IsUnsigned != 0))); in LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.cpp | 2208 uint64_t NumWords = (NumBytes + RealignmentPadding) >> 4; in emitPrologue() local 2220 uint32_t LowNumWords = NumWords & 0xFFFF; in emitPrologue() 2227 if ((NumWords & 0xFFFF0000) != 0) { in emitPrologue() 2230 .addImm((NumWords & 0xFFFF0000) >> 16) // High half in emitPrologue() 2238 .addImm(NumWords) in emitPrologue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 973 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local 975 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt() 1944 uint64_t NumWords = Value.getActiveWords(); in writeDIFixedPointType() local 1945 uint64_t Encoded = (NumWords << 32) | Value.getBitWidth(); in writeDIFixedPointType()
|