Lines Matching refs:CallSite

30 ContextTrieNode *ContextTrieNode::getChildContext(const LineLocation &CallSite,  in getChildContext()  argument
33 return getHottestChildContext(CallSite); in getChildContext()
35 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getChildContext()
43 ContextTrieNode::getHottestChildContext(const LineLocation &CallSite) { in getHottestChildContext() argument
51 if (ChildNode.CallSiteLoc != CallSite) in getHottestChildContext()
67 const LineLocation &CallSite, in moveContextSamples() argument
70 FunctionSamples::getCallSiteHash(NodeToMove.getFuncName(), CallSite); in moveContextSamples()
76 NewNode.setCallSiteLoc(CallSite); in moveContextSamples()
105 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext() argument
107 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in removeChildContext()
180 const LineLocation &CallSite, FunctionId CalleeName, bool AllowCreate) { in getOrCreateChildContext() argument
181 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getOrCreateChildContext()
192 AllChildContext[Hash] = ContextTrieNode(this, CalleeName, nullptr, CallSite); in getOrCreateChildContext()
260 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in getIndirectCalleeContextSamplesFor() local
263 if (ChildNode.getCallSiteLoc() != CallSite) in getIndirectCalleeContextSamplesFor()
380 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in promoteMergeContextSamplesTree() local
386 if (CallSite != NodeToPromo->getCallSiteLoc()) in promoteMergeContextSamplesTree()
398 CallerNode->getChildContext(CallSite, CalleeName); in promoteMergeContextSamplesTree()
506 LineLocation &CallSite = S[I].first; in getContextFor() local
508 ContextNode = ContextNode->getChildContext(CallSite, CalleeName); in getContextFor()