Home
last modified time | relevance | path

Searched refs:IsAPhi (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp247 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() local
250 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) in AddReductionVar()
255 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
270 if (!IsAPhi && Kind != RK_IntegerMinMax && Kind != RK_FloatMinMax && in AddReductionVar()
275 if (IsAPhi && Cur != Phi && !areAllUsesIn(Cur, VisitedInsts)) in AddReductionVar()
285 FoundReduxOp |= !IsAPhi && Cur != Start; in AddReductionVar()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp280 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() local
283 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) in AddReductionVar()
288 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
303 if (!IsAPhi && Kind != RK_IntegerMinMax && Kind != RK_FloatMinMax && in AddReductionVar()
308 if (IsAPhi && Cur != Phi && !areAllUsesIn(Cur, VisitedInsts)) in AddReductionVar()
318 FoundReduxOp |= !IsAPhi && Cur != Start; in AddReductionVar()