Lines Matching defs:NumBits
130 : TheDef(TheDef), NumBits(0U), HasDynamicSegment(false) {
133 NumBits += S.BitWidth;
172 const Init *OperandName = DI->getArg(0), *NumBits = DI->getArg(1);
173 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits))
176 auto NumBitsVal = cast<IntInit>(NumBits)->getValue();
202 unsigned NumBits = 0U;
205 NumBits = static_cast<unsigned>(LoBitVal - HiBitVal + 1);
207 NumBits = static_cast<unsigned>(HiBitVal - LoBitVal + 1);
216 Segments.push_back({NumBits,
220 Segments.push_back({NumBits, DI, CustomEncoder, CustomDecoder});
279 << " unsigned NumBits = Index" << Mode.second << "[Opcode][0];\n"
280 << " if (!NumBits)\n"
284 << "APInt::getNumWords(NumBits));\n"
285 << " return APInt(NumBits, Data);\n"
335 IS.indent(4) << "{/*NumBits*/0, /*Index*/0},";
339 IS.indent(4) << "{/*NumBits*/" << Bits.getBitWidth() << ", " << "/*Index*/"
362 IS.indent(4) << "{/*NumBits*/0, /*Index*/0},\n";
373 IS.indent(4) << "{/*NumBits*/0, /*Index*/0},\t" << "// " << R->getName()
404 IS.indent(4) << "{/*NumBits*/0, /*Index*/0}\n };\n";
462 unsigned NumBits = ES.BitWidth;
497 << "Scratch.extractBits(" << utostr(NumBits) << ", "
501 HighScratchAccess = std::max(HighScratchAccess, NumBits + LoBit);
503 Offset += NumBits;