Home | History | Annotate | Download | only in Analysis

Lines Matching refs:ICmpInst

1763     Pred = ICmpInst::getSignedPredicate(Pred);
1846 /// SimplifyICmpInst - Given operands for an ICmpInst, see if we can
1875 case ICmpInst::ICMP_EQ:
1880 case ICmpInst::ICMP_NE:
1885 case ICmpInst::ICMP_UGT:
1890 case ICmpInst::ICMP_UGE:
1895 case ICmpInst::ICMP_SLT:
1900 case ICmpInst::ICMP_SLE:
1913 case ICmpInst::ICMP_ULT:
1915 case ICmpInst::ICMP_UGE:
1917 case ICmpInst::ICMP_EQ:
1918 case ICmpInst::ICMP_ULE:
1922 case ICmpInst::ICMP_NE:
1923 case ICmpInst::ICMP_UGT:
1927 case ICmpInst::ICMP_SLT:
1934 case ICmpInst::ICMP_SLE:
1941 case ICmpInst::ICMP_SGE:
1948 case ICmpInst::ICMP_SGT:
1961 ConstantRange RHS_CR = ICmpInst::makeConstantRange(Pred, CI->getValue());
2058 if (Value *V = SimplifyICmpInst(ICmpInst::getUnsignedPredicate(Pred),
2074 if (Value *V = SimplifyICmpInst(ICmpInst::getUnsignedPredicate(Pred),
2084 case ICmpInst::ICMP_EQ:
2085 case ICmpInst::ICMP_UGT:
2086 case ICmpInst::ICMP_UGE:
2089 case ICmpInst::ICMP_NE:
2090 case ICmpInst::ICMP_ULT:
2091 case ICmpInst::ICMP_ULE:
2096 case ICmpInst::ICMP_SGT:
2097 case ICmpInst::ICMP_SGE:
2102 case ICmpInst::ICMP_SLT:
2103 case ICmpInst::ICMP_SLE:
2141 case ICmpInst::ICMP_EQ:
2143 case ICmpInst::ICMP_NE:
2148 case ICmpInst::ICMP_SGT:
2149 case ICmpInst::ICMP_SGE:
2153 case ICmpInst::ICMP_SLT:
2154 case ICmpInst::ICMP_SLE:
2161 case ICmpInst::ICMP_UGT:
2162 case ICmpInst::ICMP_UGE:
2165 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SLT, SrcOp,
2170 case ICmpInst::ICMP_ULT:
2171 case ICmpInst::ICMP_ULE:
2174 if (Value *V = SimplifyICmpInst(ICmpInst::ICMP_SGE, SrcOp,
2195 NoLHSWrapProblem = ICmpInst::isEquality(Pred) ||
2201 NoRHSWrapProblem = ICmpInst::isEquality(Pred) ||
2254 case ICmpInst::ICMP_SGT:
2255 case ICmpInst::ICMP_SGE:
2260 case ICmpInst::ICMP_EQ:
2261 case ICmpInst::ICMP_UGT:
2262 case ICmpInst::ICMP_UGE:
2264 case ICmpInst::ICMP_SLT:
2265 case ICmpInst::ICMP_SLE:
2270 case ICmpInst::ICMP_NE:
2271 case ICmpInst::ICMP_ULT:
2272 case ICmpInst::ICMP_ULE:
2283 case ICmpInst::ICMP_SGT:
2284 case ICmpInst::ICMP_SGE:
2289 case ICmpInst::ICMP_NE:
2290 case ICmpInst::ICMP_UGT:
2291 case ICmpInst::ICMP_UGE:
2293 case ICmpInst::ICMP_SLT:
2294 case ICmpInst::ICMP_SLE:
2299 case ICmpInst::ICMP_EQ:
2300 case ICmpInst::ICMP_ULT:
2301 case ICmpInst::ICMP_ULE:
2309 if (Pred == ICmpInst::ICMP_UGT)
2311 if (Pred == ICmpInst::ICMP_ULE)
2321 if (ICmpInst::isSigned(Pred))
2337 if (!NSW && ICmpInst::isSigned(Pred))
2545 (ICmpInst::isEquality(Pred) ||
2547 Pred == ICmpInst::getSignedPredicate(Pred)))) {
3102 Result = SimplifyICmpInst(cast<ICmpInst>(I)->getPredicate(),