Home
last modified time | relevance | path

Searched refs:setExecutionCount (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunctionProfile.cpp94 Succ->setExecutionCount(Succ->getExecutionCount() + SuccBIIter->Count); in postProcessProfile()
116 FTSuccessor->setExecutionCount(FTSuccessor->getKnownExecutionCount() + in postProcessProfile()
129 Succ->setExecutionCount(std::max(Succ->getExecutionCount(), Count)); in postProcessProfile()
130 BB->setExecutionCount(std::max(BB->getExecutionCount(), Count)); in postProcessProfile()
143 BB->setExecutionCount(std::max(BB->getExecutionCount(), *CountAnnt)); in postProcessProfile()
203 BF.setExecutionCount(BF.getKnownExecutionCount() + getExecutionCount()); in mergeProfileDataInto()
217 BBMerge->setExecutionCount(BBMerge->getKnownExecutionCount() + in mergeProfileDataInto()
H A DBinaryBasicBlock.cpp393 setExecutionCount(adjustedCount(getKnownExecutionCount())); in adjustExecutionCount()
H A DBinaryFunction.cpp2281 TailCallBB->setExecutionCount(CTCTakenCount); in removeConditionalTailCalls()
3867 NewBB->setExecutionCount(OrigCount); in splitEdge()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileReader.cpp84 BF.setExecutionCount(YamlBF.ExecCount); in parseFunctionProfile()
115 BB.setExecutionCount(0); in parseFunctionProfile()
124 BB.setExecutionCount(NumSamples); in parseFunctionProfile()
130 BB.setExecutionCount(YamlBB.ExecCount); in parseFunctionProfile()
219 BB.setExecutionCount(0); in parseFunctionProfile()
222 BF.setExecutionCount(FunctionExecutionCount); in parseFunctionProfile()
277 BF.setExecutionCount(YamlBF.ExecCount); in preprocessProfile()
320 Function.setExecutionCount(BinaryFunction::COUNT_NO_PROFILE); in readProfile()
H A DDataReader.cpp391 BB->setExecutionCount(Count + BI.Branches); in readProfile()
604 I->second->setExecutionCount(NumSamples); in readSampleData()
H A DDataAggregator.cpp966 EntryBB->setExecutionCount(EntryBB->getKnownExecutionCount() + Count); in recordEntry()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DInliner.cpp296 InlinedBB->setExecutionCount(BBI->getKnownExecutionCount()); in inlineCall()
298 InlinedBB->setExecutionCount(FirstInlinedBBCount); in inlineCall()
377 InlinedBB->setExecutionCount(InlinedBB->getKnownExecutionCount() * in inlineCall()
383 FirstInlinedBB->setExecutionCount(FirstInlinedBBCount); in inlineCall()
H A DMCF.cpp188 BB.setExecutionCount(TotalPredsEWeight); in recalculateBBCounts()
198 BB.setExecutionCount(TotalSuccsEWeight); in recalculateBBCounts()
441 BB->setExecutionCount(Max); in equalizeBBCounts()
H A DLongJmp.cpp88 StubBB->setExecutionCount(0); in createNewStub()
234 StubBB->setExecutionCount(StubBB->getExecutionCount() + OrigCount); in replaceTargetWithStub()
241 StubBB->setExecutionCount(StubBB->getExecutionCount() + in replaceTargetWithStub()
H A DThreeWayBranch.cpp130 SecondBranch->setExecutionCount(NewSecondBranchCount); in runOnFunction()
H A DBinaryPasses.cpp891 BB->setExecutionCount(BB->getExecutionCount() - CTCTakenFreq); in fixTailCalls()
893 BB->setExecutionCount(0); in fixTailCalls()
1775 MemcpyBB->setExecutionCount(0); in runOnFunctions()
1780 MemcpyBB->setExecutionCount(1); in runOnFunctions()
H A DSplitFunctions.cpp352 TrampolineBB->setExecutionCount(LPBlock->getExecutionCount()); in createEHTrampolines()
H A DIndirectCallPromotion.cpp858 SourceBB->setExecutionCount(TotalCount); in fixCFG()
917 NewBBs[I]->setExecutionCount(ExecCount); in fixCFG()
933 NewBBs.back()->setExecutionCount(TotalCount); in fixCFG()
H A DTailDuplication.cpp538 NewBB->setExecutionCount(CurBB->getExecutionCount()); in duplicateBlocks()
H A DReorderAlgorithm.cpp675 BBPtr->setExecutionCount(0); in reorderBasicBlocks()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryBasicBlock.h616 New->setExecutionCount(getExecutionCount()); in moveAllSuccessorsTo()
662 void setExecutionCount(uint64_t Count) { ExecutionCount = Count; } in setExecutionCount() function
H A DBinaryFunction.h1811 BinaryFunction &setExecutionCount(uint64_t Count) { in setExecutionCount() function