Home
last modified time | relevance | path

Searched refs:PathID (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DProfile.h54 using PathID = unsigned; variable
64 std::vector<std::pair<PathID, Data>> PathData;
71 Expected<std::vector<FuncID>> expandPath(PathID P) const;
75 PathID internPath(ArrayRef<FuncID> P);
121 PathID ID = 0;
134 DenseMap<PathID, TrieNode *> PathIDMap;
137 PathID NextID = 1;
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DProfile.cpp131 Expected<std::vector<Profile::FuncID>> Profile::expandPath(PathID P) const { in expandPath()
143 Profile::PathID Profile::internPath(ArrayRef<FuncID> P) { in internPath()
195 using PathDataMap = DenseMap<Profile::PathID, Profile::Data>; in mergeProfilesByThread()
207 auto &PathID = PathAndData.first; in mergeProfilesByThread() local
210 Merged.internPath(cantFail(P.get().expandPath(PathID))); in mergeProfilesByThread()
234 using PathDataMap = DenseMap<Profile::PathID, Profile::Data>; in mergeProfilesByStack()
334 DenseMap<Profile::ThreadID, DenseMap<Profile::PathID, Profile::Data>> in profileFromTrace()
393 std::vector<std::pair<Profile::PathID, Profile::Data>>( in profileFromTrace()