Lines Matching refs:DIL

228   DILocation *DIL = Inst.getDebugLoc();  in getCalleeContextSamplesFor()  local
229 if (!DIL) in getCalleeContextSamplesFor()
240 ContextTrieNode *CalleeContext = getCalleeContextFor(DIL, CalleeName); in getCalleeContextSamplesFor()
255 const DILocation *DIL) { in getIndirectCalleeContextSamplesFor() argument
257 if (!DIL) in getIndirectCalleeContextSamplesFor()
260 ContextTrieNode *CallerNode = getContextFor(DIL); in getIndirectCalleeContextSamplesFor()
261 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in getIndirectCalleeContextSamplesFor()
274 SampleContextTracker::getContextSamplesFor(const DILocation *DIL) { in getContextSamplesFor() argument
275 assert(DIL && "Expect non-null location"); in getContextSamplesFor()
277 ContextTrieNode *ContextNode = getContextFor(DIL); in getContextSamplesFor()
379 DILocation *DIL = Inst.getDebugLoc(); in promoteMergeContextSamplesTree() local
380 ContextTrieNode *CallerNode = getContextFor(DIL); in promoteMergeContextSamplesTree()
385 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in promoteMergeContextSamplesTree()
470 SampleContextTracker::getCalleeContextFor(const DILocation *DIL, in getCalleeContextFor() argument
472 assert(DIL && "Expect non-null location"); in getCalleeContextFor()
474 ContextTrieNode *CallContext = getContextFor(DIL); in getCalleeContextFor()
481 FunctionSamples::getCallSiteIdentifier(DIL), CalleeName); in getCalleeContextFor()
484 ContextTrieNode *SampleContextTracker::getContextFor(const DILocation *DIL) { in getContextFor() argument
485 assert(DIL && "Expect non-null location"); in getContextFor()
489 const DILocation *PrevDIL = DIL; in getContextFor()
490 for (DIL = DIL->getInlinedAt(); DIL; DIL = DIL->getInlinedAt()) { in getContextFor()
495 std::make_pair(FunctionSamples::getCallSiteIdentifier(DIL), Name)); in getContextFor()
496 PrevDIL = DIL; in getContextFor()