Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineNegator.cpp301 Value *NegOp1 = negate(I->getOperand(1), Depth + 1); in visitImpl() local
302 if (!NegOp1) // Early return. in visitImpl()
308 return Builder.CreateSelect(I->getOperand(0), NegOp1, NegOp2, in visitImpl()
317 Value *NegOp1 = negate(I->getOperand(1), Depth + 1); in visitImpl() local
318 if (!NegOp1) in visitImpl()
320 return Builder.CreateShuffleVector(NegOp0, NegOp1, Shuf->getShuffleMask(), in visitImpl()
423 if (Value *NegOp1 = negate(Ops[1], Depth + 1)) { in visitImpl() local
424 NegatedOp = NegOp1; in visitImpl()
DInstCombineAddSub.cpp1766 if (Value *NegOp1 = Negator::Negate(IsNegation, Op1, *this)) in visitSub() local
1767 return BinaryOperator::CreateAdd(NegOp1, Op0); in visitSub()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp6351 SDValue NegOp1 = DAG.getNode(ISD::SUB, DL, ShVT, Zero, Op1); in expandROT() local
6354 SDValue HsAmt = DAG.getNode(ISD::AND, DL, ShVT, NegOp1, BitWidthMinusOneC); in expandROT()
DDAGCombiner.cpp6586 SDValue NegOp1 = Neg.getOperand(1); in matchRotateSub() local
6613 if ((Pos == NegOp1) || in matchRotateSub()
6614 (NegOp1.getOpcode() == ISD::TRUNCATE && Pos == NegOp1.getOperand(0))) in matchRotateSub()
6626 else if (Pos.getOpcode() == ISD::ADD && Pos.getOperand(0) == NegOp1) { in matchRotateSub()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp6017 SDValue NegOp1 = DAG.getNode(ISD::SUB, DL, ShVT, BitWidthC, Op1); in expandROT() local
6019 SDValue And1 = DAG.getNode(ISD::AND, DL, ShVT, NegOp1, BitWidthMinusOneC); in expandROT()
DDAGCombiner.cpp6172 SDValue NegOp1 = Neg.getOperand(1); in matchRotateSub() local
6196 if (Pos == NegOp1) in matchRotateSub()
6208 else if (Pos.getOpcode() == ISD::ADD && Pos.getOperand(0) == NegOp1) { in matchRotateSub()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3944 SDValue NegOp1 = Neg.getOperand(1); in matchRotateSub() local
3963 if (Pos == NegOp1) in matchRotateSub()
3975 else if (Pos.getOpcode() == ISD::ADD && Pos.getOperand(0) == NegOp1) { in matchRotateSub()