Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp240 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() local
243 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) in AddReductionVar()
248 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
263 if (!IsAPhi && Kind != RK_IntegerMinMax && Kind != RK_FloatMinMax && in AddReductionVar()
268 if (IsAPhi && Cur != Phi && !areAllUsesIn(Cur, VisitedInsts)) in AddReductionVar()
278 FoundReduxOp |= !IsAPhi && Cur != Start; in AddReductionVar()