Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMasking.cpp392 MachineOperand *OtherOp = nullptr; in runOnMachineFunction() local
395 OtherOp = &Src1; in runOnMachineFunction()
400 OtherOp = &Src0; in runOnMachineFunction()
411 .addReg(OtherOp->getReg()); in runOnMachineFunction()
DAMDGPUPromoteAlloca.cpp497 Value *OtherOp = Inst->getOperand(OpIdx0); in binaryOpIsDerivedFromSameAlloca() local
498 if (Val == OtherOp) in binaryOpIsDerivedFromSameAlloca()
499 OtherOp = Inst->getOperand(OpIdx1); in binaryOpIsDerivedFromSameAlloca()
501 if (isa<ConstantPointerNull>(OtherOp)) in binaryOpIsDerivedFromSameAlloca()
504 Value *OtherObj = GetUnderlyingObject(OtherOp, *DL); in binaryOpIsDerivedFromSameAlloca()
DSIFoldOperands.cpp408 MachineOperand &OtherOp = MI->getOperand(OtherIdx); in tryAddToFoldList() local
409 if (!OtherOp.isReg() || in tryAddToFoldList()
410 !TII->getRegisterInfo().isVGPR(MRI, OtherOp.getReg())) in tryAddToFoldList()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp134 Value *Cond, *OtherOp; in foldMulSelectToNegate() local
139 m_Value(OtherOp)))) in foldMulSelectToNegate()
140 return Builder.CreateSelect(Cond, OtherOp, Builder.CreateNeg(OtherOp)); in foldMulSelectToNegate()
145 m_Value(OtherOp)))) in foldMulSelectToNegate()
146 return Builder.CreateSelect(Cond, Builder.CreateNeg(OtherOp), OtherOp); in foldMulSelectToNegate()
152 m_Value(OtherOp)))) { in foldMulSelectToNegate()
155 return Builder.CreateSelect(Cond, OtherOp, Builder.CreateFNeg(OtherOp)); in foldMulSelectToNegate()
162 m_Value(OtherOp)))) { in foldMulSelectToNegate()
165 return Builder.CreateSelect(Cond, Builder.CreateFNeg(OtherOp), OtherOp); in foldMulSelectToNegate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp1014 if (Instruction *OtherOp = dyn_cast<Instruction>(UserI->getOperand(i))){ in getMemoryOpCost() local
1015 LoadInst *OtherLoad = dyn_cast<LoadInst>(OtherOp); in getMemoryOpCost()
1017 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) || in getMemoryOpCost()
1018 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
1019 OtherLoad = dyn_cast<LoadInst>(OtherOp->getOperand(0)); in getMemoryOpCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp1348 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DReassociate.h126 Value *OtherOp);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetSelectionDAG.td42 class SDTCisSameAs<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> {
43 int OtherOperandNum = OtherOp;
48 class SDTCisVTSmallerThanOp<int OpNum, int OtherOp> : SDTypeConstraint<OpNum> {
49 int OtherOperandNum = OtherOp;
57 /// type as the element type of OtherOp, which is a vector type.
58 class SDTCisEltOfVec<int ThisOp, int OtherOp>
60 int OtherOpNum = OtherOp;
64 /// with length less that of OtherOp, which is a vector type.
65 class SDTCisSubVecOfVec<int ThisOp, int OtherOp>
67 int OtherOpNum = OtherOp;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp587 SDValue OtherOp; in isADDADDMUL() local
590 OtherOp = N1; in isADDADDMUL()
593 OtherOp = N0; in isADDADDMUL()
599 if (OtherOp.getOpcode() == ISD::MUL) { in isADDADDMUL()
601 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse()) in isADDADDMUL()
603 Mul0 = OtherOp.getOperand(0); in isADDADDMUL()
604 Mul1 = OtherOp.getOperand(1); in isADDADDMUL()
616 Addend1 = OtherOp; in isADDADDMUL()
626 Addend1 = OtherOp; in isADDADDMUL()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp1995 Value *OtherOp) { in canonicalizeNegFPConstantsForOp() argument
2041 Value *NewInst = IsFSub ? Builder.CreateFAddFMF(OtherOp, Op, I) in canonicalizeNegFPConstantsForOp()
2042 : Builder.CreateFSubFMF(OtherOp, Op, I); in canonicalizeNegFPConstantsForOp()
DLoopStrengthReduce.cpp3454 Value *OtherOp = const_cast<Value *>(ICI->getOperand(OtherIdx)); in CollectLoopInvariantFixupsAndFormulae() local
3455 if (SE.hasComputableLoopEvolution(SE.getSCEV(OtherOp), L)) in CollectLoopInvariantFixupsAndFormulae()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp2036 Value *OtherOp = nullptr; in optimizeSqrt() local
2052 OtherOp = Op1; in optimizeSqrt()
2070 if (OtherOp) { in optimizeSqrt()
2075 Value *SqrtCall = B.CreateCall(Sqrt, OtherOp, "sqrt"); in optimizeSqrt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp386 SDValue OtherOp = User->getOperand(0); in shouldAvoidImmediateInstFormsForSize() local
387 if (OtherOp.getNode() == N) in shouldAvoidImmediateInstFormsForSize()
388 OtherOp = User->getOperand(1); in shouldAvoidImmediateInstFormsForSize()
392 if (OtherOp->getOpcode() == ISD::CopyFromReg && in shouldAvoidImmediateInstFormsForSize()
394 OtherOp->getOperand(1).getNode()))) in shouldAvoidImmediateInstFormsForSize()
DX86ISelLowering.cpp44794 SDValue MulOp, OtherOp; in combineLoopMAddPattern() local
44797 OtherOp = Op1; in combineLoopMAddPattern()
44800 OtherOp = Op0; in combineLoopMAddPattern()
44830 return DAG.getNode(ISD::ADD, DL, VT, Concat, OtherOp, Flags); in combineLoopMAddPattern()
44862 SDValue OtherOp = N->getOperand(1); in combineLoopSADPattern() local
44864 std::swap(AbsOp, OtherOp); in combineLoopSADPattern()
44905 return DAG.getNode(ISD::ADD, DL, VT, Sad, OtherOp, Flags); in combineLoopSADPattern()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp12798 SDValue OtherOp; in visitFDIV() local
12801 OtherOp = N1.getOperand(1); in visitFDIV()
12804 OtherOp = N1.getOperand(0); in visitFDIV()
12810 RV = DAG.getNode(ISD::FDIV, SDLoc(N1), VT, RV, OtherOp, Flags); in visitFDIV()
15293 SDNode *OtherOp; in isMulAddWithConstProfitable() local
15298 OtherOp = Use->getOperand(1).getNode(); in isMulAddWithConstProfitable()
15300 OtherOp = Use->getOperand(0).getNode(); in isMulAddWithConstProfitable()
15312 if (OtherOp == MulVar) in isMulAddWithConstProfitable()
15328 if (OtherOp->getOpcode() == ISD::ADD && in isMulAddWithConstProfitable()
15329 DAG.isConstantIntBuildVectorOrConstantInt(OtherOp->getOperand(1)) && in isMulAddWithConstProfitable()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp10979 SDValue &OtherOp, in isConditionalZeroOrAllOnes() argument
10989 OtherOp = N2; in isConditionalZeroOrAllOnes()
10994 OtherOp = N1; in isConditionalZeroOrAllOnes()
11014 OtherOp = DAG.getConstant(0, dl, VT); in isConditionalZeroOrAllOnes()
11017 OtherOp = DAG.getConstant(1, dl, VT); in isConditionalZeroOrAllOnes()
11019 OtherOp = DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), dl, in isConditionalZeroOrAllOnes()
11051 SDValue combineSelectAndUse(SDNode *N, SDValue Slct, SDValue OtherOp, in combineSelectAndUse() argument
11064 SDValue TrueVal = OtherOp; in combineSelectAndUse()
11066 OtherOp, NonConstantVal); in combineSelectAndUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp6064 const SCEV *OtherOp = getSCEV(I->getOperand(OtherOpIndex)); in isSCEVExprNeverPoison() local
6065 if (!isLoopInvariant(OtherOp, AddRec->getLoop())) { in isSCEVExprNeverPoison()