Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp397 Value *NewSel = Builder.CreateSelect(SI.getCondition(), OOp, C); in foldSelectIntoOp() local
398 NewSel->takeName(TVI); in foldSelectIntoOp()
400 FalseVal, NewSel); in foldSelectIntoOp()
428 Value *NewSel = Builder.CreateSelect(SI.getCondition(), C, OOp); in foldSelectIntoOp() local
429 NewSel->takeName(FVI); in foldSelectIntoOp()
431 TrueVal, NewSel); in foldSelectIntoOp()
916 if (Instruction *NewSel = canonicalizeMinMaxWithConstant(SI, *ICI, Builder)) in foldSelectInstWithICmp() local
917 return NewSel; in foldSelectInstWithICmp()
1213 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp, in foldAddSubSelect() local
1218 BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect()
[all …]
DInstructionCombining.cpp1031 if (Instruction *NewSel = FoldOpIntoSelect(I, Sel)) in foldBinOpIntoSelectOrPhi() local
1032 return NewSel; in foldBinOpIntoSelectOrPhi()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp250 Value *NewSel = Builder->CreateSelect(SI.getCondition(), OOp, C); in FoldSelectIntoOp() local
251 NewSel->takeName(TVI); in FoldSelectIntoOp()
254 FalseVal, NewSel); in FoldSelectIntoOp()
280 Value *NewSel = Builder->CreateSelect(SI.getCondition(), C, OOp); in FoldSelectIntoOp() local
281 NewSel->takeName(FVI); in FoldSelectIntoOp()
284 TrueVal, NewSel); in FoldSelectIntoOp()
894 Value *NewSel = Builder.CreateSelect(CondVal, NewTrueOp, NewFalseOp, in foldAddSubSelect() local
899 BinaryOperator::CreateFAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect()
906 return BinaryOperator::CreateAdd(SubOp->getOperand(0), NewSel); in foldAddSubSelect()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1313 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, NewOr, VOp); in PreprocessISelDAG() local
1314 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in PreprocessISelDAG()
1317 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, VOp, NewOr); in PreprocessISelDAG() local
1318 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in PreprocessISelDAG()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2109 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitADD() local
2110 return NewSel; in visitADD()
2578 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitSUB() local
2579 return NewSel; in visitSUB()
2902 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitMUL() local
2903 return NewSel; in visitMUL()
3123 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitSDIV() local
3124 return NewSel; in visitSDIV()
3260 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitUDIV() local
3261 return NewSel; in visitUDIV()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1823 Value *NewSel = C.materialize(LoopB, SI->getIterator()); in recognize() local
1824 SI->replaceAllUsesWith(NewSel); in recognize()
1854 Value *NewSel = C.materialize(LoopB, SI->getIterator()); in recognize() local
1855 SI->replaceAllUsesWith(NewSel); in recognize()
DHexagonISelDAGToDAG.cpp1007 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, NewOr, VOp); in ppSimplifyOrSelect0() local
1008 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in ppSimplifyOrSelect0()
1011 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, VOp, NewOr); in ppSimplifyOrSelect0() local
1012 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in ppSimplifyOrSelect0()