Home
last modified time | relevance | path

Searched refs:BitProvenance (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLocal.cpp3177 ArrayRef<int8_t> BitProvenance = Res->Provenance; in recognizeBSwapOrBitReverseIdiom() local
3178 assert(all_of(BitProvenance, in recognizeBSwapOrBitReverseIdiom()
3184 if (BitProvenance.back() == BitPart::Unset) { in recognizeBSwapOrBitReverseIdiom()
3185 while (!BitProvenance.empty() && BitProvenance.back() == BitPart::Unset) in recognizeBSwapOrBitReverseIdiom()
3186 BitProvenance = BitProvenance.drop_back(); in recognizeBSwapOrBitReverseIdiom()
3187 if (BitProvenance.empty()) in recognizeBSwapOrBitReverseIdiom()
3189 DemandedTy = Type::getIntNTy(I->getContext(), BitProvenance.size()); in recognizeBSwapOrBitReverseIdiom()
3206 if (BitProvenance[BitIdx] == BitPart::Unset) { in recognizeBSwapOrBitReverseIdiom()
3210 OKForBSwap &= bitTransformIsCorrectForBSwap(BitProvenance[BitIdx], BitIdx, in recognizeBSwapOrBitReverseIdiom()
3212 OKForBitReverse &= bitTransformIsCorrectForBitReverse(BitProvenance[BitIdx], in recognizeBSwapOrBitReverseIdiom()