Home
last modified time | relevance | path

Searched refs:NarrowC (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp602 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() local
604 return BinaryOperator::Create(BinOp->getOpcode(), NarrowC, TruncX); in narrowBinOp()
608 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() local
610 return BinaryOperator::Create(BinOp->getOpcode(), TruncX, NarrowC); in narrowBinOp()
H A DInstructionCombining.cpp1527 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow() local
1528 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
1530 Y = NarrowC; in narrowMathIfNoOverflow()