/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIOptimizeExecMasking.cpp | 331 MachineOperand *OtherOp = nullptr; in runOnMachineFunction() local 334 OtherOp = &Src1; in runOnMachineFunction() 339 OtherOp = &Src0; in runOnMachineFunction() 350 .addReg(OtherOp->getReg()); in runOnMachineFunction()
|
D | AMDGPUPromoteAlloca.cpp | 474 Value *OtherOp = Inst->getOperand(OpIdx0); in binaryOpIsDerivedFromSameAlloca() local 475 if (Val == OtherOp) in binaryOpIsDerivedFromSameAlloca() 476 OtherOp = Inst->getOperand(OpIdx1); in binaryOpIsDerivedFromSameAlloca() 478 if (isa<ConstantPointerNull>(OtherOp)) in binaryOpIsDerivedFromSameAlloca() 481 Value *OtherObj = GetUnderlyingObject(OtherOp, *DL); in binaryOpIsDerivedFromSameAlloca()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 511 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/ |
D | TargetSelectionDAG.td | 43 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/ |
D | TargetSelectionDAG.td | 43 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 1348 bool &Invert, SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument 1359 OtherOp = N2; in isConditionalZeroOrAllOnes() 1364 OtherOp = N1; in isConditionalZeroOrAllOnes() 1378 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes() 1392 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes() 1394 OtherOp = in isConditionalZeroOrAllOnes() 1418 static SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument 1431 SDValue TrueVal = OtherOp; in combineSelectAndUse() 1433 DAG.getNode(N->getOpcode(), SDLoc(N), VT, OtherOp, NonConstantVal); in combineSelectAndUse()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 1302 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/ |
D | InstCombineMulDivRem.cpp | 239 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/ |
D | TargetSelectionDAG.td | 43 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/ |
D | XCoreISelLowering.cpp | 599 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/ |
D | XCoreISelLowering.cpp | 612 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 602 SDValue OtherOp; in isADDADDMUL() local 605 OtherOp = N1; in isADDADDMUL() 608 OtherOp = N0; in isADDADDMUL() 614 if (OtherOp.getOpcode() == ISD::MUL) { in isADDADDMUL() 616 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse()) in isADDADDMUL() 618 Mul0 = OtherOp.getOperand(0); in isADDADDMUL() 619 Mul1 = OtherOp.getOperand(1); in isADDADDMUL() 631 Addend1 = OtherOp; in isADDADDMUL() 641 Addend1 = OtherOp; in isADDADDMUL()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 376 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/ |
D | X86ISelDAGToDAG.cpp | 340 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/ |
D | SimplifyLibCalls.cpp | 1270 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1443 Value *OtherOp = nullptr; in optimizeSqrt() local 1459 OtherOp = Op1; in optimizeSqrt() 1477 if (OtherOp) { in optimizeSqrt() 1482 Value *SqrtCall = B.CreateCall(Sqrt, OtherOp, "sqrt"); in optimizeSqrt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 347 SDValue OtherOp = User->getOperand(0); in shouldAvoidImmediateInstFormsForSize() local 348 if (OtherOp.getNode() == N) in shouldAvoidImmediateInstFormsForSize() 349 OtherOp = User->getOperand(1); in shouldAvoidImmediateInstFormsForSize() 353 if (OtherOp->getOpcode() == ISD::CopyFromReg && in shouldAvoidImmediateInstFormsForSize() 355 OtherOp->getOperand(1).getNode()))) in shouldAvoidImmediateInstFormsForSize()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 8841 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/ |
D | ARMISelLowering.cpp | 8606 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-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9677 SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument 9687 OtherOp = N2; in isConditionalZeroOrAllOnes() 9692 OtherOp = N1; in isConditionalZeroOrAllOnes() 9712 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes() 9715 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes() 9717 OtherOp = DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), dl, in isConditionalZeroOrAllOnes() 9749 SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument 9762 SDValue TrueVal = OtherOp; in combineSelectAndUse() 9764 OtherOp, NonConstantVal); in combineSelectAndUse()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 11352 SDValue OtherOp; in visitFDIV() local 11355 OtherOp = N1.getOperand(1); in visitFDIV() 11358 OtherOp = N1.getOperand(0); in visitFDIV() 11364 RV = DAG.getNode(ISD::FDIV, SDLoc(N1), VT, RV, OtherOp, Flags); in visitFDIV() 13595 SDNode *OtherOp; in isMulAddWithConstProfitable() local 13600 OtherOp = Use->getOperand(1).getNode(); in isMulAddWithConstProfitable() 13602 OtherOp = Use->getOperand(0).getNode(); in isMulAddWithConstProfitable() 13614 if (OtherOp == MulVar) in isMulAddWithConstProfitable() 13630 if (OtherOp->getOpcode() == ISD::ADD && in isMulAddWithConstProfitable() 13631 DAG.isConstantIntBuildVectorOrConstantInt(OtherOp->getOperand(1)) && in isMulAddWithConstProfitable() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 2274 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/ |
D | LoopStrengthReduce.cpp | 3128 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/ |
D | ARMISelLowering.cpp | 6376 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 3412 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); in CollectLoopInvariantFixupsAndFormulae() local 3413 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L)) in CollectLoopInvariantFixupsAndFormulae()
|