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.cpp120 const APInt *ConstA = nullptr, *ConstB = nullptr, *ConstC = nullptr; in getMaskedICmpType() local
122 match(B, m_APInt(ConstB)); in getMaskedICmpType()
126 bool IsBPow2 = ConstB && ConstB->isPowerOf2(); in getMaskedICmpType()
157 } else if (ConstB && ConstC && ConstC->isSubsetOf(*ConstB)) { in getMaskedICmpType()
561 const APInt *ConstB, *ConstD; in foldLogOpOfMaskedICmps() local
562 if (!match(B, m_APInt(ConstB)) || !match(D, m_APInt(ConstD))) in foldLogOpOfMaskedICmps()
571 APInt NewMask = *ConstB & *ConstD; in foldLogOpOfMaskedICmps()
572 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps()
583 APInt NewMask = *ConstB | *ConstD; in foldLogOpOfMaskedICmps()
584 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps()
[all …]