Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1127 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd() local
1128 return BinaryOperator::CreateNeg(NewAdd); in visitAdd()
1171 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName()); in visitAdd() local
1172 return BinaryOperator::CreateAnd(NewAdd, C2); in visitAdd()
1218 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd() local
1220 return new SExtInst(NewAdd, I.getType()); in visitAdd()
1235 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitAdd() local
1237 return new SExtInst(NewAdd, I.getType()); in visitAdd()
1347 Value *NewAdd = Builder->CreateNSWAdd(LHSConv->getOperand(0), in visitFAdd() local
1349 return new SIToFPInst(NewAdd, I.getType()); in visitFAdd()
[all …]
DInstCombineCompares.cpp3916 Value *NewAdd = Builder->CreateNSWAdd(A, C3); in visitICmpInst() local
3917 return new ICmpInst(Pred, NewAdd, C); in visitICmpInst()
3920 Value *NewAdd = Builder->CreateNSWAdd(C, C3); in visitICmpInst() local
3921 return new ICmpInst(Pred, A, NewAdd); in visitICmpInst()
DInstCombineAndOrXor.cpp1768 Value *NewAdd = Builder->CreateAdd(NewAnd, MaxAddCst); in FoldOrOfICmps() local
1769 return (Builder->CreateICmp(LHS->getPredicate(), NewAdd, LHSCst)); in FoldOrOfICmps()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1339 Value *NewAdd = Builder.CreateAdd(X, CRHS, LHS->getName()); in visitAdd() local
1340 return BinaryOperator::CreateAnd(NewAdd, C2); in visitAdd()
1545 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd() local
1546 return new SIToFPInst(NewAdd, I.getType()); in visitFAdd()
1563 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd() local
1564 return new SIToFPInst(NewAdd, I.getType()); in visitFAdd()
DInstCombineCompares.cpp3866 Value *NewAdd = Builder.CreateNSWAdd(A, C3); in foldICmpBinOp() local
3867 return new ICmpInst(Pred, NewAdd, C); in foldICmpBinOp()
3870 Value *NewAdd = Builder.CreateNSWAdd(C, C3); in foldICmpBinOp() local
3871 return new ICmpInst(Pred, A, NewAdd); in foldICmpBinOp()
DInstCombineAndOrXor.cpp2249 Value *NewAdd = Builder.CreateAdd(NewAnd, MaxAddC); in foldOrOfICmps() local
2250 return Builder.CreateICmp(LHS->getPredicate(), NewAdd, LHSC); in foldOrOfICmps()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp984 Value *NewAdd = Builder.CreateAdd(X, ConstantInt::get(Ty, *C)); in foldAddWithConstant() local
985 return BinaryOperator::CreateAnd(NewAdd, ConstantInt::get(Ty, *C2)); in foldAddWithConstant()
1578 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, CI, "addconv"); in visitFAdd() local
1579 return new SIToFPInst(NewAdd, I.getType()); in visitFAdd()
1596 Value *NewAdd = Builder.CreateNSWAdd(LHSIntVal, RHSIntVal, "addconv"); in visitFAdd() local
1597 return new SIToFPInst(NewAdd, I.getType()); in visitFAdd()
DInstCombineCompares.cpp3931 Value *NewAdd = Builder.CreateNSWAdd(A, C3); in foldICmpBinOp() local
3932 return new ICmpInst(Pred, NewAdd, C); in foldICmpBinOp()
3935 Value *NewAdd = Builder.CreateNSWAdd(C, C3); in foldICmpBinOp() local
3936 return new ICmpInst(Pred, A, NewAdd); in foldICmpBinOp()
DInstCombineAndOrXor.cpp2335 Value *NewAdd = Builder.CreateAdd(NewAnd, MaxAddC); in foldOrOfICmps() local
2336 return Builder.CreateICmp(LHS->getPredicate(), NewAdd, LHSC); in foldOrOfICmps()
/external/llvm-project/polly/lib/Support/
DSCEVValidator.cpp756 auto *NewAdd = SE.getAddExpr(LeftOvers, Add->getNoWrapFlags()); in extractConstantFactor() local
757 return std::make_pair(Factor, NewAdd); in extractConstantFactor()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp367 Value *NewAdd = in handleFloatingPointIV() local
370 NewPHI->addIncoming(NewAdd, PN->getIncomingBlock(BackEdge)); in handleFloatingPointIV()
372 ICmpInst *NewCompare = new ICmpInst(TheBr, NewPred, NewAdd, in handleFloatingPointIV()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp403 Value *NewAdd = in handleFloatingPointIV() local
406 NewPHI->addIncoming(NewAdd, PN->getIncomingBlock(BackEdge)); in handleFloatingPointIV()
408 ICmpInst *NewCompare = new ICmpInst(TheBr, NewPred, NewAdd, in handleFloatingPointIV()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp463 Value *NewAdd = in handleFloatingPointIV() local
466 NewPHI->addIncoming(NewAdd, PN->getIncomingBlock(BackEdge)); in handleFloatingPointIV()
468 ICmpInst *NewCompare = new ICmpInst(TheBr, NewPred, NewAdd, in handleFloatingPointIV()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1370 SDValue NewAdd = DAG.getNode(ISD::ADD, DL, VT, T1.getOperand(0), D); in PreprocessISelDAG() local
1372 SDValue NewShl = DAG.getNode(ISD::SHL, DL, VT, NewAdd, C); in PreprocessISelDAG()
DHexagonInstrInfo.cpp718 MachineInstr *NewAdd = BuildMI(&MBB, DL, get(Hexagon::A2_addi), NewLoopCount). in reduceLoopCount() local
726 PrevInsts.push_back(NewAdd); in reduceLoopCount()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1069 SDValue NewAdd = DAG.getNode(ISD::ADD, DL, VT, T1.getOperand(0), D); in ppAddrReorderAddShl() local
1071 SDValue NewShl = DAG.getNode(ISD::SHL, DL, VT, NewAdd, C); in ppAddrReorderAddShl()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1077 SDValue NewAdd = DAG.getNode(ISD::ADD, DL, VT, T1.getOperand(0), D); in ppAddrReorderAddShl() local
1079 SDValue NewShl = DAG.getNode(ISD::SHL, DL, VT, NewAdd, C); in ppAddrReorderAddShl()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2948 SDValue NewAdd = in visitANDLike() local
2951 CombineTo(N0.getNode(), NewAdd); in visitANDLike()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4703 SDValue NewAdd = in visitANDLike() local
4706 CombineTo(N0.getNode(), NewAdd); in visitANDLike()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4976 SDValue NewAdd = in visitANDLike() local
4979 CombineTo(N0.getNode(), NewAdd); in visitANDLike()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp43508 if (SDValue NewAdd = promoteExtBeforeAdd(N, DAG, Subtarget)) in combineSext() local
43509 return NewAdd; in combineSext()
43649 if (SDValue NewAdd = promoteExtBeforeAdd(N, DAG, Subtarget)) in combineZext() local
43650 return NewAdd; in combineZext()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp46925 if (SDValue NewAdd = promoteExtBeforeAdd(N, DAG, Subtarget)) in combineSext() local
46926 return NewAdd; in combineSext()
47071 if (SDValue NewAdd = promoteExtBeforeAdd(N, DAG, Subtarget)) in combineZext() local
47072 return NewAdd; in combineZext()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp30191 if (SDValue NewAdd = promoteSextBeforeAddNSW(N, DAG, Subtarget)) in combineSext() local
30192 return NewAdd; in combineSext()