Searched refs:IsAPhi (Results 1 – 2 of 2) sorted by relevance
247 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() local250 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()
280 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() local283 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()