Home
last modified time | relevance | path

Searched refs:NegX (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp506 Value *NegX = B.CreateNeg(X, II->getName(), /*HasNUW=*/false, in processAbsIntrinsic() local
509 II->replaceAllUsesWith(NegX); in processAbsIntrinsic()
513 if (auto *BO = dyn_cast<BinaryOperator>(NegX)) in processAbsIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp7198 SDValue NegX = in getNegatedExpression() local
7201 if (NegX) in getNegatedExpression()
7225 if (NegX != N) in getNegatedExpression()
7226 RemoveDeadNode(NegX); in getNegatedExpression()
7254 SDValue NegX = in getNegatedExpression() local
7257 if (NegX) in getNegatedExpression()
7286 if (NegX != N) in getNegatedExpression()
7287 RemoveDeadNode(NegX); in getNegatedExpression()
7310 SDValue NegX = in getNegatedExpression() local
7313 if (NegX) in getNegatedExpression()
[all …]
H A DDAGCombiner.cpp4142 SDValue NegX = DAG.getNode(ISD::SUB, DL, VT, Zero, X); in visitSUB() local
4144 DAG.getVTList(VT, Carry.getValueType()), NegX, Zero, in visitSUB()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1227 Value *NegX = Builder.CreateNeg(X, "neg"); in visitShl() local
1228 return BinaryOperator::CreateAnd(NegX, X); in visitShl()
H A DInstCombineAddSub.cpp2784 Value *NegX = Builder.CreateFNegFMF(X, &I, X->getName() + ".neg"); in visitFNeg() local
2785 SelectInst *NewSel = SelectInst::Create(Cond, NegX, P); in visitFNeg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2823 Value *NegX = B.CreateNSWNeg(X, "neg"); in optimizeAbs() local
2824 return B.CreateSelect(IsNeg, NegX, X); in optimizeAbs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5813 Register NegX = in matchCombineFSubFNegFMulToFMadOrFMA() local
5817 {NegX, FMulMI->getOperand(2).getReg(), NegZ}); in matchCombineFSubFNegFMulToFMadOrFMA()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp10347 SDValue NegX = DAG.getNode(RISCVISD::SUB_VL, DL, ContainerVT, SplatZero, X, in lowerABS() local
10349 SDValue Max = DAG.getNode(RISCVISD::SMAX_VL, DL, ContainerVT, X, NegX, in lowerABS()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp54496 SDValue NegX = Cond.getValue(0); in combineSubABS() local
54503 if (!(TrueOp == X && FalseOp == NegX) && !(TrueOp == NegX && FalseOp == X)) in combineSubABS()