Searched refs:NegX (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | pr47517.ll | 29 ; To ensure negated result will not be removed when NegX=NegY and 30 ; NegX is needed
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 544 Value *NegX = B.CreateNeg(X, II->getName(), /*HasNUW=*/false, in processAbsIntrinsic() local 547 II->replaceAllUsesWith(NegX); in processAbsIntrinsic() 551 if (auto *BO = dyn_cast<BinaryOperator>(NegX)) in processAbsIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 6767 SDValue NegX = in getNegatedExpression() local 6770 if (NegX) in getNegatedExpression() 6794 if (NegX != N) in getNegatedExpression() 6795 RemoveDeadNode(NegX); in getNegatedExpression() 6823 SDValue NegX = in getNegatedExpression() local 6826 if (NegX) in getNegatedExpression() 6855 if (NegX != N) in getNegatedExpression() 6856 RemoveDeadNode(NegX); in getNegatedExpression() 6879 SDValue NegX = in getNegatedExpression() local 6882 if (NegX) in getNegatedExpression() [all …]
|
| H A D | DAGCombiner.cpp | 3757 SDValue NegX = DAG.getNode(ISD::SUB, DL, VT, Zero, X); in visitSUB() local 3759 DAG.getVTList(VT, Carry.getValueType()), NegX, Zero, in visitSUB()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAddSub.cpp | 2340 Value *NegX = Builder.CreateFNegFMF(X, &I, X->getName() + ".neg"); in visitFNeg() local 2341 SelectInst *NewSel = SelectInst::Create(Cond, NegX, P); in visitFNeg()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2583 Value *NegX = B.CreateNSWNeg(X, "neg"); in optimizeAbs() local 2584 return B.CreateSelect(IsNeg, NegX, X); in optimizeAbs()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 5438 Register NegX = in matchCombineFSubFNegFMulToFMadOrFMA() local 5442 {NegX, FMulMI->getOperand(2).getReg(), NegZ}); in matchCombineFSubFNegFMulToFMadOrFMA()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 6086 SDValue NegX = in lowerABS() local 6089 DAG.getNode(RISCVISD::SMAX_VL, DL, ContainerVT, X, NegX, Mask, VL); in lowerABS()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 53714 SDValue NegX = Cond.getValue(0); in combineSubABS() local 53721 if (!(TrueOp == X && FalseOp == NegX) && !(TrueOp == NegX && FalseOp == X)) in combineSubABS()
|