Lines Matching refs:SelectInst
366 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
385 if (auto *Sel = dyn_cast<SelectInst>(ReduxDesc.getPatternInst())) { in AddReductionVar()
402 bool IsASelect = isa<SelectInst>(Cur); in AddReductionVar()
420 (isa<ICmpInst>(Cur) || isa<SelectInst>(Cur))) in AddReductionVar()
423 (isa<FCmpInst>(Cur) || isa<SelectInst>(Cur))) in AddReductionVar()
486 !isa<SelectInst>(UI)) || in AddReductionVar()
634 if (auto *Select = dyn_cast<SelectInst>(*I->user_begin())) in isAnyOfPattern()
642 SelectInst *SI = cast<SelectInst>(I); in isAnyOfPattern()
665 assert((isa<CmpInst>(I) || isa<SelectInst>(I) || isa<CallInst>(I)) && in isMinMaxPattern()
674 if (auto *Select = dyn_cast<SelectInst>(*I->user_begin())) in isMinMaxPattern()
724 SelectInst *SI = dyn_cast<SelectInst>(I); in isConditionalRdxPattern()
1162 if (isa<SelectInst>(UI)) in getReductionOpChain()