Home
last modified time | relevance | path

Searched refs:isPHI (Results 1 – 25 of 162) sorted by relevance

1234567

/external/llvm/lib/CodeGen/
DOptimizePHIs.cpp91 assert(MI->isPHI() && "IsSingleValuePHICycle expects a PHI instruction"); in IsSingleValuePHICycle()
118 if (SrcMI->isPHI()) { in IsSingleValuePHICycle()
134 assert(MI->isPHI() && "IsDeadPHICycle expects a PHI instruction"); in IsDeadPHICycle()
148 if (!UseMI.isPHI() || !IsDeadPHICycle(&UseMI, PHIsInCycle)) in IsDeadPHICycle()
162 if (!MI->isPHI()) in OptimizeBB()
DMachinePipeliner.cpp295 return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI(); in isBackedge()
302 return (!Source->getInstr()->isPHI() && in isOrder()
303 !Dep.getSUnit()->getInstr()->isPHI()); in isOrder()
313 if (Source->getInstr()->isPHI()) in getLatency()
315 if (Dep.getSUnit()->getInstr()->isPHI()) in getLatency()
327 if (V->getInstr()->isPHI() && Dep.getKind() == SDep::Anti) in getDistance()
919 assert(Phi.isPHI() && "Expecting a Phi."); in getPhiRegs()
1101 if (SU != 0 && UseMI->isPHI()) { in updatePhiDependences()
1102 if (!MI->isPHI()) { in updatePhiDependences()
1120 if (SU != 0 && DefMI->isPHI()) { in updatePhiDependences()
[all …]
DTailDuplicator.cpp79 if (!MI->isPHI()) in VerifyPHIs()
190 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) in tailDuplicateAndUpdate()
277 if (!MI.isPHI()) in getRegsUsedByPHIs()
430 if (!II->isPHI()) in updateSuccessorsPHIs()
566 if (!MI.isPHI() && !MI.isDebugValue()) in shouldTailDuplicate()
584 if (!I.isPHI()) in shouldTailDuplicate()
621 if (SuccsB.count(BB) && !BB->empty() && BB->begin()->isPHI()) in bothUsedInPHI()
778 if (MI->isPHI()) { in tailDuplicate()
827 while (I != TailBB->end() && I->isPHI()) { in tailDuplicate()
892 while (I != TailBB->end() && I->isPHI()) { in tailDuplicate()
DMachineSSAUpdater.cpp86 if (!I->isPHI()) in LookForIdenticalPHI()
92 while (I != BB->end() && I->isPHI()) { in LookForIdenticalPHI()
224 if (UseMI->isPHI()) { in RewriteUse()
315 if (I && I->isPHI()) in InstrIsPHI()
DPHIElimination.cpp186 if (MBB.empty() || !MBB.front().isPHI()) in EliminatePHINodes()
194 while (MBB.front().isPHI()) in EliminatePHINodes()
539 if (!BBI.isPHI()) in analyzePHINodes()
550 if (MBB.empty() || !MBB.front().isPHI() || MBB.isEHPad()) in SplitPHIEdges()
558 BBI != BBE && BBI->isPHI(); ++BBI) { in SplitPHIEdges()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DOptimizePHIs.cpp100 assert(MI->isPHI() && "IsSingleValuePHICycle expects a PHI instruction"); in IsSingleValuePHICycle()
128 if (SrcMI->isPHI()) { in IsSingleValuePHICycle()
144 assert(MI->isPHI() && "IsDeadPHICycle expects a PHI instruction"); in IsDeadPHICycle()
158 if (!UseMI.isPHI() || !IsDeadPHICycle(&UseMI, PHIsInCycle)) in IsDeadPHICycle()
172 if (!MI->isPHI()) in OptimizeBB()
DModuloSchedule.cpp38 assert(Phi.isPHI() && "Expecting a Phi."); in getPhiRegs()
94 if (MI->isPHI()) { in expand()
134 if (CI->isPHI()) in generatePipelinedLoop()
218 if (BBI->isPHI()) in generateProlog()
292 if (BBI.isPHI()) in generateEpilog()
453 while (InstOp1 && InstOp1->isPHI() && InstOp1->getParent() == BB) { in generateExistingPhis()
474 if (InstOp1->isPHI() && InstOp1->getParent() == KernelBB) in generateExistingPhis()
478 bool LoopDefIsPhi = PhiInst && PhiInst->isPHI(); in generateExistingPhis()
645 if (InstOp2->isPHI() && InstOp2->getParent() == NewBB) in generatePhis()
656 if (InstOp1->isPHI() && InstOp1->getParent() == KernelBB) in generatePhis()
[all …]
DTailDuplicator.cpp109 if (!MI->isPHI()) in VerifyPHIs()
229 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) in tailDuplicateAndUpdate()
319 if (!MI.isPHI()) in getRegsUsedByPHIs()
473 if (!MI.isPHI()) in updateSuccessorsPHIs()
628 if (!MI.isPHI() && !MI.isMetaInstruction()) in shouldTailDuplicate()
646 if (!I.isPHI()) in shouldTailDuplicate()
683 if (SuccsB.count(BB) && !BB->empty() && BB->begin()->isPHI()) in bothUsedInPHI()
854 if (MI->isPHI()) { in tailDuplicate()
908 while (I != TailBB->end() && I->isPHI()) { in tailDuplicate()
971 while (I != TailBB->end() && I->isPHI()) { in tailDuplicate()
DMachineSSAUpdater.cpp89 if (!I->isPHI()) in LookForIdenticalPHI()
95 while (I != BB->end() && I->isPHI()) { in LookForIdenticalPHI()
226 if (UseMI->isPHI()) { in RewriteUse()
321 if (I && I->isPHI()) in InstrIsPHI()
DMachinePipeliner.cpp583 assert(Phi.isPHI() && "Expecting a Phi."); in getPhiRegs()
781 if (SU != nullptr && UseMI->isPHI()) { in updatePhiDependences()
782 if (!MI->isPHI()) { in updatePhiDependences()
801 if (SU != nullptr && DefMI->isPHI()) { in updatePhiDependences()
802 if (!MI->isPHI()) { in updatePhiDependences()
822 if (PMI->isPHI() && PI.getKind() == SDep::Order) { in updatePhiDependences()
823 if (I.getInstr()->isPHI()) { in updatePhiDependences()
1164 (SI.getKind() == SDep::Anti && !SI.getSUnit()->getInstr()->isPHI())) in createAdjacencyStructure()
1303 if (DepKind == SDep::Anti && TmpMI->isPHI()) in apply()
1307 else if (DepKind == SDep::Data && !TmpMI->isPHI() && TmpSU->NumPreds > 0) in apply()
[all …]
DPHIElimination.cpp206 if (MBB.empty() || !MBB.front().isPHI()) in EliminatePHINodes()
213 while (MBB.front().isPHI()) in EliminatePHINodes()
554 if (!BBI.isPHI()) in analyzePHINodes()
565 if (MBB.empty() || !MBB.front().isPHI() || MBB.isEHPad()) in SplitPHIEdges()
573 BBI != BBE && BBI->isPHI(); ++BBI) { in SplitPHIEdges()
DUnreachableBlockElim.cpp134 while (start != succ->end() && start->isPHI()) { in runOnMachineFunction()
167 while (phi != BB->end() && phi->isPHI()) { in runOnMachineFunction()
/external/llvm-project/llvm/lib/CodeGen/
DOptimizePHIs.cpp100 assert(MI->isPHI() && "IsSingleValuePHICycle expects a PHI instruction"); in IsSingleValuePHICycle()
128 if (SrcMI->isPHI()) { in IsSingleValuePHICycle()
144 assert(MI->isPHI() && "IsDeadPHICycle expects a PHI instruction"); in IsDeadPHICycle()
158 if (!UseMI.isPHI() || !IsDeadPHICycle(&UseMI, PHIsInCycle)) in IsDeadPHICycle()
172 if (!MI->isPHI()) in OptimizeBB()
DModuloSchedule.cpp37 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()
[all …]
DMachineSSAUpdater.cpp92 if (!I->isPHI()) in LookForIdenticalPHI()
98 while (I != BB->end() && I->isPHI()) { in LookForIdenticalPHI()
229 if (UseMI->isPHI()) { in RewriteUse()
324 if (I && I->isPHI()) in InstrIsPHI()
DTailDuplicator.cpp109 if (!MI->isPHI()) in VerifyPHIs()
231 if (UseMI->getParent() == DefBB && !UseMI->isPHI()) in tailDuplicateAndUpdate()
321 if (!MI.isPHI()) in getRegsUsedByPHIs()
475 if (!MI.isPHI()) in updateSuccessorsPHIs()
640 else if (!MI.isPHI() && !MI.isMetaInstruction()) in shouldTailDuplicate()
658 if (!I.isPHI()) in shouldTailDuplicate()
695 if (SuccsB.count(BB) && !BB->empty() && BB->begin()->isPHI()) in bothUsedInPHI()
877 if (MI->isPHI()) { in tailDuplicate()
935 while (I != TailBB->end() && I->isPHI()) { in tailDuplicate()
1003 while (I != TailBB->end() && I->isPHI()) { in tailDuplicate()
DMachinePipeliner.cpp663 assert(Phi.isPHI() && "Expecting a Phi."); in getPhiRegs()
862 if (SU != nullptr && UseMI->isPHI()) { in updatePhiDependences()
863 if (!MI->isPHI()) { in updatePhiDependences()
882 if (SU != nullptr && DefMI->isPHI()) { in updatePhiDependences()
883 if (!MI->isPHI()) { in updatePhiDependences()
903 if (PMI->isPHI() && PI.getKind() == SDep::Order) { in updatePhiDependences()
904 if (I.getInstr()->isPHI()) { in updatePhiDependences()
1246 (SI.getKind() == SDep::Anti && !SI.getSUnit()->getInstr()->isPHI())) in createAdjacencyStructure()
1385 if (DepKind == SDep::Anti && TmpMI->isPHI()) in apply()
1389 else if (DepKind == SDep::Data && !TmpMI->isPHI() && TmpSU->NumPreds > 0) in apply()
[all …]
DPHIElimination.cpp236 if (MBB.empty() || !MBB.front().isPHI()) in EliminatePHINodes()
243 while (MBB.front().isPHI()) in EliminatePHINodes()
606 if (!BBI.isPHI()) in analyzePHINodes()
618 if (MBB.empty() || !MBB.front().isPHI() || MBB.isEHPad()) in SplitPHIEdges()
626 BBI != BBE && BBI->isPHI(); ++BBI) { in SplitPHIEdges()
DUnreachableBlockElim.cpp132 while (start != succ->end() && start->isPHI()) { in runOnMachineFunction()
165 while (phi != BB->end() && phi->isPHI()) { in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFMIPeephole.cpp118 if (PhiDef->isPHI()) { in isPhiFrom32Def()
138 if (DefInsn->isPHI()) { in isInsnFrom32Def()
195 SllMI->isPHI() || in eliminateZExtSeq()
205 MovMI->isPHI() || in eliminateZExtSeq()
462 if (DefMI->isPHI()) { in eliminateTruncSeq()
473 if (!PhiDef || PhiDef->isPHI() || in eliminateTruncSeq()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFMIPeephole.cpp125 if (PhiDef->isPHI()) { in isPhiFrom32Def()
145 if (DefInsn->isPHI()) { in isInsnFrom32Def()
202 SllMI->isPHI() || in eliminateZExtSeq()
212 MovMI->isPHI() || in eliminateZExtSeq()
511 if (DefMI->isPHI()) { in eliminateTruncSeq()
522 if (!PhiDef || PhiDef->isPHI() || in eliminateTruncSeq()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLocalizer.cpp54 if (MIUse.isPHI()) in isLocalUse()
105 if (MRI->hasOneUse(Reg) && !UseMI.isPHI()) in localizeInterBlock()
143 if (!UseMI.isPHI()) in localizeIntraBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLocalizer.cpp107 if (MIUse.isPHI()) in isLocalUse()
152 if (MRI->hasOneUse(Reg) && !UseMI.isPHI()) in localizeInterBlock()
190 if (!UseMI.isPHI()) in localizeIntraBlock()
DRegBankSelect.cpp330 assert((MI.isPHI() || MI.isTerminator()) && "Why do we split?"); in tryAvoidingSplit()
339 assert((!MI.isPHI() || !MO.isDef()) && "Need split for phi def?"); in tryAvoidingSplit()
739 if (!MI.isPHI() && !MI.isTerminator()) { in RepairingPlacement()
746 if (MI.isPHI()) { in RepairingPlacement()
844 assert((!Before || !Instr.isPHI()) && in InstrInsertPoint()
846 assert((!Before || !Instr.getNextNode() || !Instr.getNextNode()->isPHI()) && in InstrInsertPoint()
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp233 assert((MI.isPHI() || MI.isTerminator()) && "Why do we split?"); in tryAvoidingSplit()
242 assert((!MI.isPHI() || !MO.isDef()) && "Need split for phi def?"); in tryAvoidingSplit()
586 if (!MI.isPHI() && !MI.isTerminator()) { in RepairingPlacement()
593 if (MI.isPHI()) { in RepairingPlacement()
685 assert((!Before || !Instr.isPHI()) && in InstrInsertPoint()
687 assert((!Before || !Instr.getNextNode() || !Instr.getNextNode()->isPHI()) && in InstrInsertPoint()

1234567