Lines Matching refs:LastInst
431 MachineInstr *LastInst = &*I; in analyzeBranch() local
435 if (&*I != LastInst && !I->isBundle() && isUnpredicatedTerminator(*I)) { in analyzeBranch()
447 int LastOpcode = LastInst->getOpcode(); in analyzeBranch()
451 if (LastOpcode == Hexagon::J2_jump && !LastInst->getOperand(0).isMBB()) in analyzeBranch()
458 bool LastOpcodeHasNVJump = isNewValueJump(LastInst); in analyzeBranch()
460 if (LastOpcodeHasJMP_c && !LastInst->getOperand(1).isMBB()) in analyzeBranch()
464 if (LastInst && !SecondLastInst) { in analyzeBranch()
466 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
470 TBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
471 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in analyzeBranch()
472 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
476 TBB = LastInst->getOperand(1).getMBB(); in analyzeBranch()
477 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in analyzeBranch()
478 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
482 if (LastOpcodeHasNVJump && (LastInst->getNumExplicitOperands() == 3)) { in analyzeBranch()
483 TBB = LastInst->getOperand(2).getMBB(); in analyzeBranch()
484 Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); in analyzeBranch()
485 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
486 Cond.push_back(LastInst->getOperand(1)); in analyzeBranch()
503 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
515 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
523 I = LastInst->getIterator(); in analyzeBranch()
534 FBB = LastInst->getOperand(0).getMBB(); in analyzeBranch()
3257 MachineInstr *LastInst = &*I; in getBranchingInstrs() local
3258 Jumpers.push_back(LastInst); in getBranchingInstrs()
3262 if (&*I != LastInst && !I->isBundle() && isUnpredicatedTerminator(*I)) { in getBranchingInstrs()