Lines Matching refs:OrigBB
244 BranchRelaxation::createNewBlockAfter(MachineBasicBlock &OrigBB) { in createNewBlockAfter() argument
245 return createNewBlockAfter(OrigBB, OrigBB.getBasicBlock()); in createNewBlockAfter()
274 MachineBasicBlock *OrigBB = MI.getParent(); in splitBlockBeforeInstr() local
278 MF->CreateMachineBasicBlock(OrigBB->getBasicBlock()); in splitBlockBeforeInstr()
279 MF->insert(++OrigBB->getIterator(), NewBB); in splitBlockBeforeInstr()
282 NewBB->setSectionID(OrigBB->getSectionID()); in splitBlockBeforeInstr()
283 NewBB->setIsEndSection(OrigBB->isEndSection()); in splitBlockBeforeInstr()
284 OrigBB->setIsEndSection(false); in splitBlockBeforeInstr()
287 NewBB->splice(NewBB->end(), OrigBB, MI.getIterator(), OrigBB->end()); in splitBlockBeforeInstr()
293 TII->insertUnconditionalBranch(*OrigBB, NewBB, DebugLoc()); in splitBlockBeforeInstr()
298 NewBB->transferSuccessors(OrigBB); in splitBlockBeforeInstr()
299 OrigBB->addSuccessor(NewBB); in splitBlockBeforeInstr()
300 OrigBB->addSuccessor(DestBB); in splitBlockBeforeInstr()
304 OrigBB->updateTerminator(NewBB); in splitBlockBeforeInstr()
311 BlockInfo[OrigBB->getNumber()].Size = computeBlockSize(*OrigBB); in splitBlockBeforeInstr()
318 adjustBlockOffsets(*OrigBB); in splitBlockBeforeInstr()