Home
last modified time | relevance | path

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

12

/external/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()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMasking.cpp424 MachineOperand *OtherOp = nullptr; in runOnMachineFunction() local
427 OtherOp = &Src1; in runOnMachineFunction()
432 OtherOp = &Src0; in runOnMachineFunction()
443 .addReg(OtherOp->getReg()); in runOnMachineFunction()
DAMDGPUPromoteAlloca.cpp601 Value *OtherOp = Inst->getOperand(OpIdx0); in binaryOpIsDerivedFromSameAlloca() local
602 if (Val == OtherOp) in binaryOpIsDerivedFromSameAlloca()
603 OtherOp = Inst->getOperand(OpIdx1); in binaryOpIsDerivedFromSameAlloca()
605 if (isa<ConstantPointerNull>(OtherOp)) in binaryOpIsDerivedFromSameAlloca()
608 Value *OtherObj = getUnderlyingObject(OtherOp); in binaryOpIsDerivedFromSameAlloca()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineNegator.cpp420 Value *NegatedOp, *OtherOp; in visitImpl() local
425 OtherOp = Ops[0]; in visitImpl()
428 OtherOp = Ops[1]; in visitImpl()
432 return Builder.CreateMul(NegatedOp, OtherOp, I->getName() + ".neg"); in visitImpl()
DInstCombineMulDivRem.cpp105 Value *Cond, *OtherOp; in foldMulSelectToNegate() local
110 m_Value(OtherOp)))) in foldMulSelectToNegate()
111 return Builder.CreateSelect(Cond, OtherOp, Builder.CreateNeg(OtherOp)); in foldMulSelectToNegate()
116 m_Value(OtherOp)))) in foldMulSelectToNegate()
117 return Builder.CreateSelect(Cond, Builder.CreateNeg(OtherOp), OtherOp); in foldMulSelectToNegate()
123 m_Value(OtherOp)))) { in foldMulSelectToNegate()
126 return Builder.CreateSelect(Cond, OtherOp, Builder.CreateFNeg(OtherOp)); in foldMulSelectToNegate()
133 m_Value(OtherOp)))) { in foldMulSelectToNegate()
136 return Builder.CreateSelect(Cond, Builder.CreateFNeg(OtherOp), OtherOp); in foldMulSelectToNegate()
/external/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()
/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/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()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp1065 if (Instruction *OtherOp = dyn_cast<Instruction>(UserI->getOperand(i))){ in getMemoryOpCost() local
1066 LoadInst *OtherLoad = dyn_cast<LoadInst>(OtherOp); in getMemoryOpCost()
1068 (isa<TruncInst>(OtherOp) || isa<SExtInst>(OtherOp) || in getMemoryOpCost()
1069 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
1070 OtherLoad = dyn_cast<LoadInst>(OtherOp->getOperand(0)); in getMemoryOpCost()
/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-project/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()
/external/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()
/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/llvm-project/llvm/include/llvm/Transforms/Scalar/
DReassociate.h126 Value *OtherOp);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DReassociate.h126 Value *OtherOp);
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSCCP.cpp1298 Value *OtherOp = Constraint->OtherOp; in handleCallResult() local
1301 if (getValueState(OtherOp).isUnknown()) { in handleCallResult()
1302 addAdditionalUser(OtherOp, &CB); in handleCallResult()
1317 ValueLatticeElement CondVal = getValueState(OtherOp); in handleCallResult()
1341 addAdditionalUser(OtherOp, &CB); in handleCallResult()
1349 addAdditionalUser(OtherOp, &CB); in handleCallResult()
1355 addAdditionalUser(OtherOp, &CB); in handleCallResult()
/external/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 …]
/external/llvm-project/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 …]
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h77 Value *OtherOp; member
/external/llvm-project/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp846 Value *OtherOp; in getConstraint() local
849 OtherOp = Cmp->getOperand(1); in getConstraint()
852 OtherOp = Cmp->getOperand(0); in getConstraint()
862 return {{Pred, OtherOp}}; in getConstraint()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp586 SDValue OtherOp; in isADDADDMUL() local
589 OtherOp = N1; in isADDADDMUL()
592 OtherOp = N0; in isADDADDMUL()
598 if (OtherOp.getOpcode() == ISD::MUL) { in isADDADDMUL()
600 if (requireIntermediatesHaveOneUse && !OtherOp.hasOneUse()) in isADDADDMUL()
602 Mul0 = OtherOp.getOperand(0); in isADDADDMUL()
603 Mul1 = OtherOp.getOperand(1); in isADDADDMUL()
615 Addend1 = OtherOp; in isADDADDMUL()
625 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/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()
/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()

12