Searched refs:WideC (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 834 Constant *WideC = ConstantExpr::getSExt(NarrowC, Ty); in foldNoWrapAdd() local 835 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd() 841 Constant *WideC = ConstantExpr::getZExt(NarrowC, Ty); in foldNoWrapAdd() local 842 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd()
|
| H A D | InstructionCombining.cpp | 1906 Constant *WideC; in narrowMathIfNoOverflow() local 1907 if (!Op0->hasOneUse() || !match(Op1, m_Constant(WideC))) in narrowMathIfNoOverflow() 1909 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow() 1910 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
|
| H A D | InstCombineCompares.cpp | 1560 Constant *WideC = ConstantInt::get(X->getType(), C.zext(SrcBits)); in foldICmpTruncConstant() local 1561 return new ICmpInst(Pred, And, WideC); in foldICmpTruncConstant()
|