Lines Matching refs:ContextNode
277 ContextTrieNode *ContextNode = getContextFor(DIL); in getContextSamplesFor() local
278 if (!ContextNode) in getContextSamplesFor()
287 FunctionSamples *Samples = ContextNode->getFunctionSamples(); in getContextSamplesFor()
288 if (Samples && ContextNode->getParentContext() != &RootContext) in getContextSamplesFor()
517 ContextTrieNode *ContextNode = &RootContext; in getContextFor() local
519 while (--I >= 0 && ContextNode) { in getContextFor()
522 ContextNode = ContextNode->getChildContext(CallSite, CalleeName); in getContextFor()
526 return ContextNode; in getContextFor()
534 ContextTrieNode *ContextNode = &RootContext; in getOrCreateContextPath() local
540 ContextNode = in getOrCreateContextPath()
541 ContextNode->getOrCreateChildContext(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
543 ContextNode = in getOrCreateContextPath()
544 ContextNode->getChildContext(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
549 assert((!AllowCreate || ContextNode) && in getOrCreateContextPath()
551 return ContextNode; in getOrCreateContextPath()