Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/XRay/
H A DProfile.h55 using PathID = unsigned; variable
65 std::vector<std::pair<PathID, Data>> PathData;
72 Expected<std::vector<FuncID>> expandPath(PathID P) const;
76 PathID internPath(ArrayRef<FuncID> P);
122 PathID ID = 0;
135 DenseMap<PathID, TrieNode *> PathIDMap;
138 PathID NextID = 1;
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DProfile.cpp132 Expected<std::vector<Profile::FuncID>> Profile::expandPath(PathID P) const { in expandPath()
144 Profile::PathID Profile::internPath(ArrayRef<FuncID> P) { in internPath()
196 using PathDataMap = DenseMap<Profile::PathID, Profile::Data>; in mergeProfilesByThread()
208 auto &PathID = PathAndData.first; in mergeProfilesByThread() local
211 Merged.internPath(cantFail(P.get().expandPath(PathID))); in mergeProfilesByThread()
235 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()