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.h55 using PathID = unsigned; variable
65 std::vector<std::pair<PathID, Data>> PathData;
72 LLVM_ABI Expected<std::vector<FuncID>> expandPath(PathID P) const;
76 LLVM_ABI PathID internPath(ArrayRef<FuncID> P);
122 PathID ID = 0;
135 DenseMap<PathID, TrieNode *> PathIDMap;
138 PathID NextID = 1;
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DProfile.cpp130 Expected<std::vector<Profile::FuncID>> Profile::expandPath(PathID P) const { in expandPath()
142 Profile::PathID Profile::internPath(ArrayRef<FuncID> P) { in internPath()
194 using PathDataMap = DenseMap<Profile::PathID, Profile::Data>; in mergeProfilesByThread()
206 auto &PathID = PathAndData.first; in mergeProfilesByThread() local
209 Merged.internPath(cantFail(P.get().expandPath(PathID))); in mergeProfilesByThread()
233 using PathDataMap = DenseMap<Profile::PathID, Profile::Data>; in mergeProfilesByStack()
333 DenseMap<Profile::ThreadID, DenseMap<Profile::PathID, Profile::Data>> in profileFromTrace()
392 std::vector<std::pair<Profile::PathID, Profile::Data>>( in profileFromTrace()