Lines Matching refs:isPHI
37 assert(Phi.isPHI() && "Expecting a Phi."); in getPhiRegs()
93 if (MI->isPHI()) { in expand()
133 if (CI->isPHI()) in generatePipelinedLoop()
217 if (BBI->isPHI()) in generateProlog()
291 if (BBI.isPHI()) in generateEpilog()
452 while (InstOp1 && InstOp1->isPHI() && InstOp1->getParent() == BB) { in generateExistingPhis()
473 if (InstOp1->isPHI() && InstOp1->getParent() == KernelBB) in generateExistingPhis()
477 bool LoopDefIsPhi = PhiInst && PhiInst->isPHI(); in generateExistingPhis()
644 if (InstOp2->isPHI() && InstOp2->getParent() == NewBB) in generatePhis()
655 if (InstOp1->isPHI() && InstOp1->getParent() == KernelBB) in generatePhis()
657 if (InstOp1->isPHI() && InstOp1->getParent() == NewBB) in generatePhis()
719 if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI()) { in removeDeadInstructions()
795 if (I->isPHI() && I->getParent() == KernelBB) { in splitLifetimes()
801 if (!MI || MI->getParent() != KernelBB || MI->isPHI()) in splitLifetimes()
834 if (!MI.isPHI()) in removePhis()
931 if (BaseDef && BaseDef->isPHI()) { in computeDelta()
1066 while (Def->isPHI()) { in findDefInLoop()
1092 else if (!LoopInst->isPHI() || LoopInst->getParent() != BB) in getPrevMapVal()
1156 if (UseMI->isPHI()) { in rewriteScheduledInstr()
1157 if (!Phi->isPHI() && UseMI->getOperand(0).getReg() == NewReg) in rewriteScheduledInstr()
1169 if (StagePhi == StageSched && Phi->isPHI()) { in rewriteScheduledInstr()
1174 (CyclePhi <= CycleSched || OrigMI->isPHI())) in rewriteScheduledInstr()
1183 if (StagePhi > StageSched && Phi->isPHI()) in rewriteScheduledInstr()
1185 if (!InProlog && !Phi->isPHI() && StagePhi < StageSched) in rewriteScheduledInstr()
1195 if (!Phi.isPHI()) in isLoopCarried()
1204 if (!Use || Use->isPHI()) in isLoopCarried()
1228 assert(MI.isPHI()); in EliminateDeadPhis()
1302 if (MI->isPHI()) in rewrite()
1322 if (MI.isPHI() || MI.isTerminator()) in rewrite()
1338 if (MI->isPHI()) { in rewrite()
1361 if (!Producer->isPHI()) { in remapUse()
1383 while (LoopProducer->isPHI() && LoopProducer->getParent() == BB) { in remapUse()
1544 if (!MI->isPHI()) in KernelOperandInfo()
1608 assert(UseMI.isPHI()); in filterInstructions()
1629 if (MI->isPHI()) { in moveStageBetweenBlocks()
1698 if (Use && Use->isPHI() && Use->getParent() == SourceBB) { in moveStageBetweenBlocks()
1714 assert(CanonicalUse->isPHI()); in getPhiCanonicalReg()
1802 if (CanonicalUse->isPHI()) { in peelPrologAndEpilogs()
1894 if (MI->isPHI()) { in rewriteUsesOf()
1922 assert(UseMI.isPHI()); in rewriteUsesOf()
2035 if (NI->isPHI()) in validateAgainstModuloScheduleExpander()
2045 while (OI->isPHI() || OI->isFullCopy()) in validateAgainstModuloScheduleExpander()
2047 while (NI->isPHI() || NI->isFullCopy()) in validateAgainstModuloScheduleExpander()