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.cpp45 std::vector<std::pair<unsigned, unsigned>> BlockSizes; member
125 auto &BS = BlockSizes[MBB.getNumber()-1]; in ComputeBlockSizes()
167 BlockSizes[MBB.getNumber()].first = BlockSize; in ComputeBlockSizes()
179 auto &BS = BlockSizes[MBB.getNumber()-1]; in modifyAdjustment()
191 Offset += BlockSizes[MBB.getNumber()].first; in modifyAdjustment()
212 BranchSize += BlockSizes[DestBlock].first; in computeBranchSize()
214 BranchSize += BlockSizes[i].first; in computeBranchSize()
224 BranchSize = BlockSizes[StartBlock].first - BrOffset; in computeBranchSize()
228 BranchSize += BlockSizes[i].first; in computeBranchSize()
289 BlockSizes.resize(Fn.getNumBlockIDs()); in runOnMachineFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp3693 SmallVector<uint64_t, 0> BlockSizes(F->size()); in applyExtTsp() local
3710 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
3750 const double OrgScore = calcExtTspScore(BlockSizes, JumpCounts); in applyExtTsp()
3754 auto NewOrder = computeExtTspLayout(BlockSizes, BlockCounts, JumpCounts); in applyExtTsp()
3760 const double OptScore = calcExtTspScore(NewOrder, BlockSizes, JumpCounts); in applyExtTsp()