Home
last modified time | relevance | path

Searched refs:BBSize (Results 1 – 7 of 7) sorted by relevance

/llvm-project/bolt/lib/Passes/
H A DCacheMetrics.cpp35 std::unordered_map<BinaryBasicBlock *, uint64_t> &BBSize) { in extractBasicBlockInfo() argument
43 BBSize[&BB] = BB.getOutputSize(); in extractBasicBlockInfo()
47 BBSize[&BB] = BB.getOriginalSize(); in extractBasicBlockInfo()
59 const std::unordered_map<BinaryBasicBlock *, uint64_t> &BBSize) { in calcTSPScore() argument
75 auto BBSizeIt = BBSize.find(SrcBB); in calcTSPScore()
76 assert(BBSizeIt != BBSize.end()); in calcTSPScore()
145 const std::unordered_map<BinaryBasicBlock *, uint64_t> &BBSize) { in expectedCacheHitRatio() argument
270 std::unordered_map<BinaryBasicBlock *, uint64_t> BBSize; in printAll() local
271 extractBasicBlockInfo(BFs, BBAddr, BBSize); in printAll()
274 << format("%.2lf%%\n", expectedCacheHitRatio(BFs, BBAddr, BBSize)); in printAll()
[all …]
H A DTailDuplication.cpp412 DenseMap<const BinaryBasicBlock *, uint64_t> BBSize; in cacheScoreImproved() local
414 BBSize[&BB] = std::max<uint64_t>(BB.estimateSize(Emitter), 1); in cacheScoreImproved()
422 Addr += BBSize[SrcBB]; in cacheScoreImproved()
430 Addr += BBSize[SrcBB]; in cacheScoreImproved()
432 Addr += BBSize[Tail]; in cacheScoreImproved()
441 CurScore += cacheScore(CurAddr[SrcBB], BBSize[SrcBB], CurAddr[DstBB], in cacheScoreImproved()
442 BBSize[DstBB], BI->Count); in cacheScoreImproved()
455 NewScore += cacheScore(NewAddr[SrcBB], BBSize[SrcBB], in cacheScoreImproved()
456 NewAddr[SrcBB] + BBSize[SrcBB], BBSize[DstBB], in cacheScoreImproved()
459 NewScore += cacheScore(NewAddr[SrcBB], BBSize[SrcBB], NewAddr[DstBB], in cacheScoreImproved()
[all …]
/llvm-project/llvm/include/llvm/CodeGen/
H A DVLIWMachineScheduler.h168 const auto BBSize = DAG->getBBSize(); in init() local
169 CriticalPathLength = BBSize / SchedModel->getIssueWidth(); in init()
170 if (BBSize < 50) in init()
/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp374 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size; in fixupConditionalBranch()
377 BBSize += NewBrSize; in fixupConditionalBranch()
382 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size; in fixupConditionalBranch()
385 BBSize += NewBrSize; in fixupConditionalBranch()
388 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size; in fixupConditionalBranch()
391 BBSize -= RemovedSize; in fixupConditionalBranch()
365 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size; fixupConditionalBranch() local
373 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size; fixupConditionalBranch() local
379 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size; fixupConditionalBranch() local
H A DCriticalAntiDepBreaker.cpp51 const unsigned BBSize = BB->size(); in StartBlock() local
58 DefIndices[i] = BBSize; in StartBlock()
72 KillIndices[Reg] = BBSize; in StartBlock()
90 KillIndices[Reg] = BBSize; in StartBlock()
H A DAggressiveAntiDepBreaker.cpp59 const unsigned BBSize = BB->size(); in AggressiveAntiDepState() local
66 DefIndices[i] = BBSize; in AggressiveAntiDepState()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1257 size_t BBSize = Caller->size() + Callee->size() - 1; in getCallArgsTotalAllocaSize()
1258 return BBSize <= InlineMaxBB; in getCallArgsTotalAllocaSize()
1197 size_t BBSize = Caller->size() + Callee->size() - 1; areInlineCompatible() local