Searched refs:ConstB (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/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() 602 const APInt *ConstB, *ConstD; in foldLogOpOfMaskedICmps() local 603 if (!match(B, m_APInt(ConstB)) || !match(D, m_APInt(ConstD))) in foldLogOpOfMaskedICmps() 612 APInt NewMask = *ConstB & *ConstD; in foldLogOpOfMaskedICmps() 613 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps() 624 APInt NewMask = *ConstB | *ConstD; in foldLogOpOfMaskedICmps() 625 if (NewMask == *ConstB) in foldLogOpOfMaskedICmps() [all …]
|
| H A D | InstructionCombining.cpp | 1102 Constant *ConstA, *ConstB; in FoldOpIntoSelect() local 1103 if (!match(A, m_Constant(ConstA)) || !match(B, m_Constant(ConstB))) in FoldOpIntoSelect() 1111 auto *Cmp = ConstantExpr::getCompare(ICmpInst::ICMP_EQ, ConstA, ConstB); in FoldOpIntoSelect()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | MCPlusBuilder.cpp | 82 const auto &ConstB = cast<MCConstantExpr>(B); in equals() local 83 return ConstA.getValue() == ConstB.getValue(); in equals()
|