Searched refs:ConstB (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 158 const APInt *ConstA = nullptr, *ConstB = nullptr, *ConstC = nullptr; in getMaskedICmpType() local 160 match(B, m_APInt(ConstB)); in getMaskedICmpType() 164 bool IsBPow2 = ConstB && ConstB->isPowerOf2(); in getMaskedICmpType() 195 } else if (ConstB && ConstC && ConstC->isSubsetOf(*ConstB)) { in getMaskedICmpType() 599 const APInt *ConstB, *ConstD; in foldLogOpOfMaskedICmps() local 600 if (!match(B, m_APInt(ConstB)) || !match(D, m_APInt(ConstD))) in foldLogOpOfMaskedICmps() 609 APInt NewMask = *ConstB & *ConstD; in foldLogOpOfMaskedICmps() 610 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps() 621 APInt NewMask = *ConstB | *ConstD; in foldLogOpOfMaskedICmps() 622 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps() [all …]
|
| H A D | InstructionCombining.cpp | 1144 Constant *ConstA, *ConstB; in FoldOpIntoSelect() local 1145 if (!match(A, m_Constant(ConstA)) || !match(B, m_Constant(ConstB))) in FoldOpIntoSelect() 1153 auto *Cmp = ConstantExpr::getCompare(ICmpInst::ICMP_EQ, ConstA, ConstB); in FoldOpIntoSelect()
|