Lines Matching refs:MachineBasicBlock
91 MachineBasicBlock *splitBlockBeforeInstr(MachineInstr *MI);
92 void adjustBlockOffsets(MachineBasicBlock &MBB);
93 bool isBlockInRange(MachineInstr *MI, MachineBasicBlock *BB, unsigned Disp);
95 void computeBlockSize(const MachineBasicBlock &MBB);
122 for (MachineBasicBlock &MBB : *MF) {
143 static bool BBHasFallthrough(MachineBasicBlock *MBB) {
151 for (MachineBasicBlock *S : MBB->successors())
168 for (MachineBasicBlock &MBB : *MF)
177 void AArch64BranchRelaxation::computeBlockSize(const MachineBasicBlock &MBB) {
188 MachineBasicBlock *MBB = MI->getParent();
196 for (MachineBasicBlock::iterator I = MBB->begin(); &*I != MI; ++I) {
203 void AArch64BranchRelaxation::adjustBlockOffsets(MachineBasicBlock &Start) {
223 MachineBasicBlock *
225 MachineBasicBlock *OrigBB = MI->getParent();
228 MachineBasicBlock *NewBB =
266 MachineBasicBlock *DestBB,
301 static MachineBasicBlock *getDestBlock(MachineInstr *MI) {
365 MachineBasicBlock *DestBB = getDestBlock(MI);
378 MachineBasicBlock *MBB = MI->getParent();
383 if (std::next(MachineBasicBlock::iterator(MI)) ==
393 MachineBasicBlock *NewDest = BMI->getOperand(0).getMBB();
416 MachineBasicBlock *TBB, *FBB;
420 MachineBasicBlock *NewBB = splitBlockBeforeInstr(MI);
433 MachineBasicBlock *NextBB = &*std::next(MachineFunction::iterator(MBB));