Lines Matching refs:DILocation
18 DebugLoc::DebugLoc(const DILocation *L) : Loc(const_cast<DILocation *>(L)) {} in DebugLoc()
21 DILocation *DebugLoc::get() const { in get()
22 return cast_or_null<DILocation>(Loc.get()); in get()
40 DILocation *DebugLoc::getInlinedAt() const { in getInlinedAt()
46 return cast<DILocation>(Loc)->getInlinedAtScope(); in getInlinedAtScope()
53 return DILocation::get(SP->getContext(), SP->getScopeLine(), 0, SP); in getFnDebugLoc()
59 if (DILocation *Loc = get()) { in isImplicitCode()
66 if (DILocation *Loc = get()) { in setImplicitCode()
71 DebugLoc DebugLoc::appendInlinedAt(const DebugLoc &DL, DILocation *InlinedAt, in appendInlinedAt()
74 SmallVector<DILocation *, 3> InlinedAtLocations; in appendInlinedAt()
75 DILocation *Last = InlinedAt; in appendInlinedAt()
76 DILocation *CurInlinedAt = DL; in appendInlinedAt()
79 while (DILocation *IA = CurInlinedAt->getInlinedAt()) { in appendInlinedAt()
82 Last = cast<DILocation>(Found); in appendInlinedAt()
93 for (const DILocation *MD : reverse(InlinedAtLocations)) in appendInlinedAt()
94 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()