Lines Matching refs:TheLoop
156 Loop *TheLoop, bool HasFunNoNaNAttr, in AddReductionVar() argument
162 if (Phi->getParent() != TheLoop->getHeader()) in AddReductionVar()
167 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar()
290 if (!TheLoop->contains(Parent)) { in AddReductionVar()
466 bool RecurrenceDescriptor::isReductionPHI(PHINode *Phi, Loop *TheLoop, in isReductionPHI() argument
470 BasicBlock *Header = TheLoop->getHeader(); in isReductionPHI()
476 if (AddReductionVar(Phi, RK_IntegerAdd, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()
480 if (AddReductionVar(Phi, RK_IntegerMult, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()
484 if (AddReductionVar(Phi, RK_IntegerOr, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()
488 if (AddReductionVar(Phi, RK_IntegerAnd, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()
492 if (AddReductionVar(Phi, RK_IntegerXor, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()
496 if (AddReductionVar(Phi, RK_IntegerMinMax, TheLoop, HasFunNoNaNAttr, in isReductionPHI()
501 if (AddReductionVar(Phi, RK_FloatMult, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()
505 if (AddReductionVar(Phi, RK_FloatAdd, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()
509 if (AddReductionVar(Phi, RK_FloatMinMax, TheLoop, HasFunNoNaNAttr, RedDes)) { in isReductionPHI()