Lines Matching refs:DILocation
19 DebugLoc::DebugLoc(const DILocation *L) : Loc(const_cast<DILocation *>(L)) {} in DebugLoc()
22 DILocation *DebugLoc::get() const { in get()
23 return cast_or_null<DILocation>(Loc.get()); in get()
41 DILocation *DebugLoc::getInlinedAt() const { in getInlinedAt()
47 return cast<DILocation>(Loc)->getInlinedAtScope(); in getInlinedAtScope()
60 if (DILocation *Loc = get()) { in isImplicitCode()
67 if (DILocation *Loc = get()) { in setImplicitCode()
78 return DILocation::get(Scope->getContext(), Line, Col, in get()
83 DebugLoc DebugLoc::appendInlinedAt(DebugLoc DL, DILocation *InlinedAt, in appendInlinedAt()
87 SmallVector<DILocation *, 3> InlinedAtLocations; in appendInlinedAt()
88 DILocation *Last = InlinedAt; in appendInlinedAt()
89 DILocation *CurInlinedAt = DL; in appendInlinedAt()
92 while (DILocation *IA = CurInlinedAt->getInlinedAt()) { in appendInlinedAt()
95 Last = cast<DILocation>(Found); in appendInlinedAt()
108 for (const DILocation *MD : reverse(InlinedAtLocations)) in appendInlinedAt()
109 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()