Home
last modified time | relevance | path

Searched refs:OtherOp (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp511 Value *OtherOp = Inst->getOperand(OpIdx0); in binaryOpIsDerivedFromSameAlloca() local
512 if (Val == OtherOp) in binaryOpIsDerivedFromSameAlloca()
513 OtherOp = Inst->getOperand(OpIdx1); in binaryOpIsDerivedFromSameAlloca()
515 if (isa<ConstantPointerNull>(OtherOp)) in binaryOpIsDerivedFromSameAlloca()
518 Value *OtherObj = GetUnderlyingObject(OtherOp, *DL); in binaryOpIsDerivedFromSameAlloca()
/external/llvm/include/llvm/Target/
DTargetSelectionDAG.td43 class SDTCisSameAs<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> {
44 int OtherOperandNum = OtherOp;
49 class SDTCisVTSmallerThanOp<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> {
50 int OtherOperandNum = OtherOp;
58 /// type as the element type of OtherOp, which is a vector type.
59 class SDTCisEltOfVec<int ThisOp, int OtherOp>
61 int OtherOpNum = OtherOp;
65 /// with length less that of OtherOp, which is a vector type.
66 class SDTCisSubVecOfVec<int ThisOp, int OtherOp>
68 int OtherOpNum = OtherOp;
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1302 bool &Invert, SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument
1313 OtherOp = N2; in isConditionalZeroOrAllOnes()
1318 OtherOp = N1; in isConditionalZeroOrAllOnes()
1332 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes()
1346 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes()
1348 OtherOp = in isConditionalZeroOrAllOnes()
1372 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument
1385 SDValue TrueVal = OtherOp; in combineSelectAndUse()
1387 DAG.getNode(N->getOpcode(), SDLoc(N), VT, OtherOp, NonConstantVal); in combineSelectAndUse()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp239 Value *BoolCast = 0, *OtherOp = 0; in visitMul() local
241 BoolCast = Op0, OtherOp = Op1; in visitMul()
243 BoolCast = Op1, OtherOp = Op0; in visitMul()
248 return BinaryOperator::CreateAnd(V, OtherOp); in visitMul()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetSelectionDAG.td43 class SDTCisSameAs<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> {
44 int OtherOperandNum = OtherOp;
49 class SDTCisVTSmallerThanOp<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> {
50 int OtherOperandNum = OtherOp;
58 /// type as the element type of OtherOp, which is a vector type.
59 class SDTCisEltOfVec<int ThisOp, int OtherOp>
61 int OtherOpNum = OtherOp;
65 /// with length less that of OtherOp, which is a vector type.
66 class SDTCisSubVecOfVec<int ThisOp, int OtherOp>
68 int OtherOpNum = OtherOp;
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.cpp599 SDValue OtherOp; in isADDADDMUL() local
602 OtherOp = N1; in isADDADDMUL()
605 OtherOp = N0; in isADDADDMUL()
611 if (OtherOp.getOpcode() == ISD::MUL) { in isADDADDMUL()
613 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse()) in isADDADDMUL()
615 Mul0 = OtherOp.getOperand(0); in isADDADDMUL()
616 Mul1 = OtherOp.getOperand(1); in isADDADDMUL()
628 Addend1 = OtherOp; in isADDADDMUL()
638 Addend1 = OtherOp; in isADDADDMUL()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp612 SDValue OtherOp; in isADDADDMUL() local
615 OtherOp = N1; in isADDADDMUL()
618 OtherOp = N0; in isADDADDMUL()
624 if (OtherOp.getOpcode() == ISD::MUL) { in isADDADDMUL()
626 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse()) in isADDADDMUL()
628 Mul0 = OtherOp.getOperand(0); in isADDADDMUL()
629 Mul1 = OtherOp.getOperand(1); in isADDADDMUL()
641 Addend1 = OtherOp; in isADDADDMUL()
651 Addend1 = OtherOp; in isADDADDMUL()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp376 Value *BoolCast = nullptr, *OtherOp = nullptr; in visitMul() local
379 OtherOp = Op1; in visitMul()
382 OtherOp = Op0; in visitMul()
388 return BinaryOperator::CreateAnd(V, OtherOp); in visitMul()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp340 SDValue OtherOp = User->getOperand(0); in shouldAvoidImmediateInstFormsForSize() local
341 if (OtherOp.getNode() == N) in shouldAvoidImmediateInstFormsForSize()
342 OtherOp = User->getOperand(1); in shouldAvoidImmediateInstFormsForSize()
346 if (OtherOp->getOpcode() == ISD::CopyFromReg && in shouldAvoidImmediateInstFormsForSize()
348 OtherOp->getOperand(1).getNode()))) in shouldAvoidImmediateInstFormsForSize()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1270 Value *OtherOp = nullptr; in optimizeSqrt() local
1287 OtherOp = Op1; in optimizeSqrt()
1305 if (OtherOp) { in optimizeSqrt()
1310 Value *SqrtCall = B.CreateCall(Sqrt, OtherOp, "sqrt"); in optimizeSqrt()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8841 SDValue OtherOp; in visitFDIV() local
8844 OtherOp = N1.getOperand(1); in visitFDIV()
8847 OtherOp = N1.getOperand(0); in visitFDIV()
8853 RV = DAG.getNode(ISD::FDIV, SDLoc(N1), VT, RV, OtherOp, Flags); in visitFDIV()
11168 SDNode *OtherOp; in isMulAddWithConstProfitable() local
11173 OtherOp = Use->getOperand(1).getNode(); in isMulAddWithConstProfitable()
11175 OtherOp = Use->getOperand(0).getNode(); in isMulAddWithConstProfitable()
11187 if (OtherOp == MulVar) in isMulAddWithConstProfitable()
11203 if (OtherOp->getOpcode() == ISD::ADD && in isMulAddWithConstProfitable()
11204 DAG.isConstantIntBuildVectorOrConstantInt(OtherOp->getOperand(1)) && in isMulAddWithConstProfitable()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp8606 SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument
8616 OtherOp = N2; in isConditionalZeroOrAllOnes()
8621 OtherOp = N1; in isConditionalZeroOrAllOnes()
8641 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes()
8644 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes()
8646 OtherOp = DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), dl, in isConditionalZeroOrAllOnes()
8678 SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument
8691 SDValue TrueVal = OtherOp; in combineSelectAndUse()
8693 OtherOp, NonConstantVal); in combineSelectAndUse()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2274 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); in CollectLoopInvariantFixupsAndFormulae() local
2275 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L)) in CollectLoopInvariantFixupsAndFormulae()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp3128 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); in CollectLoopInvariantFixupsAndFormulae() local
3129 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L)) in CollectLoopInvariantFixupsAndFormulae()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp6376 SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument
6421 SDValue Result = DAG.getNode(Opc, RHS.getDebugLoc(), VT, OtherOp, RHS); in combineSelectAndUse()
6423 return DAG.getSelectCC(N->getDebugLoc(), OtherOp, Result, in combineSelectAndUse()
6430 CCOp, OtherOp, Result); in combineSelectAndUse()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp4831 const SCEV *OtherOp = getSCEV(I->getOperand(OtherOpIndex)); in isSCEVExprNeverPoison() local
4832 if (!isLoopInvariant(OtherOp, AddRec->getLoop())) { in isSCEVExprNeverPoison()