Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:C3

1182       // If this is: (X >> C1) & C2 != C3 (where any shift and any compare
1183 // could exist), turn it into (X & (C2 << C1)) != (C3 << C1). This
2940 // icmp (X + C1), (Y + C2) -> icmp (X + C3), Y
2941 // s.t. C3 = C1 - C2
2944 // icmp (X + C1), (Y + C2) -> icmp X, (Y + C3)
2945 // s.t. C3 = C2 - C1
2956 ConstantInt *C3 = Builder->getInt(AP1 - AP2);
2957 Value *NewAdd = Builder->CreateNSWAdd(A, C3);
2960 ConstantInt *C3 = Builder->getInt(AP2 - AP1);
2961 Value *NewAdd = Builder->CreateNSWAdd(C, C3);