Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp7370 auto *EdgeInst = dyn_cast<Instruction>(EdgeVal); in matchAssociativeReduction() local
7371 if (!EdgeInst) { in matchAssociativeReduction()
7377 RecurKind EdgeRdxKind = getRdxKind(EdgeInst); in matchAssociativeReduction()
7386 if (EdgeInst != Phi && EdgeInst != B && in matchAssociativeReduction()
7387 hasSameParent(EdgeInst, B->getParent(), IsRdxInst) && in matchAssociativeReduction()
7388 hasRequiredNumberOfUses(isa<SelectInst>(B), EdgeInst) && in matchAssociativeReduction()
7389 (!LeafOpcode || LeafOpcode == EdgeInst->getOpcode() || IsRdxInst)) { in matchAssociativeReduction()
7392 if (!isVectorizable(EdgeRdxKind, EdgeInst)) { in matchAssociativeReduction()
7394 markExtraArg(Stack.back(), EdgeInst); in matchAssociativeReduction()
7398 LeafOpcode = EdgeInst->getOpcode(); in matchAssociativeReduction()
[all …]