reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 2048     if (Pred == ICmpInst::ICMP_SGT) {
 2051       return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC));
 2053     if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) &&
 2053     if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) &&
 2056       return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC));
 2058     if (Pred == ICmpInst::ICMP_SLT) {
 2065       return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC));
 2070     if (isSignTest(Pred, C))
 2071       return new ICmpInst(Pred, X, Constant::getNullValue(ShType));
 2078     if (Pred == ICmpInst::ICMP_UGT) {
 2081       return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC));
 2083     if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) &&
 2083     if ((Pred == ICmpInst::ICMP_EQ || Pred == ICmpInst::ICMP_NE) &&
 2086       return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC));
 2088     if (Pred == ICmpInst::ICMP_ULT) {
 2095       return new ICmpInst(Pred, X, ConstantInt::get(ShType, ShiftedC));
 2106     return new ICmpInst(Pred, And, LShrC);
 2111   if (Shl->hasOneUse() && isSignBitCheck(Pred, C, TrueIfSigned)) {
 2125         (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_UGT)) {
 2125         (Pred == ICmpInst::ICMP_ULE || Pred == ICmpInst::ICMP_UGT)) {
 2127       return new ICmpInst(Pred == ICmpInst::ICMP_ULE ? ICmpInst::ICMP_EQ
 2133         (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_UGE)) {
 2133         (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_UGE)) {
 2136       return new ICmpInst(Pred == ICmpInst::ICMP_ULT ? ICmpInst::ICMP_EQ
 2156     return new ICmpInst(Pred, Builder.CreateTrunc(X, TruncTy), NewC);