Lines Matching refs:LastInst

1290   MachineInstr &LastInst = *I;  in analyzeBranch()  local
1294 if (LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1295 if (!LastInst.getOperand(0).isMBB()) in analyzeBranch()
1297 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1299 } else if (LastInst.getOpcode() == PPC::BCC) { in analyzeBranch()
1300 if (!LastInst.getOperand(2).isMBB()) in analyzeBranch()
1303 TBB = LastInst.getOperand(2).getMBB(); in analyzeBranch()
1304 Cond.push_back(LastInst.getOperand(0)); in analyzeBranch()
1305 Cond.push_back(LastInst.getOperand(1)); in analyzeBranch()
1307 } else if (LastInst.getOpcode() == PPC::BC) { in analyzeBranch()
1308 if (!LastInst.getOperand(1).isMBB()) in analyzeBranch()
1311 TBB = LastInst.getOperand(1).getMBB(); in analyzeBranch()
1313 Cond.push_back(LastInst.getOperand(0)); in analyzeBranch()
1315 } else if (LastInst.getOpcode() == PPC::BCn) { in analyzeBranch()
1316 if (!LastInst.getOperand(1).isMBB()) in analyzeBranch()
1319 TBB = LastInst.getOperand(1).getMBB(); in analyzeBranch()
1321 Cond.push_back(LastInst.getOperand(0)); in analyzeBranch()
1323 } else if (LastInst.getOpcode() == PPC::BDNZ8 || in analyzeBranch()
1324 LastInst.getOpcode() == PPC::BDNZ) { in analyzeBranch()
1325 if (!LastInst.getOperand(0).isMBB()) in analyzeBranch()
1329 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1334 } else if (LastInst.getOpcode() == PPC::BDZ8 || in analyzeBranch()
1335 LastInst.getOpcode() == PPC::BDZ) { in analyzeBranch()
1336 if (!LastInst.getOperand(0).isMBB()) in analyzeBranch()
1340 TBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1360 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1362 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
1367 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1370 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1372 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
1377 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1380 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1382 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
1387 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1391 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1393 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
1401 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1405 LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1407 !LastInst.getOperand(0).isMBB()) in analyzeBranch()
1415 FBB = LastInst.getOperand(0).getMBB(); in analyzeBranch()
1421 if (SecondLastInst.getOpcode() == PPC::B && LastInst.getOpcode() == PPC::B) { in analyzeBranch()
1425 I = LastInst; in analyzeBranch()