Home
last modified time | relevance | path

Searched refs:COUNT_NO_PROFILE (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunctionProfile.cpp84 BB->ExecutionCount == BinaryBasicBlock::COUNT_NO_PROFILE) in postProcessProfile()
92 if (SuccBIIter->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in postProcessProfile()
128 if (Count != BinaryBasicBlock::COUNT_NO_PROFILE && Count > 0) { in postProcessProfile()
202 if (getExecutionCount() != BinaryFunction::COUNT_NO_PROFILE) in mergeProfileDataInto()
216 if (BB->getExecutionCount() != BinaryBasicBlock::COUNT_NO_PROFILE) { in mergeProfileDataInto()
230 assert(BII->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in mergeProfileDataInto()
232 assert(BIMergeI->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in mergeProfileDataInto()
290 if (SuccBI.Count != BinaryBasicBlock::COUNT_NO_PROFILE) in inferFallThroughCounts()
H A DBinaryBasicBlock.cpp349 uint64_t Count = COUNT_NO_PROFILE; in removeDuplicateConditionalSuccessor()
350 if (CondBI.Count != COUNT_NO_PROFILE && UncondBI.Count != COUNT_NO_PROFILE) in removeDuplicateConditionalSuccessor()
395 if (BI.Count != COUNT_NO_PROFILE) in adjustExecutionCount()
540 if (BI.Count != COUNT_NO_PROFILE) { in getBranchStats()
550 if (BI.Count && BI.Count != COUNT_NO_PROFILE) { in getBranchStats()
H A DBinaryFunction.cpp468 if (ExecutionCount != COUNT_NO_PROFILE) { in print()
574 if (ExecutionCount != COUNT_NO_PROFILE && in print()
578 } else if (ExecutionCount != COUNT_NO_PROFILE && in print()
591 if (ExecutionCount != COUNT_NO_PROFILE) { in print()
2222 if (BI.Count != BinaryBasicBlock::COUNT_NO_PROFILE && in removeTagsFromProfile()
2315 if (BBExecCount == BinaryBasicBlock::COUNT_NO_PROFILE) in getFunctionScore()
3079 if (BB->getExecutionCount() != COUNT_NO_PROFILE && in dumpGraph()
3082 } else if (ExecutionCount != COUNT_NO_PROFILE && in dumpGraph()
3993 L->EntryCount = COUNT_NO_PROFILE; in calculateLoopInfo()
3994 L->ExitCount = COUNT_NO_PROFILE; in calculateLoopInfo()
[all …]
H A DDynoStats.cpp306 if (TakenCount == BinaryBasicBlock::COUNT_NO_PROFILE) in getDynoStats()
310 if (NonTakenCount == BinaryBasicBlock::COUNT_NO_PROFILE) in getDynoStats()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DBinaryFunctionCallGraph.cpp89 static constexpr uint64_t COUNT_NO_PROFILE = in buildCallGraph() local
90 BinaryBasicBlock::COUNT_NO_PROFILE; in buildCallGraph()
151 const bool IsValidCount = Count != COUNT_NO_PROFILE; in buildCallGraph()
H A DPLTCall.cpp57 Function.getExecutionCount() == BinaryFunction::COUNT_NO_PROFILE) in runOnFunctions()
H A DCacheMetrics.cpp75 BI->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in calcTSPScore()
224 assert(Count != BinaryBasicBlock::COUNT_NO_PROFILE); in extTSPScore()
H A DReorderAlgorithm.cpp152 assert(BI->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in clusterBasicBlocks()
273 assert(BI->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in calculateWeight()
299 assert(BI->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in calculateWeight()
421 if (BI->Count != BinaryBasicBlock::COUNT_NO_PROFILE) in reorderBasicBlocks()
H A DThreeWayBranch.cpp39 BB->getExecutionCount() == BinaryBasicBlock::COUNT_NO_PROFILE) in runOnFunction()
H A DRegAnalysis.cpp85 if (Count != BinaryFunction::COUNT_NO_PROFILE) in RegAnalysis()
H A DSplitFunctions.cpp95 if (ExecCount == BinaryBasicBlock::COUNT_NO_PROFILE) in canSplit()
H A DExtTSPReorderAlgorithm.cpp90 assert(Count != BinaryBasicBlock::COUNT_NO_PROFILE); in extTSPScore()
484 assert(BI->Count != BinaryBasicBlock::COUNT_NO_PROFILE && in initialize()
H A DTailDuplication.cpp386 assert(Count != BinaryBasicBlock::COUNT_NO_PROFILE); in cacheScore()
H A DBinaryPasses.cpp876 Count == BinaryBasicBlock::COUNT_NO_PROFILE ? 0 : Count; in fixTailCalls()
1253 if (Count == BinaryBasicBlock::COUNT_NO_PROFILE || Count == 0) { in runOnFunctions()
H A DIndirectCallPromotion.cpp168 if (BI->Count != BinaryBasicBlock::COUNT_NO_PROFILE && BI->Count > 0) { in verifyProfile()
H A DShrinkWrapping.cpp1978 if (!BBExecCount || BBExecCount == BinaryBasicBlock::COUNT_NO_PROFILE) in perform()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryFunction.h181 static constexpr uint64_t COUNT_NO_PROFILE = variable
182 BinaryBasicBlock::COUNT_NO_PROFILE;
373 uint64_t ExecutionCount{COUNT_NO_PROFILE};
1608 bool hasProfile() const { return ExecutionCount != COUNT_NO_PROFILE; } in hasProfile()
1612 return ExecutionCount != COUNT_NO_PROFILE && ProfileMatchRatio == 1.0f; in hasValidProfile()
1617 if (ExecutionCount == COUNT_NO_PROFILE) in markProfiled()
1848 return ExecutionCount == COUNT_NO_PROFILE ? 0 : ExecutionCount; in getKnownExecutionCount()
H A DBinaryBasicBlock.h120 uint64_t ExecutionCount{COUNT_NO_PROFILE};
170 static constexpr uint64_t COUNT_NO_PROFILE =
647 bool hasProfile() const { return ExecutionCount != COUNT_NO_PROFILE; } in hasProfile()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileReader.cpp218 if (BB.getExecutionCount() == BinaryBasicBlock::COUNT_NO_PROFILE) in parseFunctionProfile()
320 Function.setExecutionCount(BinaryFunction::COUNT_NO_PROFILE); in readProfile()
H A DDataReader.cpp389 if (Count == BinaryBasicBlock::COUNT_NO_PROFILE) in readProfile()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DBoltDiff.cpp189 BIIter->Count == BinaryBasicBlock::COUNT_NO_PROFILE ? 0 : BIIter->Count; in getNormalizedScore()