Lines Matching refs:LastInst
866 MachineInstr &LastInst = *I; in analyzeBranch() local
870 if (LastInst.getOpcode() == PPC::B) { in analyzeBranch()
871 if (!LastInst.getOperand(0).isMBB()) in analyzeBranch()
873 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
875 } else if (LastInst.getOpcode() == PPC::BCC) { in analyzeBranch()
876 if (!LastInst.getOperand(2).isMBB()) in analyzeBranch()
879 TBB = LastInst.getOperand(2).getMBB(); in analyzeBranch()
880 Cond.push_back(LastInst.getOperand(0)); in analyzeBranch()
881 Cond.push_back(LastInst.getOperand(1)); in analyzeBranch()
883 } else if (LastInst.getOpcode() == PPC::BC) { in analyzeBranch()
884 if (!LastInst.getOperand(1).isMBB()) in analyzeBranch()
887 TBB = LastInst.getOperand(1).getMBB(); in analyzeBranch()
889 Cond.push_back(LastInst.getOperand(0)); in analyzeBranch()
891 } else if (LastInst.getOpcode() == PPC::BCn) { in analyzeBranch()
892 if (!LastInst.getOperand(1).isMBB()) in analyzeBranch()
895 TBB = LastInst.getOperand(1).getMBB(); in analyzeBranch()
897 Cond.push_back(LastInst.getOperand(0)); in analyzeBranch()
899 } else if (LastInst.getOpcode() == PPC::BDNZ8 || in analyzeBranch()
900 LastInst.getOpcode() == PPC::BDNZ) { in analyzeBranch()
901 if (!LastInst.getOperand(0).isMBB()) in analyzeBranch()
905 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
910 } else if (LastInst.getOpcode() == PPC::BDZ8 || in analyzeBranch()
911 LastInst.getOpcode() == PPC::BDZ) { in analyzeBranch()
912 if (!LastInst.getOperand(0).isMBB()) in analyzeBranch()
916 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
936 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
938 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
943 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
946 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
948 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
953 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
956 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
958 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
963 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
967 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
969 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
977 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
981 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
983 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
991 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
997 if (SecondLastInst.getOpcode() == PPC::B && LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1001 I = LastInst; in analyzeBranch()