• Home
  • Raw
  • Download

Lines Matching refs:SecondLastInst

928   MachineInstr &SecondLastInst = *I;  in analyzeBranch()  local
935 if (SecondLastInst.getOpcode() == PPC::BCC && in analyzeBranch()
937 if (!SecondLastInst.getOperand(2).isMBB() || in analyzeBranch()
940 TBB = SecondLastInst.getOperand(2).getMBB(); in analyzeBranch()
941 Cond.push_back(SecondLastInst.getOperand(0)); in analyzeBranch()
942 Cond.push_back(SecondLastInst.getOperand(1)); in analyzeBranch()
945 } else if (SecondLastInst.getOpcode() == PPC::BC && in analyzeBranch()
947 if (!SecondLastInst.getOperand(1).isMBB() || in analyzeBranch()
950 TBB = SecondLastInst.getOperand(1).getMBB(); in analyzeBranch()
952 Cond.push_back(SecondLastInst.getOperand(0)); in analyzeBranch()
955 } else if (SecondLastInst.getOpcode() == PPC::BCn && in analyzeBranch()
957 if (!SecondLastInst.getOperand(1).isMBB() || in analyzeBranch()
960 TBB = SecondLastInst.getOperand(1).getMBB(); in analyzeBranch()
962 Cond.push_back(SecondLastInst.getOperand(0)); in analyzeBranch()
965 } else if ((SecondLastInst.getOpcode() == PPC::BDNZ8 || in analyzeBranch()
966 SecondLastInst.getOpcode() == PPC::BDNZ) && in analyzeBranch()
968 if (!SecondLastInst.getOperand(0).isMBB() || in analyzeBranch()
973 TBB = SecondLastInst.getOperand(0).getMBB(); in analyzeBranch()
979 } else if ((SecondLastInst.getOpcode() == PPC::BDZ8 || in analyzeBranch()
980 SecondLastInst.getOpcode() == PPC::BDZ) && in analyzeBranch()
982 if (!SecondLastInst.getOperand(0).isMBB() || in analyzeBranch()
987 TBB = SecondLastInst.getOperand(0).getMBB(); in analyzeBranch()
997 if (SecondLastInst.getOpcode() == PPC::B && LastInst.getOpcode() == PPC::B) { in analyzeBranch()
998 if (!SecondLastInst.getOperand(0).isMBB()) in analyzeBranch()
1000 TBB = SecondLastInst.getOperand(0).getMBB(); in analyzeBranch()