Home
last modified time | relevance | path

Searched refs:ContextId (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/tools/llvm-profgen/
DProfileGenerator.cpp185 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()
DPerfReader.h179 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()
DPerfReader.cpp77 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()
DProfileGenerator.h87 FunctionSamples &getFunctionProfileForContext(StringRef ContextId);