Lines Matching refs:CompileUnit

43     CompileUnit::DIEInfo &CurrentInfo =  in verifyKeepChain()
51 CompileUnit::DIEInfo &ChildInfo = in verifyKeepChain()
113 CompileUnit::DIEInfo &CUInfo = CU.getDIEInfo(CU.getDebugInfoEntry(0)); in resolveDependenciesAndMarkLiveness()
114 CUInfo.setPlacement(CompileUnit::PlainDwarf); in resolveDependenciesAndMarkLiveness()
142 CompileUnit::DIEInfo &ChildInfo = Entry.CU->getDIEInfo(CurChild); in collectRootsToKeep()
252 CompileUnit::DIEInfo &RootInfo = in updateDependenciesCompleteness()
256 CompileUnit::DIEInfo &ReferencedByInfo = in updateDependenciesCompleteness()
274 CompileUnit::DIEInfo &Info = Entry.CU->getDIEInfo(Entry.DieEntry); in setPlainDwarfPlacementRec()
275 if (Info.getPlacement() == CompileUnit::PlainDwarf && in setPlainDwarfPlacementRec()
279 Info.setPlacement(CompileUnit::PlainDwarf); in setPlainDwarfPlacementRec()
302 bool isAlreadyMarked(const CompileUnit::DIEInfo &Info, in isAlreadyMarked()
303 CompileUnit::DieOutputPlacement NewPlacement) { in isAlreadyMarked()
308 case CompileUnit::TypeTable: in isAlreadyMarked()
311 case CompileUnit::PlainDwarf: in isAlreadyMarked()
314 case CompileUnit::Both: in isAlreadyMarked()
317 case CompileUnit::NotSet: in isAlreadyMarked()
325 CompileUnit::DieOutputPlacement NewPlacement) { in isAlreadyMarked()
334 CompileUnit::DIEInfo &Info = Entry.CU->getDIEInfo(Entry.DieEntry); in markParentsAsKeepingChildren()
346 CompileUnit::DIEInfo &ParentInfo = Entry.CU->getDIEInfo(*ParentIdx); in markParentsAsKeepingChildren()
353 ParentInfo, CompileUnit::DieOutputPlacement::TypeTable); in markParentsAsKeepingChildren()
368 ParentInfo, CompileUnit::DieOutputPlacement::PlainDwarf); in markParentsAsKeepingChildren()
390 static CompileUnit::DieOutputPlacement
392 CompileUnit::DieOutputPlacement Placement) { in getFinalPlacementForEntry()
393 assert((Placement != CompileUnit::NotSet) && "Placement is not set"); in getFinalPlacementForEntry()
394 CompileUnit::DIEInfo &EntryInfo = Entry.CU->getDIEInfo(Entry.DieEntry); in getFinalPlacementForEntry()
397 return CompileUnit::PlainDwarf; in getFinalPlacementForEntry()
402 if (EntryInfo.getPlacement() == CompileUnit::PlainDwarf || in getFinalPlacementForEntry()
403 EntryInfo.getPlacement() == CompileUnit::Both) in getFinalPlacementForEntry()
404 return CompileUnit::PlainDwarf; in getFinalPlacementForEntry()
406 if (Placement == CompileUnit::PlainDwarf || Placement == CompileUnit::Both) in getFinalPlacementForEntry()
407 return CompileUnit::PlainDwarf; in getFinalPlacementForEntry()
411 case CompileUnit::NotSet: in getFinalPlacementForEntry()
414 case CompileUnit::TypeTable: in getFinalPlacementForEntry()
415 return Placement == CompileUnit::PlainDwarf ? CompileUnit::Both : Placement; in getFinalPlacementForEntry()
417 case CompileUnit::PlainDwarf: in getFinalPlacementForEntry()
418 return Placement == CompileUnit::TypeTable ? CompileUnit::Both : Placement; in getFinalPlacementForEntry()
420 case CompileUnit::Both: in getFinalPlacementForEntry()
421 return CompileUnit::Both; in getFinalPlacementForEntry()
435 CompileUnit::DIEInfo &Info = Entry.CU->getDIEInfo(Entry.DieEntry); in markDIEEntryAsKeptRec()
438 CompileUnit::DieOutputPlacement Placement = getFinalPlacementForEntry( in markDIEEntryAsKeptRec()
440 isLiveAction(Action) ? CompileUnit::PlainDwarf : CompileUnit::TypeTable); in markDIEEntryAsKeptRec()
442 Placement == CompileUnit::PlainDwarf) && in markDIEEntryAsKeptRec()
487 CompileUnit::DIEInfo ChildInfo = Entry.CU->getDIEInfo(CurChild); in markDIEEntryAsKeptRec()
542 CompileUnit::DIEInfo ChildInfo = Entry.CU->getDIEInfo(CurChild); in markDIEEntryAsKeptRec()
658 CompileUnit::DIEInfo &RefInfo = RefDie->CU->getDIEInfo(RefDie->DieEntry); in maybeAddReferencedRoots()
728 CompileUnit::DIEInfo &Info = Entry.CU->getDIEInfo(DIE); in isLiveVariableEntry()
772 CompileUnit::DIEInfo &Info = Entry.CU->getDIEInfo(Entry.DieEntry); in isLiveSubprogramEntry()