Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp100 ConstantInt *CI = 0; Value *AddLHS = 0; in MatchScaledValue() local
102 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in MatchScaledValue()
103 TestAddrMode.ScaledReg = AddLHS; in MatchScaledValue()
/external/llvm/include/llvm/IR/
DPatternMatch.h1128 Value *AddLHS, *AddRHS; in match() local
1129 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
1133 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1134 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1138 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
1139 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h1476 Value *AddLHS, *AddRHS; in match() local
1477 auto AddExpr = m_Add(m_Value(AddLHS), m_Value(AddRHS)); in match()
1481 if (AddExpr.match(ICmpLHS) && (ICmpRHS == AddLHS || ICmpRHS == AddRHS)) in match()
1482 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpLHS); in match()
1486 if (AddExpr.match(ICmpRHS) && (ICmpLHS == AddLHS || ICmpLHS == AddRHS)) in match()
1487 return L.match(AddLHS) && R.match(AddRHS) && S.match(ICmpRHS); in match()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp835 Value *AddLHS; in ComputeValueKnownInPredecessors() local
838 match(CmpLHS, m_Add(m_Value(AddLHS), m_ConstantInt(AddConst)))) { in ComputeValueKnownInPredecessors()
839 if (!isa<Instruction>(AddLHS) || in ComputeValueKnownInPredecessors()
840 cast<Instruction>(AddLHS)->getParent() != BB) { in ComputeValueKnownInPredecessors()
850 AddLHS, P, BB, CxtI ? CxtI : cast<Instruction>(CmpLHS)); in ComputeValueKnownInPredecessors()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2697 ConstantInt *CI = nullptr; Value *AddLHS = nullptr; in matchScaledValue() local
2699 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in matchScaledValue()
2700 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3217 ConstantInt *CI = nullptr; Value *AddLHS = nullptr; in matchScaledValue() local
3219 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { in matchScaledValue()
3220 TestAddrMode.ScaledReg = AddLHS; in matchScaledValue()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp8549 const SCEVAddExpr *AddLHS = dyn_cast<SCEVAddExpr>(LHS); in isImpliedCondOperandsViaRanges() local
8550 if (!AddLHS || AddLHS->getOperand(1) != FoundLHS || in isImpliedCondOperandsViaRanges()
8551 !isa<SCEVConstant>(AddLHS->getOperand(0))) in isImpliedCondOperandsViaRanges()
8563 APInt Addend = cast<SCEVConstant>(AddLHS->getOperand(0))->getAPInt(); in isImpliedCondOperandsViaRanges()