Searched refs:NarrowC (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 837 Constant *NarrowC; in foldNoWrapAdd() local 839 m_NSWAddLike(m_Value(X), m_Constant(NarrowC)))))) { in foldNoWrapAdd() 840 Value *WideC = Builder.CreateSExt(NarrowC, Ty); in foldNoWrapAdd() 847 m_OneUse(m_ZExt(m_NUWAddLike(m_Value(X), m_Constant(NarrowC)))))) { in foldNoWrapAdd() 848 Value *WideC = Builder.CreateZExt(NarrowC, Ty); in foldNoWrapAdd()
|
H A D | InstCombineCasts.cpp | 569 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() local 571 return BinaryOperator::Create(BinOp->getOpcode(), NarrowC, TruncX); in narrowBinOp() 575 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() local 577 return BinaryOperator::Create(BinOp->getOpcode(), TruncX, NarrowC); in narrowBinOp()
|
H A D | InstCombineCalls.cpp | 1724 if (Constant *NarrowC = getLosslessUnsignedTrunc(C, X->getType())) { in visitCallInst() local 1725 Value *NarrowMaxMin = Builder.CreateBinaryIntrinsic(IID, X, NarrowC); in visitCallInst() 1746 if (Constant *NarrowC = getLosslessSignedTrunc(C, X->getType())) { in visitCallInst() local 1747 Value *NarrowMaxMin = Builder.CreateBinaryIntrinsic(IID, X, NarrowC); in visitCallInst()
|
H A D | InstructionCombining.cpp | 2285 Constant *NarrowC = getLosslessTrunc(WideC, X->getType(), CastOpc); in narrowMathIfNoOverflow() local 2286 if (!NarrowC) in narrowMathIfNoOverflow() 2288 Y = NarrowC; in narrowMathIfNoOverflow()
|