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()
59 if (DILocation *Loc = get()) { in isImplicitCode()
66 if (DILocation *Loc = get()) { in setImplicitCode()
77 return DILocation::get(Scope->getContext(), Line, Col, in get()
82 DebugLoc DebugLoc::appendInlinedAt(const DebugLoc &DL, DILocation *InlinedAt, in appendInlinedAt()
86 SmallVector<DILocation *, 3> InlinedAtLocations; in appendInlinedAt()
87 DILocation *Last = InlinedAt; in appendInlinedAt()
88 DILocation *CurInlinedAt = DL; in appendInlinedAt()
91 while (DILocation *IA = CurInlinedAt->getInlinedAt()) { in appendInlinedAt()
94 Last = cast<DILocation>(Found); in appendInlinedAt()
107 for (const DILocation *MD : reverse(InlinedAtLocations)) in appendInlinedAt()
108 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()