Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp10871 auto *EdgeInst = dyn_cast<Instruction>(EdgeVal); in matchAssociativeReduction() local
10873 if (EdgeInst && !isVectorLikeInstWithConstOps(EdgeInst) && in matchAssociativeReduction()
10874 !hasSameParent(EdgeInst, BB)) { in matchAssociativeReduction()
10880 if (!EdgeInst || getRdxKind(EdgeInst) != RdxKind || in matchAssociativeReduction()
10881 IsCmpSelMinMax != isCmpSelMinMax(EdgeInst) || in matchAssociativeReduction()
10882 !hasRequiredNumberOfUses(IsCmpSelMinMax, EdgeInst) || in matchAssociativeReduction()
10883 !isVectorizable(getRdxKind(EdgeInst), EdgeInst)) { in matchAssociativeReduction()
10887 ReductionOps.push_back(EdgeInst); in matchAssociativeReduction()