• Home
  • Raw
  • Download

Lines Matching refs:SecondLastInst

525   MachineInstr *SecondLastInst = I;  in analyzeBranch()  local
528 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I)) in analyzeBranch()
532 if (SecondLastInst->getOpcode() == PPC::BCC && in analyzeBranch()
534 if (!SecondLastInst->getOperand(2).isMBB() || in analyzeBranch()
537 TBB = SecondLastInst->getOperand(2).getMBB(); in analyzeBranch()
538 Cond.push_back(SecondLastInst->getOperand(0)); in analyzeBranch()
539 Cond.push_back(SecondLastInst->getOperand(1)); in analyzeBranch()
542 } else if (SecondLastInst->getOpcode() == PPC::BC && in analyzeBranch()
544 if (!SecondLastInst->getOperand(1).isMBB() || in analyzeBranch()
547 TBB = SecondLastInst->getOperand(1).getMBB(); in analyzeBranch()
549 Cond.push_back(SecondLastInst->getOperand(0)); in analyzeBranch()
552 } else if (SecondLastInst->getOpcode() == PPC::BCn && in analyzeBranch()
554 if (!SecondLastInst->getOperand(1).isMBB() || in analyzeBranch()
557 TBB = SecondLastInst->getOperand(1).getMBB(); in analyzeBranch()
559 Cond.push_back(SecondLastInst->getOperand(0)); in analyzeBranch()
562 } else if ((SecondLastInst->getOpcode() == PPC::BDNZ8 || in analyzeBranch()
563 SecondLastInst->getOpcode() == PPC::BDNZ) && in analyzeBranch()
565 if (!SecondLastInst->getOperand(0).isMBB() || in analyzeBranch()
570 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
576 } else if ((SecondLastInst->getOpcode() == PPC::BDZ8 || in analyzeBranch()
577 SecondLastInst->getOpcode() == PPC::BDZ) && in analyzeBranch()
579 if (!SecondLastInst->getOperand(0).isMBB() || in analyzeBranch()
584 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()
594 if (SecondLastInst->getOpcode() == PPC::B && in analyzeBranch()
596 if (!SecondLastInst->getOperand(0).isMBB()) in analyzeBranch()
598 TBB = SecondLastInst->getOperand(0).getMBB(); in analyzeBranch()