Searched refs:AddCst (Results 1 – 3 of 3) sorted by relevance
1510 ConstantInt *AddCst; in FoldOrOfICmps() local1511 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst)))) in FoldOrOfICmps()1512 if (RHSCst->getValue() + AddCst->getValue() == LHSCst->getValue()) in FoldOrOfICmps()
1843 ConstantInt *AddCst; in FoldOrOfICmps() local1844 if (match(Val, m_Add(m_Specific(Val2), m_ConstantInt(AddCst)))) in FoldOrOfICmps()1845 if (RHSCst->getValue() + AddCst->getValue() == LHSCst->getValue()) in FoldOrOfICmps()
3020 const APInt AddCst = ICmpCst.lshr(1); in foldICmpWithTruncSignExtendedVal() local3021 assert(AddCst.ult(ICmpCst) && AddCst.isPowerOf2()); in foldICmpWithTruncSignExtendedVal()3024 Value *T0 = Builder.CreateAdd(X, ConstantInt::get(XType, AddCst)); in foldICmpWithTruncSignExtendedVal()