Searched refs:ContextId (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/llvm/tools/llvm-profgen/ |
D | ProfileGenerator.cpp | 185 StringRef ContextId(CI.first); in populateFunctionBodySamples() local 188 getFunctionProfileForContext(ContextId); in populateFunctionBodySamples() 228 StringRef ContextId(CI.first); in populateFunctionBoundarySamples() local 231 getFunctionProfileForContext(ContextId); in populateFunctionBoundarySamples() 256 if (ContextId.find(" @ ") != StringRef::npos) { in populateFunctionBoundarySamples() 258 ContextId.rsplit(" @ ").first.str() + " @ " + CalleeContextId; in populateFunctionBoundarySamples()
|
D | PerfReader.h | 179 void recordRangeCount(std::string &ContextId, uint64_t Start, uint64_t End, in recordRangeCount() 181 RangeCounter[ContextId][{Start, End}] += Repeat; in recordRangeCount() 183 void recordBranchCount(std::string &ContextId, uint64_t Source, in recordBranchCount() 185 BranchCounter[ContextId][{Source, Target}] += Repeat; in recordBranchCount()
|
D | PerfReader.cpp | 77 std::string &&ContextId = State.getExpandedContextStr(); in recordRangeCount() 80 SampleCounters->recordRangeCount(ContextId, StartOffset, EndOffset, Repeat); in recordRangeCount() 87 std::string &&ContextId = State.getExpandedContextStr(); in recordBranchCount() 90 SampleCounters->recordBranchCount(ContextId, SourceOffset, TargetOffset, in recordBranchCount()
|
D | ProfileGenerator.h | 87 FunctionSamples &getFunctionProfileForContext(StringRef ContextId);
|