Lines Matching refs:BlockOffsets
45 unsigned measureFunction(OffsetVector &BlockOffsets,
47 bool expandBranches(OffsetVector &BlockOffsets);
81 unsigned MSP430BSel::measureFunction(OffsetVector &BlockOffsets, in measureFunction() argument
93 BlockOffsets.resize(MF->getNumBlockIDs()); in measureFunction()
95 unsigned TotalSize = BlockOffsets[Begin->getNumber()]; in measureFunction()
97 BlockOffsets[MBB.getNumber()] = TotalSize; in measureFunction()
107 bool MSP430BSel::expandBranches(OffsetVector &BlockOffsets) { in expandBranches() argument
133 BlockOffsets[DestBB->getNumber()] - BlockOffsets[MBB->getNumber()]; in expandBranches()
170 measureFunction(BlockOffsets, &*MBB); in expandBranches()
212 for (int i = MBB->getNumber() + 1, e = BlockOffsets.size(); i < e; ++i) { in expandBranches()
213 BlockOffsets[i] += InstrSizeDiff; in expandBranches()
236 OffsetVector BlockOffsets; in runOnMachineFunction() local
238 unsigned FunctionSize = measureFunction(BlockOffsets); in runOnMachineFunction()
248 while (expandBranches(BlockOffsets)) in runOnMachineFunction()