Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h502 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 DBitset.h38 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 DAPNumericStorage.h42 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 DTemplateBase.h371 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 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/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp114 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 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.cpp925 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 DCodeGenDAGPatterns.h62 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 DCodeEmitterGen.cpp517 int NumWords = APInt::getNumWords(BitWidth); in run() local
522 << NumWords << ", " << NumWords << "));\n" in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td1183 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 DBitstreamReader.cpp55 word_t NumWords = MaybeNum.get(); in EnterSubBlock() local
57 *NumWordsP = NumWords; in EnterSubBlock()
/freebsd/contrib/llvm-project/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.cpp1509 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 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.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()
2282 {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.cpp976 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 DAArch64FrameLowering.cpp1914 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 DDXILBitcodeWriter.cpp735 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 DCore.h2088 unsigned NumWords,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp1457 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 DBitcodeWriter.cpp1731 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local
1733 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()