Lines Matching refs:DIL
198 DILocation *DIL = Inst.getDebugLoc(); in getCalleeContextSamplesFor() local
199 if (!DIL) in getCalleeContextSamplesFor()
206 ContextTrieNode *CalleeContext = getCalleeContextFor(DIL, CalleeName); in getCalleeContextSamplesFor()
220 const DILocation *DIL) { in getIndirectCalleeContextSamplesFor() argument
222 if (!DIL) in getIndirectCalleeContextSamplesFor()
225 ContextTrieNode *CallerNode = getContextFor(DIL); in getIndirectCalleeContextSamplesFor()
226 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in getIndirectCalleeContextSamplesFor()
239 SampleContextTracker::getContextSamplesFor(const DILocation *DIL) { in getContextSamplesFor() argument
240 assert(DIL && "Expect non-null location"); in getContextSamplesFor()
242 ContextTrieNode *ContextNode = getContextFor(DIL); in getContextSamplesFor()
339 DILocation *DIL = Inst.getDebugLoc(); in promoteMergeContextSamplesTree() local
340 ContextTrieNode *CallerNode = getContextFor(DIL); in promoteMergeContextSamplesTree()
345 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in promoteMergeContextSamplesTree()
411 SampleContextTracker::getCalleeContextFor(const DILocation *DIL, in getCalleeContextFor() argument
413 assert(DIL && "Expect non-null location"); in getCalleeContextFor()
415 ContextTrieNode *CallContext = getContextFor(DIL); in getCalleeContextFor()
422 FunctionSamples::getCallSiteIdentifier(DIL), CalleeName); in getCalleeContextFor()
425 ContextTrieNode *SampleContextTracker::getContextFor(const DILocation *DIL) { in getContextFor() argument
426 assert(DIL && "Expect non-null location"); in getContextFor()
430 const DILocation *PrevDIL = DIL; in getContextFor()
431 for (DIL = DIL->getInlinedAt(); DIL; DIL = DIL->getInlinedAt()) { in getContextFor()
436 std::make_pair(FunctionSamples::getCallSiteIdentifier(DIL), Name)); in getContextFor()
437 PrevDIL = DIL; in getContextFor()