Searched refs:RdxRootInst (Results 1 – 1 of 1) sorted by relevance
7442 auto getCmpForMinMaxReduction = [](Instruction *RdxRootInst) { in tryToReduce() argument7443 assert(isa<SelectInst>(RdxRootInst) && in tryToReduce()7445 Value *ScalarCond = cast<SelectInst>(RdxRootInst)->getCondition(); in tryToReduce()7547 Instruction *RdxRootInst = cast<Instruction>(ReductionRoot); in tryToReduce() local7548 if (isa<SelectInst>(RdxRootInst)) in tryToReduce()7549 Builder.SetInsertPoint(getCmpForMinMaxReduction(RdxRootInst)); in tryToReduce()7551 Builder.SetInsertPoint(RdxRootInst); in tryToReduce()