Home
last modified time | relevance | path

Searched refs:NegOp1 (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp335 Value *NegOp1 = negate(I->getOperand(1), IsNSW, Depth + 1); in visitImpl() local
336 if (!NegOp1) // Early return. in visitImpl()
342 return Builder.CreateSelect(I->getOperand(0), NegOp1, NegOp2, in visitImpl()
351 Value *NegOp1 = negate(I->getOperand(1), IsNSW, Depth + 1); in visitImpl() local
352 if (!NegOp1) in visitImpl()
354 return Builder.CreateShuffleVector(NegOp0, NegOp1, Shuf->getShuffleMask(), in visitImpl()
460 if (Value *NegOp1 = negate(Ops[1], /* IsNSW */ false, Depth + 1)) { in visitImpl() local
461 NegatedOp = NegOp1; in visitImpl()
H A DInstCombineAddSub.cpp2205 if (Value *NegOp1 = Negator::Negate(IsNegation, /* IsNSW */ IsNegation && in visitSub() local
2208 return BinaryOperator::CreateAdd(NegOp1, Op0); in visitSub()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8237 SDValue NegOp1 = Neg.getOperand(1); in matchRotateSub() local
8266 if ((Pos == NegOp1) || in matchRotateSub()
8267 (NegOp1.getOpcode() == ISD::TRUNCATE && Pos == NegOp1.getOperand(0))) in matchRotateSub()
8279 else if (Pos.getOpcode() == ISD::ADD && Pos.getOperand(0) == NegOp1) { in matchRotateSub()
H A DTargetLowering.cpp7958 SDValue NegOp1 = DAG.getNode(ISD::SUB, DL, ShVT, Zero, Op1); in expandROT() local
7961 SDValue HsAmt = DAG.getNode(ISD::AND, DL, ShVT, NegOp1, BitWidthMinusOneC); in expandROT()