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

References

lib/Analysis/ConstantFolding.cpp
 1697       return ConstantInt::getTrue(Ty->getContext());
 1705       return Constant::getNullValue(Ty);
 1738       return ConstantInt::get(Ty->getContext(), Val.bitcastToAPInt());
 1741     if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy())
 1741     if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy())
 1741     if (!Ty->isHalfTy() && !Ty->isFloatTy() && !Ty->isDoubleTy())
 1749       return ConstantFP::get(Ty->getContext(), U);
 1754       return ConstantFP::get(Ty->getContext(), U);
 1759       return ConstantFP::get(Ty->getContext(), U);
 1764       return ConstantFP::get(Ty->getContext(), U);
 1769       return ConstantFP::get(Ty->getContext(), U);
 1774       return ConstantFP::get(Ty->getContext(), U);
 1792         return ConstantFoldFP(log, V, Ty);
 1795         return ConstantFoldFP(Log2, V, Ty);
 1798         return ConstantFoldFP(log10, V, Ty);
 1800         return ConstantFoldFP(exp, V, Ty);
 1803         return ConstantFoldBinaryFP(pow, 2.0, V, Ty);
 1805         return ConstantFoldFP(sin, V, Ty);
 1807         return ConstantFoldFP(cos, V, Ty);
 1809         return ConstantFoldFP(sqrt, V, Ty);
 1825         return ConstantFoldFP(acos, V, Ty);
 1832         return ConstantFoldFP(asin, V, Ty);
 1837         return ConstantFoldFP(atan, V, Ty);
 1843         return ConstantFP::get(Ty->getContext(), U);
 1849         return ConstantFoldFP(cos, V, Ty);
 1856         return ConstantFoldFP(cosh, V, Ty);
 1863         return ConstantFoldFP(exp, V, Ty);
 1871         return ConstantFoldBinaryFP(pow, 2.0, V, Ty);
 1877         return ConstantFP::get(Ty->getContext(), U);
 1884         return ConstantFP::get(Ty->getContext(), U);
 1892         return ConstantFoldFP(log, V, Ty);
 1900         return ConstantFoldFP(Log2, V, Ty);
 1908         return ConstantFoldFP(log10, V, Ty);
 1916         return ConstantFP::get(Ty->getContext(), U);
 1923         return ConstantFP::get(Ty->getContext(), U);
 1929         return ConstantFoldFP(sin, V, Ty);
 1936         return ConstantFoldFP(sinh, V, Ty);
 1941         return ConstantFoldFP(sqrt, V, Ty);
 1946         return ConstantFoldFP(tan, V, Ty);
 1951         return ConstantFoldFP(tanh, V, Ty);
 1957         return ConstantFP::get(Ty->getContext(), U);
 1967       return ConstantInt::get(Ty->getContext(), Op->getValue().byteSwap());
 1969       return ConstantInt::get(Ty, Op->getValue().countPopulation());
 1971       return ConstantInt::get(Ty->getContext(), Op->getValue().reverseBits());
 1977           Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost);
 1984       return ConstantFP::get(Ty->getContext(), Val);
 2004                                            /*roundTowardZero=*/false, Ty,
 2014                                            /*roundTowardZero=*/true, Ty,