Lines Matching refs:TrueIfSigned
1470 bool TrueIfSigned; in foldICmpTruncConstant() local
1471 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpTruncConstant()
1474 return TrueIfSigned ? new ICmpInst(ICmpInst::ICMP_SLT, ShOp, in foldICmpTruncConstant()
1554 bool TrueIfSigned = false; in foldICmpXorConstant() local
1555 if (isSignBitCheck(Cmp.getPredicate(), C, TrueIfSigned)) { in foldICmpXorConstant()
1563 if (TrueIfSigned) in foldICmpXorConstant()
2025 bool TrueIfSigned; in foldICmpOrConstant() local
2026 if (isSignBitCheck(Pred, C, TrueIfSigned) && in foldICmpOrConstant()
2028 auto NewPred = TrueIfSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGT; in foldICmpOrConstant()
2029 Constant *NewC = ConstantInt::get(X->getType(), TrueIfSigned ? 1 : 0); in foldICmpOrConstant()
2321 bool TrueIfSigned = false; in foldICmpShlConstant() local
2322 if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) { in foldICmpShlConstant()
2328 return new ICmpInst(TrueIfSigned ? ICmpInst::ICMP_NE : ICmpInst::ICMP_EQ, in foldICmpShlConstant()
2392 bool TrueIfSigned; in foldICmpShrConstant() local
2394 isSignBitCheck(Pred, C, TrueIfSigned)) in foldICmpShrConstant()
2395 return new ICmpInst(TrueIfSigned ? CmpInst::ICMP_EQ : CmpInst::ICMP_NE, in foldICmpShrConstant()
3214 bool TrueIfSigned; in foldICmpBitCast() local
3216 isSignBitCheck(Pred, *C, TrueIfSigned)) { in foldICmpBitCast()
3229 if (TrueIfSigned) in foldICmpBitCast()