Searched refs:SecondLastInst (Results 1 – 7 of 7) sorted by relevance
228 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local231 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()235 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()243 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()245 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()253 if (IsBRU(SecondLastInst->getOpcode()) && in AnalyzeBranch()255 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()263 if (IsBR_JT(SecondLastInst->getOpcode()) && IsBRU(LastInst->getOpcode())) { in AnalyzeBranch()
155 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local158 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()162 if (MBlaze::isCondBranchOpcode(SecondLastInst->getOpcode()) && in AnalyzeBranch()164 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()165 Cond.push_back(MachineOperand::CreateImm(SecondLastInst->getOpcode())); in AnalyzeBranch()166 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()173 if (MBlaze::isUncondBranchOpcode(SecondLastInst->getOpcode()) && in AnalyzeBranch()175 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
257 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local260 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()265 if ((SecondLastInst->getOpcode() == Alpha::COND_BRANCH_I || in AnalyzeBranch()266 SecondLastInst->getOpcode() == Alpha::COND_BRANCH_F) && in AnalyzeBranch()268 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()269 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()270 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()277 if (SecondLastInst->getOpcode() == Alpha::BR && in AnalyzeBranch()279 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
255 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local258 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()263 if (isCondBranch(SecondLastInst) && isUncondBranch(LastInst)) { in AnalyzeBranch()264 TBB = SecondLastInst->getOperand(1).getMBB(); in AnalyzeBranch()266 DEBUG(SecondLastInst->dump()); in AnalyzeBranch()267 Cond.push_back(MachineOperand::CreateImm(SecondLastInst->getOpcode())); in AnalyzeBranch()268 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()275 if (isUncondBranch(SecondLastInst) && isUncondBranch(LastInst)) { in AnalyzeBranch()276 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
211 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local214 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()219 if (SecondLastInst->getOpcode() == PPC::BCC && in AnalyzeBranch()221 if (!SecondLastInst->getOperand(2).isMBB() || in AnalyzeBranch()224 TBB = SecondLastInst->getOperand(2).getMBB(); in AnalyzeBranch()225 Cond.push_back(SecondLastInst->getOperand(0)); in AnalyzeBranch()226 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()233 if (SecondLastInst->getOpcode() == PPC::B && in AnalyzeBranch()235 if (!SecondLastInst->getOperand(0).isMBB()) in AnalyzeBranch()237 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()
305 MachineInstr *SecondLastInst = NULL; in AnalyzeBranch() local308 SecondLastInst = &*I; in AnalyzeBranch()309 SecondLastOpc = GetAnalyzableBrOpc(SecondLastInst->getOpcode()); in AnalyzeBranch()312 if (isUnpredicatedTerminator(SecondLastInst) && !SecondLastOpc) in AnalyzeBranch()341 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()351 AnalyzeCondBr(SecondLastInst, SecondLastOpc, TBB, Cond); in AnalyzeBranch()
303 MachineInstr *SecondLastInst = I; in AnalyzeBranch() local304 unsigned SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()311 LastInst = SecondLastInst; in AnalyzeBranch()318 SecondLastInst = I; in AnalyzeBranch()319 SecondLastOpc = SecondLastInst->getOpcode(); in AnalyzeBranch()325 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()330 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()331 Cond.push_back(SecondLastInst->getOperand(1)); in AnalyzeBranch()332 Cond.push_back(SecondLastInst->getOperand(2)); in AnalyzeBranch()340 TBB = SecondLastInst->getOperand(0).getMBB(); in AnalyzeBranch()