Lines Matching refs:ContextNode
276 ContextTrieNode *ContextNode = getContextFor(DIL); in getContextSamplesFor() local
277 if (!ContextNode) in getContextSamplesFor()
286 FunctionSamples *Samples = ContextNode->getFunctionSamples(); in getContextSamplesFor()
287 if (Samples && ContextNode->getParentContext() != &RootContext) in getContextSamplesFor()
503 ContextTrieNode *ContextNode = &RootContext; in getContextFor() local
505 while (--I >= 0 && ContextNode) { in getContextFor()
508 ContextNode = ContextNode->getChildContext(CallSite, CalleeName); in getContextFor()
512 return ContextNode; in getContextFor()
520 ContextTrieNode *ContextNode = &RootContext; in getOrCreateContextPath() local
526 ContextNode = in getOrCreateContextPath()
527 ContextNode->getOrCreateChildContext(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
529 ContextNode = in getOrCreateContextPath()
530 ContextNode->getChildContext(CallSiteLoc, Callsite.Func); in getOrCreateContextPath()
535 assert((!AllowCreate || ContextNode) && in getOrCreateContextPath()
537 return ContextNode; in getOrCreateContextPath()