Searched refs:WideC (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 833 Constant *WideC = ConstantExpr::getSExt(NarrowC, Ty); in foldNoWrapAdd() local 834 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd() 840 Constant *WideC = ConstantExpr::getZExt(NarrowC, Ty); in foldNoWrapAdd() local 841 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd()
|
| H A D | InstructionCombining.cpp | 1921 Constant *WideC; in narrowMathIfNoOverflow() local 1922 if (!Op0->hasOneUse() || !match(Op1, m_Constant(WideC))) in narrowMathIfNoOverflow() 1924 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow() 1925 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
|
| H A D | InstCombineCompares.cpp | 1469 Constant *WideC = ConstantInt::get(SrcTy, C.zext(SrcBits)); in foldICmpTruncConstant() local 1470 return new ICmpInst(Pred, And, WideC); in foldICmpTruncConstant()
|