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