Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dpr18704.ll9 ;<MODULE_BLOCK NumWords=217 BlockCodeSize=3>
12 ; <TYPE_BLOCK_ID NumWords=23 BlockCodeSize=4>
59 ; <CONSTANTS_BLOCK NumWords=20 BlockCodeSize=4>
84 ; <METADATA_BLOCK NumWords=23 BlockCodeSize=3>
93 ; <VALUE_SYMTAB NumWords=29 BlockCodeSize=4>
107 ; <FUNCTION_BLOCK NumWords=18 BlockCodeSize=4>
118 ; <VALUE_SYMTAB NumWords=4 BlockCodeSize=4>
123 ; <FUNCTION_BLOCK NumWords=23 BlockCodeSize=4>
139 ; <VALUE_SYMTAB NumWords=2 BlockCodeSize=4>
143 ; <FUNCTION_BLOCK NumWords=15 BlockCodeSize=4>
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DBitVector.h495 unsigned NumWords = Bits.size();
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
759 uint32_t NumWords = Bits.size(); in wordShr() local
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/test/Other/
H A Dbcanalyzer-block-info.txt7 DATA: NumWords=4 BlockCodeSize=2>
21 DATA: NumWords=3 BlockCodeSize=3>
H A Dbcanalyzer-dump-blockinfo-option.txt3 # CHECK: <BLOCKINFO_BLOCK NumWords=13 BlockCodeSize=2>
/llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/grammar/
H A DLRTable.h203 unsigned NumWords = (NumKeys + WordBits - 1) / WordBits; in TransitionTable() local
204 HasValue.resize(NumWords, 0); in TransitionTable()
205 Checkpoints.reserve(NumWords); in TransitionTable()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMCCodeEmitter.cpp92 const unsigned NumWords = sizeof(Val) / 2; in swapWord() local
93 if (NumWords <= 1) in swapWord()
97 for (unsigned i = 0U; i != NumWords; ++i) { in swapWord()
/llvm-project-15.0.7/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,
1033 let VAddrDwords = addr.NumWords in {
1035 def _V # addr.NumWords
1039 def _V # addr.NumWords # _gfx90a
1042 def _V # addr.NumWords # _gfx10
1047 def _V # addr.NumWords # _gfx11
1055 let VAddrDwords = addr.NumWords in {
1057 def _V # addr.NumWords # _nsa_gfx10
[all …]
/llvm-project-15.0.7/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.cpp878 unsigned NumWords = Val.getNumWords(); in setIntValue() local
880 if (NumWords > 1) { in setIntValue()
881 pVal = new (C) uint64_t[NumWords]; in setIntValue()
882 std::copy(Words, Words + NumWords, pVal); in setIntValue()
883 } else if (NumWords == 1) in setIntValue()
/llvm-project-15.0.7/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.cpp477 int NumWords = APInt::getNumWords(BitWidth); in run() local
482 << ", makeArrayRef(InstBits + opcode * " << NumWords << ", " << NumWords in run()
/llvm-project-15.0.7/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>
/llvm-project-15.0.7/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp54 word_t NumWords = MaybeNum.get(); in EnterSubBlock() local
56 *NumWordsP = NumWords; in EnterSubBlock()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTemplateBase.h320 unsigned NumWords = APInt::getNumWords(Integer.BitWidth);
321 return APSInt(APInt(Integer.BitWidth, makeArrayRef(Integer.pVal, NumWords)),
H A DExpr.h1467 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue() local
1468 if (NumWords > 1) in getIntValue()
1469 return llvm::APInt(BitWidth, NumWords, pVal); in getIntValue()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp757 unsigned NumWords = 0; in parseBlock() local
758 if (Error Err = Stream.EnterSubBlock(BlockID, &NumWords)) in parseBlock()
775 O->OS << " NumWords=" << NumWords in parseBlock()
H A DMetadataLoader.cpp1394 const size_t NumWords = Record.size() - 3; in parseOneMetadata() local
1395 Value = readWideAPInt(makeArrayRef(&Record[3], NumWords), BitWidth); in parseOneMetadata()
/llvm-project-15.0.7/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 *=()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2276 Value *NumWords = Expander.expandCodeFor(NumWordsS, Int32Ty, in processCopyingStore() local
2278 if (Instruction *In = dyn_cast<Instruction>(NumWords)) in processCopyingStore()
2280 NumWords = Simp; in processCopyingStore()
2288 NewCall = CondBuilder.CreateCall(Fn, {Op0, Op1, NumWords}); in processCopyingStore()
H A DHexagonISelLoweringHVX.cpp650 unsigned NumWords = Words.size(); in buildHvxVectorReg() local
757 for (unsigned i = 0; i != NumWords; ++i) { in buildHvxVectorReg()
761 for (unsigned j = i; j != NumWords; ++j) in buildHvxVectorReg()
785 for (unsigned i = 0; i != NumWords/2; ++i) { in buildHvxVectorReg()
794 if (Words[i+NumWords/2] != Words[n] || VecHist[n] <= 1) { in buildHvxVectorReg()
798 {HalfV1, Words[i+NumWords/2]}); in buildHvxVectorReg()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp950 uint32_t NumWords = NumBytes >> 2; in emitPrologue() local
952 if (NumWords < 65536) { in emitPrologue()
954 .addImm(NumWords) in emitPrologue()
962 .addImm(NumWords & 0xffff) in emitPrologue()
967 .addImm(NumWords >> 16) in emitPrologue()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp1629 uint64_t NumWords = NumBytes >> 4; in emitPrologue() local
1641 uint32_t LowNumWords = NumWords & 0xFFFF; in emitPrologue()
1648 if ((NumWords & 0xFFFF0000) != 0) { in emitPrologue()
1651 .addImm((NumWords & 0xFFFF0000) >> 16) // High half in emitPrologue()
1659 .addImm(NumWords) in emitPrologue()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp763 unsigned NumWords = A.getActiveWords(); in emitWideAPInt() local
765 for (unsigned i = 0; i < NumWords; i++) in emitWideAPInt()

12