Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp121 const APInt *ConstA = nullptr, *ConstB = nullptr, *ConstC = nullptr; in getMaskedICmpType() local
123 match(B, m_APInt(ConstB)); in getMaskedICmpType()
127 bool IsBPow2 = ConstB && ConstB->isPowerOf2(); in getMaskedICmpType()
158 } else if (ConstB && ConstC && ConstC->isSubsetOf(*ConstB)) { in getMaskedICmpType()
603 const APInt *ConstB, *ConstD; in foldLogOpOfMaskedICmps() local
604 if (match(B, m_APInt(ConstB)) && match(D, m_APInt(ConstD))) { in foldLogOpOfMaskedICmps()
611 APInt NewMask = *ConstB & *ConstD; in foldLogOpOfMaskedICmps()
612 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps()
628 APInt NewMask = *ConstB | *ConstD; in foldLogOpOfMaskedICmps()
629 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps()
[all …]