Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp360 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() local
363 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) in AddReductionVar()
368 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
385 if (isa<FPMathOperator>(ReduxDesc.getPatternInst()) && !IsAPhi) { in AddReductionVar()
413 if (!IsAPhi && !IsASelect && !isMinMaxRecurrenceKind(Kind) && in AddReductionVar()
418 if (IsAPhi && Cur != Phi && !areAllUsesIn(Cur, VisitedInsts)) in AddReductionVar()
429 FoundReduxOp |= !IsAPhi && Cur != Start; in AddReductionVar()