Lines Matching refs:TrueIfSigned
1582 bool TrueIfSigned; in foldICmpTruncConstant() local
1583 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpTruncConstant()
1586 return TrueIfSigned in foldICmpTruncConstant()
1609 bool TrueIfSigned = false; in foldICmpXorConstant() local
1610 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1618 if (TrueIfSigned) in foldICmpXorConstant()
1948 bool TrueIfSigned; in foldICmpOrConstant() local
1949 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpOrConstant()
1951 auto NewPred = TrueIfSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGT; in foldICmpOrConstant()
1952 Constant *NewC = ConstantInt::get(X->getType(), TrueIfSigned ? 1 : 0); in foldICmpOrConstant()
2207 bool TrueIfSigned = false; in foldICmpShlConstant() local
2208 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) { in foldICmpShlConstant()
2214 return new ICmpInst(TrueIfSigned ? ICmpInst::ICMP_NE : ICmpInst::ICMP_EQ, in foldICmpShlConstant()
2278 bool TrueIfSigned; in foldICmpShrConstant() local
2280 isSignBitCheck(Pred, C, TrueIfSigned)) in foldICmpShrConstant()
2281 return new ICmpInst(TrueIfSigned ? CmpInst::ICMP_EQ : CmpInst::ICMP_NE, in foldICmpShrConstant()
3016 bool TrueIfSigned; in foldICmpBitCast() local
3018 isSignBitCheck(Pred, *C, TrueIfSigned)) { in foldICmpBitCast()
3031 if (TrueIfSigned) in foldICmpBitCast()