Lines Matching refs:MachineBasicBlock
146 MachineBasicBlock *splitBlockBeforeInstr(MachineInstr *MI);
147 void adjustBBOffsetsAfter(MachineBasicBlock *BB);
148 bool isBBInRange(MachineInstr *MI, MachineBasicBlock *BB,
153 void computeBlockSize(MachineBasicBlock *MBB);
166 MachineBasicBlock *MBB = MBBI;
237 static bool BBHasFallthrough(MachineBasicBlock *MBB) {
244 MachineBasicBlock *NextBB = llvm::next(MBBI);
245 for (MachineBasicBlock::succ_iterator I = MBB->succ_begin(),
276 MachineBasicBlock &MBB = *MBBI;
278 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
322 void AArch64BranchFixup::computeBlockSize(MachineBasicBlock *MBB) {
327 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;
341 MachineBasicBlock *MBB = MI->getParent();
349 for (MachineBasicBlock::iterator I = MBB->begin(); &*I != MI; ++I) {
359 MachineBasicBlock *
361 MachineBasicBlock *OrigBB = MI->getParent();
364 MachineBasicBlock *NewBB =
409 void AArch64BranchFixup::adjustBBOffsetsAfter(MachineBasicBlock *BB) {
434 MachineBasicBlock *DestBB,
452 MachineBasicBlock *DestBB = 0;
475 MachineBasicBlock *MBB = MI->getParent();
531 if (llvm::next(MachineBasicBlock::iterator(MI)) == prior(MBB->end()) &&
539 MachineBasicBlock *NewDest = BMI->getOperand(0).getMBB();
543 MachineBasicBlock *DestBB = MI->getOperand(CondBrMBBOperand).getMBB();
552 MachineBasicBlock::iterator MBBI = MI; ++MBBI;
578 MachineBasicBlock *NextBB = llvm::next(MachineFunction::iterator(MBB));