Home | History | Annotate | Download | only in TableGen

Lines Matching refs:startBit

129   unsigned StartBit; // the starting bit position
167 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
302 bool fieldFromInsn(uint64_t &Field, insn_t &Insn, unsigned StartBit,
348 void runSingleFilter(FilterChooser &owner, unsigned startBit, unsigned numBit,
353 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex,
379 Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits), Mixed(f.Mixed),
386 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits,
387 bool mixed) : Owner(&owner), StartBit(startBit), NumBits(numBits),
389 assert(StartBit + NumBits - 1 < Owner->BitWidth);
403 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits);
449 BitValueArray[StartBit + bitIndex] = BIT_UNSET;
479 BitValueArray[StartBit + bitIndex] = BIT_TRUE;
481 BitValueArray[StartBit + bitIndex] = BIT_FALSE;
502 o << (StartBit + NumBits - 1) << '-';
504 o << StartBit << "} ...\n";
507 << "(insn, " << StartBit << ", "
604 unsigned StartBit, unsigned NumBits) const {
608 if (Insn[StartBit + i] == BIT_UNSET)
611 if (Insn[StartBit + i] == BIT_TRUE)
914 void FilterChooser::runSingleFilter(FilterChooser &owner, unsigned startBit,
917 Filter F(*this, startBit, numBit, true);
925 void FilterChooser::reportRegion(bitAttr_t RA, unsigned StartBit,
928 Filters.push_back(Filter(*this, StartBit, BitIndex - StartBit, true));
930 Filters.push_back(Filter(*this, StartBit, BitIndex - StartBit, false));
1049 unsigned StartBit = 0;
1062 StartBit = BitIndex;
1068 StartBit = BitIndex;
1078 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1084 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1088 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1089 StartBit = BitIndex;
1099 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1100 StartBit = BitIndex;
1104 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1105 StartBit = BitIndex;
1109 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1132 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1137 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1409 "(" << WidthStr <<" insn, unsigned startBit, unsigned numBits)\n";
1414 o.indent(Indentation) << "assert(startBit + numBits <= " << BitWidth
1428 o.indent(Indentation) << "fieldMask = ((1 << numBits) - 1) << startBit;\n";
1432 o.indent(Indentation) << "return (insn & fieldMask) >> startBit;\n";