Lines Matching refs:DILocation
17 DebugLoc::DebugLoc(const DILocation *L) : Loc(const_cast<DILocation *>(L)) {} in DebugLoc()
20 DILocation *DebugLoc::get() const { in get()
21 return cast_or_null<DILocation>(Loc.get()); in get()
39 DILocation *DebugLoc::getInlinedAt() const { in getInlinedAt()
45 return cast<DILocation>(Loc)->getInlinedAtScope(); in getInlinedAtScope()
52 return DILocation::get(SP->getContext(), SP->getScopeLine(), 0, SP); in getFnDebugLoc()
58 if (DILocation *Loc = get()) { in isImplicitCode()
65 if (DILocation *Loc = get()) { in setImplicitCode()
70 DebugLoc DebugLoc::appendInlinedAt(const DebugLoc &DL, DILocation *InlinedAt, in appendInlinedAt()
73 SmallVector<DILocation *, 3> InlinedAtLocations; in appendInlinedAt()
74 DILocation *Last = InlinedAt; in appendInlinedAt()
75 DILocation *CurInlinedAt = DL; in appendInlinedAt()
78 while (DILocation *IA = CurInlinedAt->getInlinedAt()) { in appendInlinedAt()
81 Last = cast<DILocation>(Found); in appendInlinedAt()
92 for (const DILocation *MD : reverse(InlinedAtLocations)) in appendInlinedAt()
93 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()