Lines Matching refs:CallSite

31 ContextTrieNode *ContextTrieNode::getChildContext(const LineLocation &CallSite,  in getChildContext()  argument
34 return getHottestChildContext(CallSite); in getChildContext()
36 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getChildContext()
44 ContextTrieNode::getHottestChildContext(const LineLocation &CallSite) { in getHottestChildContext() argument
52 if (ChildNode.CallSiteLoc != CallSite) in getHottestChildContext()
68 const LineLocation &CallSite, in moveContextSamples() argument
71 FunctionSamples::getCallSiteHash(NodeToMove.getFuncName(), CallSite); in moveContextSamples()
77 NewNode.setCallSiteLoc(CallSite); in moveContextSamples()
106 void ContextTrieNode::removeChildContext(const LineLocation &CallSite, in removeChildContext() argument
108 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in removeChildContext()
179 const LineLocation &CallSite, StringRef CalleeName, bool AllowCreate) { in getOrCreateChildContext() argument
180 uint64_t Hash = FunctionSamples::getCallSiteHash(CalleeName, CallSite); in getOrCreateChildContext()
191 AllChildContext[Hash] = ContextTrieNode(this, CalleeName, nullptr, CallSite); in getOrCreateChildContext()
261 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in getIndirectCalleeContextSamplesFor() local
264 if (ChildNode.getCallSiteLoc() != CallSite) in getIndirectCalleeContextSamplesFor()
385 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in promoteMergeContextSamplesTree() local
391 if (CallSite != NodeToPromo->getCallSiteLoc()) in promoteMergeContextSamplesTree()
403 CallerNode->getChildContext(CallSite, CalleeName); in promoteMergeContextSamplesTree()
520 LineLocation &CallSite = S[I].first; in getContextFor() local
522 ContextNode = ContextNode->getChildContext(CallSite, CalleeName); in getContextFor()