Lines Matching refs:BitIdx
2868 for (unsigned BitIdx = 0; BitIdx < BitWidth; ++BitIdx) { in collectBitParts() local
2869 if (A->Provenance[BitIdx] != BitPart::Unset && in collectBitParts()
2870 B->Provenance[BitIdx] != BitPart::Unset && in collectBitParts()
2871 A->Provenance[BitIdx] != B->Provenance[BitIdx]) in collectBitParts()
2874 if (A->Provenance[BitIdx] == BitPart::Unset) in collectBitParts()
2875 Result->Provenance[BitIdx] = B->Provenance[BitIdx]; in collectBitParts()
2877 Result->Provenance[BitIdx] = A->Provenance[BitIdx]; in collectBitParts()
2927 for (unsigned BitIdx = 0; BitIdx < BitWidth; ++BitIdx) in collectBitParts() local
2929 if (AndMask[BitIdx] == 0) in collectBitParts()
2930 Result->Provenance[BitIdx] = BitPart::Unset; in collectBitParts()
2943 for (unsigned BitIdx = 0; BitIdx < NarrowBitWidth; ++BitIdx) in collectBitParts() local
2944 Result->Provenance[BitIdx] = Res->Provenance[BitIdx]; in collectBitParts()
2945 for (unsigned BitIdx = NarrowBitWidth; BitIdx < BitWidth; ++BitIdx) in collectBitParts() local
2946 Result->Provenance[BitIdx] = BitPart::Unset; in collectBitParts()
2959 for (unsigned BitIdx = 0; BitIdx < BitWidth; ++BitIdx) in collectBitParts() local
2960 Result->Provenance[(BitWidth - 1) - BitIdx] = Res->Provenance[BitIdx]; in collectBitParts()
2975 for (unsigned BitIdx = 0; BitIdx < 8; ++BitIdx) in collectBitParts() local
2976 Result->Provenance[(BitWidth - 8 - ByteBitOfs) + BitIdx] = in collectBitParts()
2977 Res->Provenance[ByteBitOfs + BitIdx]; in collectBitParts()
3004 for (unsigned BitIdx = 0; BitIdx < StartBitRHS; ++BitIdx) in collectBitParts() local
3005 Result->Provenance[BitIdx + ModAmt] = LHS->Provenance[BitIdx]; in collectBitParts()
3006 for (unsigned BitIdx = 0; BitIdx < ModAmt; ++BitIdx) in collectBitParts() local
3007 Result->Provenance[BitIdx] = RHS->Provenance[BitIdx + StartBitRHS]; in collectBitParts()
3015 for (unsigned BitIdx = 0; BitIdx < BitWidth; ++BitIdx) in collectBitParts() local
3016 Result->Provenance[BitIdx] = BitIdx; in collectBitParts()
3083 for (unsigned BitIdx = 0; in recognizeBSwapOrBitReverseIdiom() local
3084 (BitIdx < DemandedBW) && (OKForBSwap || OKForBitReverse); ++BitIdx) { in recognizeBSwapOrBitReverseIdiom()
3085 if (BitProvenance[BitIdx] == BitPart::Unset) { in recognizeBSwapOrBitReverseIdiom()
3086 DemandedMask.clearBit(BitIdx); in recognizeBSwapOrBitReverseIdiom()
3089 OKForBSwap &= bitTransformIsCorrectForBSwap(BitProvenance[BitIdx], BitIdx, in recognizeBSwapOrBitReverseIdiom()
3091 OKForBitReverse &= bitTransformIsCorrectForBitReverse(BitProvenance[BitIdx], in recognizeBSwapOrBitReverseIdiom()
3092 BitIdx, DemandedBW); in recognizeBSwapOrBitReverseIdiom()