Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp374 Value *NewSel = in foldSelectOpOp() local
376 if (auto *NewSelI = dyn_cast<Instruction>(NewSel)) in foldSelectOpOp()
378 Instruction *NewFNeg = UnaryOperator::CreateFNeg(NewSel); in foldSelectOpOp()
392 Value *NewSel = in foldSelectOpOp() local
394 return CallInst::Create(TII->getCalledFunction(), {NewSel, MatchOp}); in foldSelectOpOp()
434 Value *NewSel = Builder.CreateSelect(Cond, OtherOpT, OtherOpF, in foldSelectOpOp() local
438 MatchOp, NewSel); in foldSelectOpOp()
558 Value *NewSel = Builder.CreateSelect(SI.getCondition(), Swapped ? C : OOp, in foldSelectIntoOp() local
561 cast<Instruction>(NewSel)->setFastMathFlags(FMF); in foldSelectIntoOp()
562 NewSel->takeName(TVI); in foldSelectIntoOp()
[all …]
H A DInstCombineAddSub.cpp2493 SelectInst *NewSel = in visitSub() local
2497 NewSel->copyMetadata(cast<Instruction>(*Select)); in visitSub()
2498 return NewSel; in visitSub()
2500 if (Instruction *NewSel = SinkSubIntoSelect( in visitSub() local
2506 return NewSel; in visitSub()
2507 if (Instruction *NewSel = SinkSubIntoSelect( in visitSub() local
2513 return NewSel; in visitSub()
2789 SelectInst *NewSel = SelectInst::Create(Cond, P, NegY); in visitFNeg() local
2790 propagateSelectFMF(NewSel, P == Y); in visitFNeg()
2791 return NewSel; in visitFNeg()
[all …]
H A DInstructionCombining.cpp1340 if (Value *NewSel = foldAddNegate(B, C, RHS)) in SimplifySelectsFeedingBinaryOp() local
1341 return NewSel; in SimplifySelectsFeedingBinaryOp()
1347 if (Value *NewSel = foldAddNegate(E, F, LHS)) in SimplifySelectsFeedingBinaryOp() local
1348 return NewSel; in SimplifySelectsFeedingBinaryOp()
1992 if (Instruction *NewSel = FoldOpIntoSelect(I, Sel)) in foldBinOpIntoSelectOrPhi() local
1993 return NewSel; in foldBinOpIntoSelectOrPhi()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DNSAPI.h166 return getOrInitNullarySelector("new", NewSel); in getNewSelector()
259 isEqualSel, InitSel, NewSel; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1833 Value *NewSel = C.materialize(LoopB, SI->getIterator()); in recognize() local
1834 SI->replaceAllUsesWith(NewSel); in recognize()
1864 Value *NewSel = C.materialize(LoopB, SI->getIterator()); in recognize() local
1865 SI->replaceAllUsesWith(NewSel); in recognize()
H A DHexagonISelDAGToDAG.cpp1148 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, NewOr, VOp); in ppSimplifyOrSelect0() local
1149 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in ppSimplifyOrSelect0()
1152 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, VOp, NewOr); in ppSimplifyOrSelect0() local
1153 DAG.ReplaceAllUsesWith(I, NewSel.getNode()); in ppSimplifyOrSelect0()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp2712 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitADDLike() local
2713 return NewSel; in visitADDLike()
3827 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitSUB() local
3828 return NewSel; in visitSUB()
4362 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitMUL() local
4363 return NewSel; in visitMUL()
4735 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitSDIV() local
4736 return NewSel; in visitSDIV()
4880 if (SDValue NewSel = foldBinOpIntoSelect(N)) in visitUDIV() local
4881 return NewSel; in visitUDIV()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7069 Value *NewSel = Builder.CreateSelect(Cond, NewTVal, NewFVal); in optimizeShiftInst() local
7070 replaceAllUsesWith(Shift, NewSel, FreshBBs, IsHugeFunc); in optimizeShiftInst()
7104 Value *NewSel = Builder.CreateSelect(Cond, NewTVal, NewFVal); in optimizeFunnelShift() local
7105 replaceAllUsesWith(Fsh, NewSel, FreshBBs, IsHugeFunc); in optimizeFunnelShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp7774 if (SDValue NewSel = foldBinOpIntoSelectIfProfitable(*Op->use_begin(), in lowerSELECT()
7776 DAG.ReplaceAllUsesWith(BinOp, &NewSel); in lowerSELECT()
7779 if (NewSel.getOpcode() == ISD::SELECT) in lowerSELECT()
7780 return lowerSELECT(NewSel, DAG); in lowerSELECT()
7781 return NewSel; in lowerSELECT()
15911 SDValue NewSel = in tryFoldSelectIntoOp()
15913 return DAG.getNode(TrueVal.getOpcode(), DL, VT, FalseVal, NewSel);
17011 SDValue NewSel = DAG.getNode(RISCVISD::SELECT_CC, DL, VT, LHS, RHS, CC, in PerformDAGCombine()
17013 return DAG.getNode(ISD::XOR, DL, VT, NewSel, TrueV.getOperand(1)); in PerformDAGCombine()
7772 if (SDValue NewSel = foldBinOpIntoSelectIfProfitable(*Op->use_begin(), lowerSELECT() local
15908 SDValue NewSel = tryFoldSelectIntoOp() local
17008 SDValue NewSel = DAG.getNode(RISCVISD::SELECT_CC, DL, VT, LHS, RHS, CC, PerformDAGCombine() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp42858 SDValue NewSel = SimplifyMultipleUseDemandedBits( in SimplifyDemandedBitsForTargetNode() local
42865 if (NewSel || NewLHS || NewRHS) { in SimplifyDemandedBitsForTargetNode()
42866 NewSel = NewSel ? NewSel : Sel; in SimplifyDemandedBitsForTargetNode()
42870 NewSel, NewLHS, NewRHS)); in SimplifyDemandedBitsForTargetNode()