Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp7442 auto getCmpForMinMaxReduction = [](Instruction *RdxRootInst) { in tryToReduce() argument
7443 assert(isa<SelectInst>(RdxRootInst) && in tryToReduce()
7445 Value *ScalarCond = cast<SelectInst>(RdxRootInst)->getCondition(); in tryToReduce()
7547 Instruction *RdxRootInst = cast<Instruction>(ReductionRoot); in tryToReduce() local
7548 if (isa<SelectInst>(RdxRootInst)) in tryToReduce()
7549 Builder.SetInsertPoint(getCmpForMinMaxReduction(RdxRootInst)); in tryToReduce()
7551 Builder.SetInsertPoint(RdxRootInst); in tryToReduce()