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

References

lib/Analysis/ConstantFolding.cpp
 2127         !getConstIntOrUndef(Operands[1], C1))
 2140       if (!C0 || !C1) {
 2151       if (!C0 || !C1)
 2159         Res = C0->sadd_ov(*C1, Overflow);
 2162         Res = C0->uadd_ov(*C1, Overflow);
 2165         Res = C0->ssub_ov(*C1, Overflow);
 2168         Res = C0->usub_ov(*C1, Overflow);
 2171         Res = C0->smul_ov(*C1, Overflow);
 2174         Res = C0->umul_ov(*C1, Overflow);
 2185       if (!C0 && !C1)
 2187       if (!C0 || !C1)
 2190         return ConstantInt::get(Ty, C0->uadd_sat(*C1));
 2192         return ConstantInt::get(Ty, C0->sadd_sat(*C1));
 2195       if (!C0 && !C1)
 2197       if (!C0 || !C1)
 2200         return ConstantInt::get(Ty, C0->usub_sat(*C1));
 2202         return ConstantInt::get(Ty, C0->ssub_sat(*C1));
 2205       assert(C1 && "Must be constant int");
 2208       if (C1->isOneValue() && (!C0 || C0->isNullValue()))