Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp352 Value *NegOp1 = negate(I->getOperand(1), IsNSW, Depth + 1); in visitImpl() local
353 if (!NegOp1) // Early return. in visitImpl()
359 return Builder.CreateSelect(I->getOperand(0), NegOp1, NegOp2, in visitImpl()
368 Value *NegOp1 = negate(I->getOperand(1), IsNSW, Depth + 1); in visitImpl() local
369 if (!NegOp1) in visitImpl()
371 return Builder.CreateShuffleVector(NegOp0, NegOp1, Shuf->getShuffleMask(), in visitImpl()
477 if (Value *NegOp1 = negate(Ops[1], /* IsNSW */ false, Depth + 1)) { in visitImpl() local
478 NegatedOp = NegOp1; in visitImpl()
H A DInstCombineAddSub.cpp2198 if (Value *NegOp1 = Negator::Negate(IsNegation, /* IsNSW */ IsNegation && in visitSub() local
2201 return BinaryOperator::CreateAdd(NegOp1, Op0); in visitSub()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8239 SDValue NegOp1 = Neg.getOperand(1); in matchRotateSub() local
8268 if ((Pos == NegOp1) || in matchRotateSub()
8269 (NegOp1.getOpcode() == ISD::TRUNCATE && Pos == NegOp1.getOperand(0))) in matchRotateSub()
8281 else if (Pos.getOpcode() == ISD::ADD && Pos.getOperand(0) == NegOp1) { in matchRotateSub()
H A DTargetLowering.cpp8098 SDValue NegOp1 = DAG.getNode(ISD::SUB, DL, ShVT, Zero, Op1); in expandROT() local
8101 SDValue HsAmt = DAG.getNode(ISD::AND, DL, ShVT, NegOp1, BitWidthMinusOneC); in expandROT()