Lines Matching refs:LastInst
463 MachineInstr *LastInst = I; in analyzeBranch() local
467 if (LastInst->getOpcode() == PPC::B) { in analyzeBranch()
468 if (!LastInst->getOperand(0).isMBB()) in analyzeBranch()
470 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
472 } else if (LastInst->getOpcode() == PPC::BCC) { in analyzeBranch()
473 if (!LastInst->getOperand(2).isMBB()) in analyzeBranch()
476 TBB = LastInst->getOperand(2).getMBB(); in analyzeBranch()
477 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
478 Cond.push_back(LastInst->getOperand(1)); in analyzeBranch()
480 } else if (LastInst->getOpcode() == PPC::BC) { in analyzeBranch()
481 if (!LastInst->getOperand(1).isMBB()) in analyzeBranch()
484 TBB = LastInst->getOperand(1).getMBB(); in analyzeBranch()
486 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
488 } else if (LastInst->getOpcode() == PPC::BCn) { in analyzeBranch()
489 if (!LastInst->getOperand(1).isMBB()) in analyzeBranch()
492 TBB = LastInst->getOperand(1).getMBB(); in analyzeBranch()
494 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
496 } else if (LastInst->getOpcode() == PPC::BDNZ8 || in analyzeBranch()
497 LastInst->getOpcode() == PPC::BDNZ) { in analyzeBranch()
498 if (!LastInst->getOperand(0).isMBB()) in analyzeBranch()
502 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
507 } else if (LastInst->getOpcode() == PPC::BDZ8 || in analyzeBranch()
508 LastInst->getOpcode() == PPC::BDZ) { in analyzeBranch()
509 if (!LastInst->getOperand(0).isMBB()) in analyzeBranch()
513 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
533 LastInst->getOpcode() == PPC::B) { in analyzeBranch()
535 !LastInst->getOperand(0).isMBB()) in analyzeBranch()
540 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
543 LastInst->getOpcode() == PPC::B) { in analyzeBranch()
545 !LastInst->getOperand(0).isMBB()) in analyzeBranch()
550 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
553 LastInst->getOpcode() == PPC::B) { in analyzeBranch()
555 !LastInst->getOperand(0).isMBB()) in analyzeBranch()
560 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
564 LastInst->getOpcode() == PPC::B) { in analyzeBranch()
566 !LastInst->getOperand(0).isMBB()) in analyzeBranch()
574 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
578 LastInst->getOpcode() == PPC::B) { in analyzeBranch()
580 !LastInst->getOperand(0).isMBB()) in analyzeBranch()
588 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
595 LastInst->getOpcode() == PPC::B) { in analyzeBranch()
599 I = LastInst; in analyzeBranch()