Lines Matching refs:DIL
229 DILocation *DIL = Inst.getDebugLoc(); in getCalleeContextSamplesFor() local
230 if (!DIL) in getCalleeContextSamplesFor()
239 ContextTrieNode *CalleeContext = getCalleeContextFor(DIL, FName); in getCalleeContextSamplesFor()
254 const DILocation *DIL) { in getIndirectCalleeContextSamplesFor() argument
256 if (!DIL) in getIndirectCalleeContextSamplesFor()
259 ContextTrieNode *CallerNode = getContextFor(DIL); in getIndirectCalleeContextSamplesFor()
260 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in getIndirectCalleeContextSamplesFor()
273 SampleContextTracker::getContextSamplesFor(const DILocation *DIL) { in getContextSamplesFor() argument
274 assert(DIL && "Expect non-null location"); in getContextSamplesFor()
276 ContextTrieNode *ContextNode = getContextFor(DIL); in getContextSamplesFor()
374 DILocation *DIL = Inst.getDebugLoc(); in promoteMergeContextSamplesTree() local
375 ContextTrieNode *CallerNode = getContextFor(DIL); in promoteMergeContextSamplesTree()
380 LineLocation CallSite = FunctionSamples::getCallSiteIdentifier(DIL); in promoteMergeContextSamplesTree()
465 SampleContextTracker::getCalleeContextFor(const DILocation *DIL, in getCalleeContextFor() argument
467 assert(DIL && "Expect non-null location"); in getCalleeContextFor()
469 ContextTrieNode *CallContext = getContextFor(DIL); in getCalleeContextFor()
476 FunctionSamples::getCallSiteIdentifier(DIL), CalleeName); in getCalleeContextFor()
479 ContextTrieNode *SampleContextTracker::getContextFor(const DILocation *DIL) { in getContextFor() argument
480 assert(DIL && "Expect non-null location"); in getContextFor()
484 const DILocation *PrevDIL = DIL; in getContextFor()
485 for (DIL = DIL->getInlinedAt(); DIL; DIL = DIL->getInlinedAt()) { in getContextFor()
490 std::make_pair(FunctionSamples::getCallSiteIdentifier(DIL), in getContextFor()
492 PrevDIL = DIL; in getContextFor()