Lines Matching refs:LineLocation

30 ContextTrieNode *ContextTrieNode::getChildContext(const LineLocation &CallSite,  in getChildContext()
43 ContextTrieNode::getChildContext(const LineLocation &CallSite) { in getChildContext()
62 const LineLocation &CallSite, ContextTrieNode &&NodeToMove, in moveToChildContext()
66 LineLocation OldCallSite = NodeToMove.CallSiteLoc; in moveToChildContext()
105 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext()
126 LineLocation ContextTrieNode::getCallSiteLoc() const { return CallSiteLoc; } in getCallSiteLoc()
147 const LineLocation &Callsite) { in nodeHash()
158 const LineLocation &CallSite, StringRef CalleeName, bool AllowCreate) { in getOrCreateChildContext()
311 LineLocation CallSite(FunctionSamples::getOffset(DIL), in promoteMergeContextSamplesTree()
373 LineLocation(FunctionSamples::getOffset(DIL), in getCalleeContextFor()
380 SmallVector<std::pair<LineLocation, StringRef>, 10> S; in getContextFor()
389 std::make_pair(LineLocation(FunctionSamples::getOffset(DIL), in getContextFor()
399 S.push_back(std::make_pair(LineLocation(0, 0), RootName)); in getContextFor()
404 LineLocation &CallSite = S[I].first; in getContextFor()
422 LineLocation CallSiteLoc(0, 0); in getOrCreateContextPath()
428 LineLocation NextCallSiteLoc(0, 0); in getOrCreateContextPath()
448 return RootContext.getChildContext(LineLocation(0, 0), FName); in getTopLevelContextNode()
453 return *RootContext.getOrCreateChildContext(LineLocation(0, 0), FName); in addTopLevelContextNode()
481 LineLocation NewCallSiteLoc = LineLocation(0, 0); in promoteMergeContextSamplesTree()
482 LineLocation OldCallSiteLoc = FromNode.getCallSiteLoc(); in promoteMergeContextSamplesTree()