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

References

lib/Analysis/ConstantFolding.cpp
 2032     if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy())
 2032     if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy())
 2032     if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy())
 2042         return ConstantFoldBinaryFP(pow, Op1V, Op2V, Ty);
 2048         return ConstantFP::get(Ty->getContext(), V1);
 2054         return ConstantFP::get(Ty->getContext(), minnum(C1, C2));
 2060         return ConstantFP::get(Ty->getContext(), maxnum(C1, C2));
 2066         return ConstantFP::get(Ty->getContext(), minimum(C1, C2));
 2072         return ConstantFP::get(Ty->getContext(), maximum(C1, C2));
 2088           return ConstantFoldBinaryFP(pow, Op1V, Op2V, Ty);
 2095             return ConstantFP::get(Ty->getContext(), V);
 2103           return ConstantFoldBinaryFP(atan2, Op1V, Op2V, Ty);
 2107       if (IntrinsicID == Intrinsic::powi && Ty->isHalfTy())
 2108         return ConstantFP::get(Ty->getContext(),
 2111       if (IntrinsicID == Intrinsic::powi && Ty->isFloatTy())
 2112         return ConstantFP::get(Ty->getContext(),
 2115       if (IntrinsicID == Intrinsic::powi && Ty->isDoubleTy())
 2116         return ConstantFP::get(Ty->getContext(),
 2142             cast<StructType>(Ty),
 2143             {UndefValue::get(Ty->getStructElementType(0)),
 2144              Constant::getNullValue(Ty->getStructElementType(1))});
 2152         return Constant::getNullValue(Ty);
 2178         ConstantInt::get(Ty->getContext(), Res),
 2179         ConstantInt::get(Type::getInt1Ty(Ty->getContext()), Overflow)
 2181       return ConstantStruct::get(cast<StructType>(Ty), Ops);
 2186         return UndefValue::get(Ty);
 2188         return Constant::getAllOnesValue(Ty);
 2190         return ConstantInt::get(Ty, C0->uadd_sat(*C1));
 2192         return ConstantInt::get(Ty, C0->sadd_sat(*C1));
 2196         return UndefValue::get(Ty);
 2198         return Constant::getNullValue(Ty);
 2200         return ConstantInt::get(Ty, C0->usub_sat(*C1));
 2202         return ConstantInt::get(Ty, C0->ssub_sat(*C1));
 2209         return UndefValue::get(Ty);
 2211         return Constant::getNullValue(Ty);
 2213         return ConstantInt::get(Ty, C0->countTrailingZeros());
 2215         return ConstantInt::get(Ty, C0->countLeadingZeros());
 2238                                            /*roundTowardZero=*/false, Ty,
 2248                                            /*roundTowardZero=*/false, Ty,
 2258                                            /*roundTowardZero=*/true, Ty,
 2268                                            /*roundTowardZero=*/true, Ty,