Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp282 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() local
285 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) in AddReductionVar()
290 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
303 if (isa<FPMathOperator>(ReduxDesc.getPatternInst()) && !IsAPhi) in AddReductionVar()
316 if (!IsAPhi && !IsASelect && Kind != RK_IntegerMinMax && in AddReductionVar()
321 if (IsAPhi && Cur != Phi && !areAllUsesIn(Cur, VisitedInsts)) in AddReductionVar()
331 FoundReduxOp |= !IsAPhi && Cur != Start; in AddReductionVar()