reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/MachinePipeliner.h
  248     return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI();
  248     return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI();
  258     if (V->getInstr()->isPHI() && Dep.getKind() == SDep::Anti)
lib/CodeGen/DeadMachineInstructionElim.cpp
   71   if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI())
lib/CodeGen/EarlyIfConversion.cpp
  223     if (I->isPHI()) {
  318     if (I->isPHI()) {
  474   if (!Predicate && (Tail->empty() || !Tail->front().isPHI())) {
  508        I != E && I->isPHI(); ++I) {
lib/CodeGen/GlobalISel/CombinerHelper.cpp
  330   if (UseMI.isPHI()) {
lib/CodeGen/GlobalISel/Localizer.cpp
  102   if (MIUse.isPHI())
  147         if (MRI->hasOneUse(Reg) && !UseMI.isPHI())
  185       if (!UseMI.isPHI())
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  329   assert((MI.isPHI() || MI.isTerminator()) && "Why do we split?");
  338   assert((!MI.isPHI() || !MO.isDef()) && "Need split for phi def?");
  738   if (!MI.isPHI() && !MI.isTerminator()) {
  745   if (MI.isPHI()) {
  843   assert((!Before || !Instr.isPHI()) &&
  845   assert((!Before || !Instr.getNextNode() || !Instr.getNextNode()->isPHI()) &&
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
  151   return MI.isCopy() || MI.isPHI() ||
lib/CodeGen/GlobalISel/Utils.cpp
  163   if (!MI.isSafeToMove(/*AA=*/nullptr, SawStore) && !MI.isPHI())
lib/CodeGen/LiveRangeCalc.cpp
  191     if (MI->isPHI()) {
lib/CodeGen/LiveRangeShrink.cpp
  132       if (MI.isPHI() || MI.isDebugInstr())
  220         while (I != MBB.end() && (I->isPHI() || I->isDebugInstr()))
lib/CodeGen/LiveVariables.cpp
  508   if (MI.isPHI())
  711       if (!BBI.isPHI())
  771   for (; BBI != BBE && BBI->isPHI(); ++BBI) {
lib/CodeGen/MIRParser/MIRParser.cpp
  323       if (MI.isPHI())
lib/CodeGen/MIRPrinter.cpp
  555     if (MI.isPHI())
lib/CodeGen/MachineBasicBlock.cpp
  162   while (I != E && I->isPHI())
  174   while (I != E && (I->isPHI() || I->isPosition() ||
  189   while (I != E && (I->isPHI() || I->isPosition() || I->isDebugInstr() ||
 1028          I != E && I->isPHI(); ++I) {
lib/CodeGen/MachineCSE.cpp
  396   if (MI->isPosition() || MI->isPHI() || MI->isImplicitDef() || MI->isKill() ||
  488     HasPHI |= UseMI.isPHI();
lib/CodeGen/MachineCombiner.cpp
  143   if (DefInstr && DefInstr->isPHI())
lib/CodeGen/MachineInstr.cpp
 1168   if (mayStore() || isCall() || isPHI() ||
 1356   if (!isPHI())
lib/CodeGen/MachineLICM.cpp
 1068         if (UseMI.isPHI()) {
lib/CodeGen/MachineLoopUtils.cpp
   79   for (auto I = NewBB->begin(); I->isPHI(); ++I) {
   85     assert(OrigPhi.isPHI());
lib/CodeGen/MachinePipeliner.cpp
  583   assert(Phi.isPHI() && "Expecting a Phi.");
  781           if (SU != nullptr && UseMI->isPHI()) {
  782             if (!MI->isPHI()) {
  801         if (SU != nullptr && DefMI->isPHI()) {
  802           if (!MI->isPHI()) {
  822       if (PMI->isPHI() && PI.getKind() == SDep::Order) {
  823         if (I.getInstr()->isPHI()) {
 1164           (SI.getKind() == SDep::Anti && !SI.getSUnit()->getInstr()->isPHI()))
 1303       if (DepKind == SDep::Anti && TmpMI->isPHI())
 1307       else if (DepKind == SDep::Data && !TmpMI->isPHI() && TmpSU->NumPreds > 0)
 1324         if (TmpMI->isPHI() || TmpMI->isRegSequence()) {
 1552     if (MI->isPHI())
 2016         if (SU->getInstr()->isPHI())
 2071   if (BaseDef && BaseDef->isPHI()) {
 2109   if (!Phi || !Phi->isPHI())
 2189   while (Def->isPHI()) {
 2249   if (!Def || !Def->isPHI())
 2389     if (DAG->isBackedge(SU, P) && P.getSUnit()->getInstr()->isPHI())
 2391         if (S.getKind() == SDep::Data && S.getSUnit()->getInstr()->isPHI())
 2430         if (BE && Dep.getSUnit() == BE && !SU->getInstr()->isPHI() &&
 2589   if (!Phi.isPHI())
 2591   assert(Phi.isPHI() && "Expecting a Phi.");
 2602   if (UseSU->getInstr()->isPHI())
 2620   if (Def->isPHI())
 2623   if (!Phi || !Phi->isPHI() || Phi->getParent() != Def->getParent())
 2707       if (!PredSU->getInstr()->isPHI() && PredIndex < Index) {
 2723       if (!SuccSU->getInstr()->isPHI() && SuccIndex < Index) {
 2730     if (PredBefore && SuccBefore && !SU->getInstr()->isPHI()) {
 2842       if (SU->getInstr()->isPHI())
 2848       if (!SU->getInstr()->isPHI())
lib/CodeGen/MachineSSAUpdater.cpp
   89   if (!I->isPHI())
   95   while (I != BB->end() && I->isPHI()) {
  226   if (UseMI->isPHI()) {
  321     if (I && I->isPHI())
lib/CodeGen/MachineSink.cpp
  269     if (!(UseBlock == MBB && UseInst->isPHI() &&
  283     if (UseInst->isPHI()) {
  561     if (UseBlock == SuccToSinkTo && !UseInst.isPHI())
  947   while (InsertPos != SuccToSinkTo->end() && InsertPos->isPHI())
lib/CodeGen/MachineTraceMetrics.cpp
  687   assert(UseMI.isPHI() && UseMI.getNumOperands() % 2 && "Bad PHI");
  786   if (UseMI.isPHI())
 1075         if (!PHI.isPHI())
 1108       bool HasPhysRegs = !MI.isPHI() && getDataDeps(MI, Deps, MTM.MRI);
lib/CodeGen/MachineVerifier.cpp
 1488   if (MI->isPHI()) {
 1823     if (MI->isPHI() && !MO->getMBB()->isSuccessor(MI->getParent()))
 2048         else if (!MI->isPHI())
 2210     if (!Phi.isPHI())
lib/CodeGen/ModuloSchedule.cpp
   37   assert(Phi.isPHI() && "Expecting a Phi.");
   93         if (MI->isPHI()) {
  133     if (CI->isPHI())
  217           if (BBI->isPHI())
  291         if (BBI.isPHI())
  452         while (InstOp1 && InstOp1->isPHI() && InstOp1->getParent() == BB) {
  473         if (InstOp1->isPHI() && InstOp1->getParent() == KernelBB)
  477       bool LoopDefIsPhi = PhiInst && PhiInst->isPHI();
  644         if (InstOp2->isPHI() && InstOp2->getParent() == NewBB)
  655           if (InstOp1->isPHI() && InstOp1->getParent() == KernelBB)
  657           if (InstOp1->isPHI() && InstOp1->getParent() == NewBB)
  719       if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI()) {
  795       if (I->isPHI() && I->getParent() == KernelBB) {
  801         if (!MI || MI->getParent() != KernelBB || MI->isPHI())
  834     if (!MI.isPHI())
  926   if (BaseDef && BaseDef->isPHI()) {
 1061   while (Def->isPHI()) {
 1087     else if (!LoopInst->isPHI() || LoopInst->getParent() != BB)
 1151     if (UseMI->isPHI()) {
 1152       if (!Phi->isPHI() && UseMI->getOperand(0).getReg() == NewReg)
 1164     if (StagePhi == StageSched && Phi->isPHI()) {
 1169                (CyclePhi <= CycleSched || OrigMI->isPHI()))
 1178     if (StagePhi > StageSched && Phi->isPHI())
 1180     if (!InProlog && !Phi->isPHI() && StagePhi < StageSched)
 1190   if (!Phi.isPHI())
 1199   if (!Use || Use->isPHI())
 1223       assert(MI.isPHI());
 1297     if (MI->isPHI())
 1317     if (MI.isPHI() || MI.isTerminator())
 1333     if (MI->isPHI()) {
 1356   if (!Producer->isPHI()) {
 1378   while (LoopProducer->isPHI() && LoopProducer->getParent() == BB) {
 1535       if (!MI->isPHI())
 1720   if (MI->isPHI()) {
 1747       assert(UseMI.isPHI());
 1862     if (NI->isPHI())
 1872     while (OI->isPHI() || OI->isFullCopy())
 1874     while (NI->isPHI() || NI->isFullCopy())
lib/CodeGen/OptimizePHIs.cpp
   99   assert(MI->isPHI() && "IsSingleValuePHICycle expects a PHI instruction");
  127     if (SrcMI->isPHI()) {
  143   assert(MI->isPHI() && "IsDeadPHICycle expects a PHI instruction");
  157     if (!UseMI.isPHI() || !IsDeadPHICycle(&UseMI, PHIsInCycle))
  171     if (!MI->isPHI())
lib/CodeGen/PHIElimination.cpp
  206   if (MBB.empty() || !MBB.front().isPHI())
  213   while (MBB.front().isPHI())
  554       if (!BBI.isPHI())
  565   if (MBB.empty() || !MBB.front().isPHI() || MBB.isEHPad())
  573        BBI != BBE && BBI->isPHI(); ++BBI) {
lib/CodeGen/PeepholeOptimizer.cpp
  504     if (UseMI->isPHI()) {
  567       if (UI.isPHI())
 1652       if (IsLoopHeader && MI->isPHI()) {
 2026   assert(Def->isPHI() && "Invalid definition");
 2072   if (Def->isPHI())
lib/CodeGen/ProcessImplicitDefs.cpp
   66       !MI->isPHI())
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1708     assert(PHI->isPHI() &&
 1835       assert(PHI->isPHI() &&
 1888       assert(PHI->isPHI() &&
 1936              MBBI != MBBE && MBBI->isPHI(); ++MBBI) {
lib/CodeGen/TailDuplicator.cpp
  102       if (!MI->isPHI())
  222         if (UseMI->getParent() == DefBB && !UseMI->isPHI())
  312     if (!MI.isPHI())
  466       if (!MI.isPHI())
  621     if (!MI.isPHI() && !MI.isMetaInstruction())
  639       if (!I.isPHI())
  676     if (SuccsB.count(BB) && !BB->empty() && BB->begin()->isPHI())
  847       if (MI->isPHI()) {
  901       while (I != TailBB->end() && I->isPHI()) {
  964     while (I != TailBB->end() && I->isPHI()) {
lib/CodeGen/UnreachableBlockElim.cpp
  133         while (start != succ->end() && start->isPHI()) {
  166     while (phi != BB->end() && phi->isPHI()) {
lib/Target/AArch64/AArch64ConditionalCompares.cpp
  217     if (!I.isPHI())
  243     if (!I.isPHI())
  406     if (I.isPHI()) {
  487   if (!CmpBB->empty() && CmpBB->front().isPHI()) {
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  471   if (Op != TargetOpcode::COPY && !MI.isPHI())
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
 1674   if (I.isPHI())
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
  303   assert(PHI.isPHI());
  308   assert(PHI.isPHI());
  318   assert(PHI.isPHI());
  323   assert(PHI.isPHI());
  773       if (II.isPHI()) {
  844       if (II.isPHI()) {
  945     bool IsLoopPHI = IsInside && (O.getParent()->isPHI() &&
 1422     if (Instr.isPHI()) {
 1659     if (BBI.isPHI()) {
 1979   if (DefInstr->isPHI() && DefInstr->getParent() == CodeBB && IsSingleBB) {
 2506     if (!Instr.isPHI())
 2863       if (Instr.isPHI()) {
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  785       if (UseMI->isPHI()) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 6531       if (!Cur->isPHI() && Cur->readsRegister(Dst))
lib/Target/AMDGPU/SILowerI1Copies.cpp
  587         assert(IncomingDef->isPHI() || PhiRegisters.count(IncomingReg));
lib/Target/AMDGPU/SIWholeQuadMode.cpp
  452     if (!PrevMI->isPHI()) {
lib/Target/ARC/ARCOptAddrMode.cpp
  147     if (User->isPHI()) {
lib/Target/ARM/A15SDOptimizer.cpp
  370      if (MI->isPHI()) {
lib/Target/ARM/MLxExpansionPass.cpp
  152     if (DefMI->isPHI()) {
lib/Target/BPF/BPFMIPeephole.cpp
   88   if (DefInsn->isPHI()) {
   97       if (!PhiDef || PhiDef->isPHI() || PhiDef->getOpcode() == BPF::COPY)
  146             SllMI->isPHI() ||
  156             MovMI->isPHI() ||
  413       if (DefMI->isPHI()) {
  424           if (!PhiDef || PhiDef->isPHI() ||
lib/Target/Hexagon/BitTracker.cpp
 1066     while (It != End && It->isPHI()) {
 1109     if (UseI.isPHI())
lib/Target/Hexagon/HexagonBitSimplify.cpp
  977     if (UseI->isPHI()) {
 1010     if (!MI->isPHI() && !MI->isSafeToMove(nullptr, Store))
 1219       if (UseI.isPHI() || UseI.isCopy()) {
 1312     if (MI->isPHI() || MI->hasUnmodeledSideEffects() || MI->isInlineAsm())
 1477       auto At = I->isPHI() ? B.getFirstNonPHI() : I;
 1602     auto At = I->isPHI() ? B.getFirstNonPHI() : I;
 2027   auto At = MI->isPHI() ? B.getFirstNonPHI()
 2053   auto At = MI->isPHI() ? B.getFirstNonPHI()
 2098   auto At = MI->isPHI() ? B.getFirstNonPHI()
 2155     auto At = MI->isPHI() ? B.getFirstNonPHI()
 2267     auto At = DefS->isPHI() ? B.getFirstNonPHI()
 2336   auto At = MI->isPHI() ? B.getFirstNonPHI()
 2542     auto At = MI->isPHI() ? B.getFirstNonPHI()
 2591   auto At = MI->isPHI() ? B.getFirstNonPHI()
 3109     if (!I.isPHI())
 3154     if (I->isPHI())
 3171         if (UseI->isPHI()) {
lib/Target/Hexagon/HexagonConstPropagation.cpp
  792     if (MI.isPHI())
  893     while (It != End && It->isPHI()) {
  904     assert(It == End || !It->isPHI());
  996       if (I->isPHI())
 1001         if (P->isPHI())
 2800       if (!MI.isPHI() && !Inputs.has(R.Reg)) {
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  393         if (U->getParent()->isPHI())
  436       if (!MI.isPHI())
  455     if (!MI.isPHI())
  767     assert(!I->isPHI());
lib/Target/Hexagon/HexagonGenInsert.cpp
 1025       if (DefI->isPHI())
 1430     if (MI->isPHI())
lib/Target/Hexagon/HexagonHardwareLoops.cpp
  428        I != E && I->isPHI(); ++I) {
 1052     if (std::next(I) != End || !I->getParent()->isPHI())
 1389   assert(Phi->isPHI() && "Expecting a Phi.");
 1443   if (Def->isPHI() && !phiMayWrapOrUnderflow(Def, EndVal, Def->getParent(),
 1491   if (!Def->isCopy() && !Def->isPHI())
 1629        I != E && I->isPHI(); ++I) {
 1899          I != E && I->isPHI(); ++I) {
 1947          I != E && I->isPHI(); ++I) {
lib/Target/Hexagon/HexagonSplitDouble.cpp
  453       if (UseI->isPHI()) {
  535     if (!MI.isPHI())
lib/Target/Hexagon/HexagonSubtarget.cpp
  496   if (SrcInst.isPHI() || DstInst.isPHI())
  496   if (SrcInst.isPHI() || DstInst.isPHI())
lib/Target/Hexagon/RDFDeadCode.cpp
   64   if (MI->isPHI())
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  113     if (MI->isPHI() || MI->isRegTiedToDefOperand(OpNo) || MI->isPseudo())
lib/Target/PowerPC/PPCBranchCoalescing.cpp
  430       if (Use.isPHI() && Use.getParent() == &TargetMBB) {
  462       if (DefInst->isPHI() && DefInst->getParent() == MI.getParent()) {
  541         if (Use.isPHI() && Use.getParent() == SourceRegion.BranchTargetBlock) {
lib/Target/PowerPC/PPCReduceCRLogicals.cpp
   58     if (!MI.isPHI())
   91     if (!MI.isPHI())
  619       CRI.TrueDefs.first->isPHI() || CRI.TrueDefs.second->isPHI()) {
  619       CRI.TrueDefs.first->isPHI() || CRI.TrueDefs.second->isPHI()) {
lib/Target/X86/X86CondBrFolding.cpp
  190        MI != ME && MI->isPHI(); ++MI)
lib/Target/X86/X86FlagsCopyLowering.cpp
  306       if (!MI.isPHI())
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  287     if (!MI.isPHI())
  332       if (!MI.isPHI())
  741           assert((InsertPt == CheckingMBB.end() || !InsertPt->isPHI()) &&