/external/llvm/lib/CodeGen/ |
D | OptimizePHIs.cpp | 91 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()
|
D | MachinePipeliner.cpp | 295 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 …]
|
D | TailDuplicator.cpp | 79 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()
|
D | MachineSSAUpdater.cpp | 86 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()
|
D | PHIElimination.cpp | 186 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/ |
D | OptimizePHIs.cpp | 100 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()
|
D | ModuloSchedule.cpp | 38 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 …]
|
D | TailDuplicator.cpp | 109 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()
|
D | MachineSSAUpdater.cpp | 89 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()
|
D | MachinePipeliner.cpp | 583 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 …]
|
D | PHIElimination.cpp | 206 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()
|
D | UnreachableBlockElim.cpp | 134 while (start != succ->end() && start->isPHI()) { in runOnMachineFunction() 167 while (phi != BB->end() && phi->isPHI()) { in runOnMachineFunction()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | OptimizePHIs.cpp | 100 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()
|
D | ModuloSchedule.cpp | 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() [all …]
|
D | MachineSSAUpdater.cpp | 92 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()
|
D | TailDuplicator.cpp | 109 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()
|
D | MachinePipeliner.cpp | 663 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 …]
|
D | PHIElimination.cpp | 236 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()
|
D | UnreachableBlockElim.cpp | 132 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/ |
D | BPFMIPeephole.cpp | 118 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/ |
D | BPFMIPeephole.cpp | 125 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/ |
D | Localizer.cpp | 54 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/ |
D | Localizer.cpp | 107 if (MIUse.isPHI()) in isLocalUse() 152 if (MRI->hasOneUse(Reg) && !UseMI.isPHI()) in localizeInterBlock() 190 if (!UseMI.isPHI()) in localizeIntraBlock()
|
D | RegBankSelect.cpp | 330 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/ |
D | RegBankSelect.cpp | 233 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()
|