Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp340 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI); in foldSelectOpOp() local
344 return BinaryOperator::CreateFNegFMF(NewSel, cast<BinaryOperator>(TI)); in foldSelectOpOp()
345 return UnaryOperator::CreateFNeg(NewSel); in foldSelectOpOp()
447 Value *NewSel = Builder.CreateSelect(SI.getCondition(), OOp, C); in foldSelectIntoOp() local
448 NewSel->takeName(TVI); in foldSelectIntoOp()
450 FalseVal, NewSel); in foldSelectIntoOp()
478 Value *NewSel = Builder.CreateSelect(SI.getCondition(), C, OOp); in foldSelectIntoOp() local
479 NewSel->takeName(FVI); in foldSelectIntoOp()
481 TrueVal, NewSel); in foldSelectIntoOp()
1402 if (Instruction *NewSel = canonicalizeMinMaxWithConstant(SI, *ICI, Builder)) in foldSelectInstWithICmp() local
[all …]
DInstCombineAddSub.cpp1936 SelectInst *NewSel = in visitSub() local
1940 NewSel->copyMetadata(cast<Instruction>(*Select)); in visitSub()
1941 return NewSel; in visitSub()
1943 if (Instruction *NewSel = SinkSubIntoSelect( in visitSub() local
1949 return NewSel; in visitSub()
1950 if (Instruction *NewSel = SinkSubIntoSelect( in visitSub() local
1956 return NewSel; in visitSub()
DInstructionCombining.cpp1111 if (Instruction *NewSel = FoldOpIntoSelect(I, Sel)) in foldBinOpIntoSelectOrPhi() local
1112 return NewSel; in foldBinOpIntoSelectOrPhi()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1826 Value *NewSel = C.materialize(LoopB, SI->getIterator()); in recognize() local
1827 SI->replaceAllUsesWith(NewSel); in recognize()
1857 Value *NewSel = C.materialize(LoopB, SI->getIterator()); in recognize() local
1858 SI->replaceAllUsesWith(NewSel); in recognize()
DHexagonISelDAGToDAG.cpp1008 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, NewOr, VOp); in ppSimplifyOrSelect0() local
1009 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in ppSimplifyOrSelect0()
1012 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, VOp, NewOr); in ppSimplifyOrSelect0() local
1013 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in ppSimplifyOrSelect0()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2165 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitADDLike() local
2166 return NewSel; in visitADDLike()
2978 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitSUB() local
2979 return NewSel; in visitSUB()
3485 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitMUL() local
3486 return NewSel; in visitMUL()
3765 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitSDIV() local
3766 return NewSel; in visitSDIV()
3908 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitUDIV() local
3909 return NewSel; in visitUDIV()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6041 Value *NewSel = Builder.CreateSelect(Cond, NewTVal, NewFVal); in optimizeShiftInst() local
6042 Shift->replaceAllUsesWith(NewSel); in optimizeShiftInst()