Lines Matching full:auto

28   for (const auto &Block : O) {  in Profile()
30 auto &B = Blocks.back(); in Profile()
31 for (const auto &PathData : Block.PathData) in Profile()
82 auto CurrentOffset = Offset; in readPath()
102 auto CurrentOffset = Offset; in readData()
132 auto It = PathIDMap.find(P); in expandPath()
138 for (auto Node = It->second; Node; Node = Node->Caller) in expandPath()
147 auto RootToLeafPath = reverse(P); in internPath()
150 auto It = RootToLeafPath.begin(); in internPath()
151 auto PathRoot = *It++; in internPath()
152 auto RootIt = in internPath()
168 auto NodeFuncID = *It++; in internPath()
169 auto CalleeIt = find_if(Node->Callees, [NodeFuncID](TrieNode *N) { in internPath()
174 auto NewNode = &NodeStorage.back(); in internPath()
201 for (const auto &P : {std::ref(L), std::ref(R)}) in mergeProfilesByThread()
202 for (const auto &Block : P.get()) { in mergeProfilesByThread()
206 for (const auto &PathAndData : Block.PathData) { in mergeProfilesByThread()
207 auto &PathID = PathAndData.first; in mergeProfilesByThread()
208 auto &Data = PathAndData.second; in mergeProfilesByThread()
209 auto NewPathID = in mergeProfilesByThread()
215 auto &ExistingData = PathDataIt->second; in mergeProfilesByThread()
222 for (const auto &IndexedThreadBlock : ThreadProfileIndex) { in mergeProfilesByThread()
237 for (const auto &P : {std::ref(L), std::ref(R)}) in mergeProfilesByStack()
238 for (const auto &Block : P.get()) in mergeProfilesByStack()
239 for (const auto &PathAndData : Block.PathData) { in mergeProfilesByStack()
240 auto &PathId = PathAndData.first; in mergeProfilesByStack()
241 auto &Data = PathAndData.second; in mergeProfilesByStack()
242 auto NewPathID = in mergeProfilesByStack()
248 auto &ExistingData = PathDataIt->second; in mergeProfilesByStack()
268 if (auto EC = sys::fs::file_size(Filename, FileSize)) in loadProfile()
288 auto HeaderOrError = readBlockHeader(Extractor, Offset); in loadProfile()
294 const auto &Header = HeaderOrError.get(); in loadProfile()
297 auto PathOrError = readPath(Extractor, Offset); in loadProfile()
300 const auto &Path = PathOrError.get(); in loadProfile()
303 auto DataOrError = readData(Extractor, Offset); in loadProfile()
306 auto &Data = DataOrError.get(); in loadProfile()
308 if (auto E = in loadProfile()
338 for (const auto &E : T) { in profileFromTrace()
339 auto &TSD = ThreadStacks[E.TId]; in profileFromTrace()
356 auto Top = TSD.back(); in profileFromTrace()
357 auto FunctionLocalTime = AbsoluteDifference(Top.Timestamp, E.TSC); in profileFromTrace()
361 auto InternedPath = P.internPath(Path); in profileFromTrace()
362 auto &TPD = ThreadPathData[E.TId][InternedPath]; in profileFromTrace()
388 for (const auto &ThreadPaths : ThreadPathData) { in profileFromTrace()
389 const auto &TID = ThreadPaths.first; in profileFromTrace()
390 const auto &PathsData = ThreadPaths.second; in profileFromTrace()
391 if (auto E = P.addBlock({ in profileFromTrace()