Lines Matching refs:ContextNode
242 ContextTrieNode *ContextNode = getContextFor(DIL); in getContextSamplesFor() local
243 if (!ContextNode) in getContextSamplesFor()
252 FunctionSamples *Samples = ContextNode->getFunctionSamples(); in getContextSamplesFor()
253 if (Samples && ContextNode->getParentContext() != &RootContext) in getContextSamplesFor()
447 ContextTrieNode *ContextNode = &RootContext; in getContextFor() local
449 while (--I >= 0 && ContextNode) { in getContextFor()
452 ContextNode = ContextNode->getChildContext(CallSite, CalleeName); in getContextFor()
456 return ContextNode; in getContextFor()
464 ContextTrieNode *ContextNode = &RootContext; in getOrCreateContextPath() local
470 while (ContextNode && !ContextRemain.empty()) { in getOrCreateContextPath()
480 ContextNode = in getOrCreateContextPath()
481 ContextNode->getOrCreateChildContext(CallSiteLoc, CalleeName); in getOrCreateContextPath()
483 ContextNode = ContextNode->getChildContext(CallSiteLoc, CalleeName); in getOrCreateContextPath()
488 assert((!AllowCreate || ContextNode) && in getOrCreateContextPath()
490 return ContextNode; in getOrCreateContextPath()