Lines Matching refs:PHINode

70 static Instruction *lookThroughAnd(PHINode *Phi, Type *&RT,  in lookThroughAnd()
185 Instruction *Exit, PHINode *Phi) { in checkOrderedReduction()
217 PHINode *Phi, RecurKind Kind, Loop *TheLoop, FastMathFlags FuncFMF, in AddReductionVar()
361 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar()
477 if (isa<PHINode>(UI)) { in AddReductionVar()
488 } else if (!isa<PHINode>(UI) && in AddReductionVar()
632 RecurrenceDescriptor::isSelectCmpPattern(Loop *Loop, PHINode *OrigPhi, in isSelectCmpPattern()
650 if (OrigPhi == dyn_cast<PHINode>(SI->getTrueValue())) in isSelectCmpPattern()
652 else if (OrigPhi == dyn_cast<PHINode>(SI->getFalseValue())) in isSelectCmpPattern()
738 if ((isa<PHINode>(*TrueVal) && isa<PHINode>(*FalseVal)) || in isConditionalRdxPattern()
739 (!isa<PHINode>(*TrueVal) && !isa<PHINode>(*FalseVal))) in isConditionalRdxPattern()
743 isa<PHINode>(*TrueVal) ? dyn_cast<Instruction>(FalseVal) in isConditionalRdxPattern()
761 RecurrenceDescriptor::isRecurrenceInstr(Loop *L, PHINode *OrigPhi, in isRecurrenceInstr()
825 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI()
925 PHINode *Phi, Loop *TheLoop, in isFirstOrderRecurrence()
948 if (!Previous || !TheLoop->contains(Previous) || isa<PHINode>(Previous) || in isFirstOrderRecurrence()
1022 if (isa<PHINode>(SinkCandidate)) in isFirstOrderRecurrence()
1135 RecurrenceDescriptor::getReductionOpChain(PHINode *Phi, Loop *L) const { in getReductionOpChain()
1161 if (isa<PHINode>(UI)) in getReductionOpChain()
1190 if (auto ExitPhi = dyn_cast<PHINode>(LoopExitInstr)) { in getReductionOpChain()
1288 bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop, in isFPInductionPHI()
1379 auto *PN = cast<PHINode>(PhiScev->getValue()); in getCastsForInductionPHI()
1446 bool InductionDescriptor::isInductionPHI(PHINode *Phi, const Loop *TheLoop, in isInductionPHI()
1491 PHINode *Phi, const Loop *TheLoop, ScalarEvolution *SE, in isInductionPHI()