Home | History | Annotate | Download | only in AsmPrinter

Lines Matching defs:TheCU

318 static void addSubprogramNames(CompileUnit *TheCU, DISubprogram SP,
322 TheCU->addAccelName(SP.getName(), Die);
327 TheCU->addAccelName(SP.getLinkageName(), Die);
334 TheCU->addAccelObjC(Class, Die);
336 TheCU->addAccelObjC(Category, Die);
338 TheCU->addAccelName(getObjCMethodName(SP.getName()), Die);
423 DIE *DwarfDebug::constructLexicalScopeDIE(CompileUnit *TheCU,
438 TheCU->addUInt(ScopeDIE, dwarf::DW_AT_ranges, dwarf::DW_FORM_data4,
459 TheCU->addLabelAddress(ScopeDIE, dwarf::DW_AT_low_pc, Start);
460 TheCU->addLabelAddress(ScopeDIE, dwarf::DW_AT_high_pc, End);
467 DIE *DwarfDebug::constructInlinedScopeDIE(CompileUnit *TheCU,
477 DIE *OriginDIE = TheCU->getDIE(InlinedSP);
496 TheCU->addDIEEntry(ScopeDIE, dwarf::DW_AT_abstract_origin,
503 TheCU->addUInt(ScopeDIE, dwarf::DW_AT_ranges, dwarf::DW_FORM_data4,
514 TheCU->addLabelAddress(ScopeDIE, dwarf::DW_AT_low_pc, StartLabel);
515 TheCU->addLabelAddress(ScopeDIE, dwarf::DW_AT_high_pc, EndLabel);
535 TheCU->addUInt(ScopeDIE, dwarf::DW_AT_call_file, 0,
537 TheCU->getUniqueID()));
538 TheCU->addUInt(ScopeDIE, dwarf::DW_AT_call_line, 0, DL.getLineNumber());
542 addSubprogramNames(TheCU, InlinedSP, ScopeDIE);
548 DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) {
555 !TheCU->getDIE(DS))
566 TheCU->constructVariableDIE(ArgDV, Scope->isAbstractScope())) {
575 TheCU->constructVariableDIE(Variables[i], Scope->isAbstractScope())) {
581 if (DIE *Nested = constructScopeDIE(TheCU, Scopes[j]))
585 ScopeDIE = constructInlinedScopeDIE(TheCU, Scope);
589 ScopeDIE = TheCU->getDIE(DS);
595 ScopeDIE = updateSubprogramScopeDIE(TheCU, DS);
601 ScopeDIE = constructLexicalScopeDIE(TheCU, Scope);
612 TheCU->addDIEEntry(ScopeDIE, dwarf::DW_AT_object_pointer,
616 TheCU->addPubTypes(DISubprogram(DS));
738 void DwarfDebug::constructSubprogramDIE(CompileUnit *TheCU,
743 CURef = TheCU;
751 DIE *SubprogramDie = TheCU->getOrCreateSubprogramDIE(SP);
754 TheCU->insertDIE(N, SubprogramDie);
757 TheCU->addToContextOwner(SubprogramDie, SP.getContext());
761 TheCU->addGlobalName(SP.getName(), SubprogramDie);
830 DICompileUnit TheCU(CU_Nodes->getOperand(i));
831 DIArray Subprograms = TheCU.getSubprograms();
845 CompileUnit *SPCU = CUMap.lookup(TheCU);
874 CompileUnit *TheCU = CUI->second;
875 TheCU->constructContainingTypeDIEs();
1366 CompileUnit *TheCU = SPMap.lookup(FnScope->getScopeNode());
1367 assert(TheCU && "Unable to find compile unit!");
1368 Asm->OutStreamer.getContext().setDwarfCompileUnitID(TheCU->getUniqueID());
1561 CompileUnit *TheCU = SPMap.lookup(FnScope->getScopeNode());
1562 assert(TheCU && "Unable to find compile unit!");
1587 constructScopeDIE(TheCU, AScope);
1590 DIE *CurFnDIE = constructScopeDIE(TheCU, FnScope);
1593 TheCU->addFlag(CurFnDIE, dwarf::DW_AT_APPLE_omit_frame_ptr);
1860 CompileUnit *TheCU = *I;
1861 DIE *Die = TheCU->getCUDie();
1866 TheCU->getUniqueID()));
1886 TheCU->getUniqueID()));
1896 CompileUnit *TheCU = *I;
1897 if (TheCU->getCUDie() == Die)
1898 return TheCU->getDebugInfoOffset();
1980 CompileUnit *TheCU = I->second;
1981 const StringMap<std::vector<DIE*> > &Names = TheCU->getAccelNames();
2009 CompileUnit *TheCU = I->second;
2010 const StringMap<std::vector<DIE*> > &Names = TheCU->getAccelObjC();
2037 CompileUnit *TheCU = I->second;
2038 const StringMap<std::vector<DIE*> > &Names = TheCU->getAccelNamespace();
2071 CompileUnit *TheCU = I->second;
2073 = TheCU->getAccelTypes();
2101 CompileUnit *TheCU = I->second;
2102 unsigned ID = TheCU->getUniqueID();
2104 if (TheCU->getGlobalNames().empty())
2129 const StringMap<DIE*> &Globals = TheCU->getGlobalNames();
2152 CompileUnit *TheCU = I->second;
2158 Asm->GetTempSymbol("pubtypes_end", TheCU->getUniqueID()),
2159 Asm->GetTempSymbol("pubtypes_begin", TheCU->getUniqueID()), 4);
2162 TheCU->getUniqueID()));
2170 TheCU->getUniqueID()),
2175 TheCU->getUniqueID()),
2177 TheCU->getUniqueID()),
2180 const StringMap<DIE*> &Globals = TheCU->getGlobalTypes();
2197 TheCU->getUniqueID()));