Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1421 Value *LHSIntVal = LHSConv->getOperand(0); in visitFAdd() local
1444 if (IsValidPromotion(FPType, LHSIntVal->getType())) { in visitFAdd()
1446 ConstantExpr::getFPToSI(CFP, LHSIntVal->getType()); in visitFAdd()
1449 willNotOverflowSignedAdd(LHSIntVal, CI, I)) { in visitFAdd()
1451 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd()
1461 if (IsValidPromotion(FPType, LHSIntVal->getType())) { in visitFAdd()
1465 if (LHSIntVal->getType() == RHSIntVal->getType() && in visitFAdd()
1467 willNotOverflowSignedAdd(LHSIntVal, RHSIntVal, I)) { in visitFAdd()
1469 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd()