Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanConstruction.cpp634 auto *MinMaxR = dyn_cast<VPRecipeWithIRFlags>( in handleMaxMinNumReductions() local
636 if (!MinMaxR) in handleMaxMinNumReductions()
639 auto *RepR = dyn_cast<VPReplicateRecipe>(MinMaxR); in handleMaxMinNumReductions()
640 if (!isa<VPWidenIntrinsicRecipe>(MinMaxR) && in handleMaxMinNumReductions()
648 assert((isa<VPWidenIntrinsicRecipe>(MinMaxR) && in handleMaxMinNumReductions()
649 cast<VPWidenIntrinsicRecipe>(MinMaxR)->getVectorIntrinsicID() == in handleMaxMinNumReductions()
657 if (MinMaxR->getOperand(0) == RedPhiR) in handleMaxMinNumReductions()
658 return MinMaxR->getOperand(1); in handleMaxMinNumReductions()
660 assert(MinMaxR->getOperand(1) == RedPhiR && in handleMaxMinNumReductions()
662 return MinMaxR->getOperand(0); in handleMaxMinNumReductions()