Lines Matching refs:StartBit
223 unsigned StartBit; // the starting bit position
257 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
403 bool fieldFromInsn(uint64_t &Field, insn_t &Insn, unsigned StartBit,
464 void runSingleFilter(unsigned startBit, unsigned numBit, bool mixed);
468 void reportRegion(bitAttr_t RA, unsigned StartBit, unsigned BitIndex,
495 : Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits), Mixed(f.Mixed),
502 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits,
504 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) {
505 assert(StartBit + NumBits - 1 < Owner->BitWidth);
518 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits);
561 BitValueArray[StartBit + bitIndex] = BIT_UNSET;
591 BitValueArray[StartBit + bitIndex] = BIT_TRUE;
593 BitValueArray[StartBit + bitIndex] = BIT_FALSE;
634 TableInfo.Table.push_back(StartBit);
932 unsigned StartBit, unsigned NumBits) const {
936 if (Insn[StartBit + i] == BIT_UNSET)
939 if (Insn[StartBit + i] == BIT_TRUE)
1385 void FilterChooser::runSingleFilter(unsigned startBit, unsigned numBit,
1388 Filter F(*this, startBit, numBit, true);
1396 void FilterChooser::reportRegion(bitAttr_t RA, unsigned StartBit,
1399 Filters.push_back(Filter(*this, StartBit, BitIndex - StartBit, true));
1401 Filters.push_back(Filter(*this, StartBit, BitIndex - StartBit, false));
1519 unsigned StartBit = 0;
1532 StartBit = BitIndex;
1538 StartBit = BitIndex;
1548 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1554 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1558 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1559 StartBit = BitIndex;
1569 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1570 StartBit = BitIndex;
1574 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1575 StartBit = BitIndex;
1579 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1602 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1607 reportRegion(RA, StartBit, BitIndex, AllowMixed);
1866 << "static InsnType fieldFromInstruction(InsnType insn, unsigned startBit,\n"
1868 << " assert(startBit + numBits <= (sizeof(InsnType)*8) &&\n"
1874 << " fieldMask = (((InsnType)1 << numBits) - 1) << startBit;\n"
1875 << " return (insn & fieldMask) >> startBit;\n"