Home
last modified time | relevance | path

Searched refs:BlockSizes (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp48 std::vector<std::pair<unsigned, unsigned>> BlockSizes; member
129 auto &BS = BlockSizes[MBB.getNumber()-1]; in ComputeBlockSizes()
171 BlockSizes[MBB.getNumber()].first = BlockSize; in ComputeBlockSizes()
183 auto &BS = BlockSizes[MBB.getNumber()-1]; in modifyAdjustment()
195 Offset += BlockSizes[MBB.getNumber()].first; in modifyAdjustment()
216 BranchSize += BlockSizes[DestBlock].first; in computeBranchSize()
218 BranchSize += BlockSizes[i].first; in computeBranchSize()
228 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
232 BranchSize += BlockSizes[i].first; in computeBranchSize()
293 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp3580 auto BlockSizes = std::vector<uint64_t>(F->size()); in applyExtTsp() local
3596 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
3612 calcExtTspScore(BlockSizes, BlockCounts, JumpCounts))); in applyExtTsp()
3615 auto NewOrder = computeExtTspLayout(BlockSizes, BlockCounts, JumpCounts); in applyExtTsp()
3622 calcExtTspScore(NewOrder, BlockSizes, BlockCounts, in applyExtTsp()