Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp850 Constant *WideC = ConstantExpr::getSExt(NarrowC, Ty); in foldNoWrapAdd() local
851 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd()
857 Constant *WideC = ConstantExpr::getZExt(NarrowC, Ty); in foldNoWrapAdd() local
858 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C); in foldNoWrapAdd()
DInstructionCombining.cpp1622 Constant *WideC; in narrowMathIfNoOverflow() local
1623 if (!Op0->hasOneUse() || !match(Op1, m_Constant(WideC))) in narrowMathIfNoOverflow()
1625 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow()
1626 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()