Lines Matching refs:PHINode
91 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT, in lookThroughAnd()
197 Instruction *Exit, PHINode *Phi) { in checkOrderedReduction()
218 bool RecurrenceDescriptor::AddReductionVar(PHINode *Phi, RecurKind Kind, in AddReductionVar()
313 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar()
418 if (isa<PHINode>(UI)) in AddReductionVar()
422 } else if (!isa<PHINode>(UI) && in AddReductionVar()
572 if ((isa<PHINode>(*TrueVal) && isa<PHINode>(*FalseVal)) || in isConditionalRdxPattern()
573 (!isa<PHINode>(*TrueVal) && !isa<PHINode>(*FalseVal))) in isConditionalRdxPattern()
577 isa<PHINode>(*TrueVal) ? dyn_cast<Instruction>(FalseVal) in isConditionalRdxPattern()
648 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
718 PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence()
741 if (!Previous || !TheLoop->contains(Previous) || isa<PHINode>(Previous) || in isFirstOrderRecurrence()
790 if (isa<PHINode>(SinkCandidate)) in isFirstOrderRecurrence()
895 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const { in getReductionOpChain()
1008 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1099 auto *PN = cast<PHINode>(PhiScev->getValue()); in getCastsForInductionPHI()
1166 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1211 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()