Lines Matching refs:DIE

48                                        DIELoc &DIE)  in DIEDwarfExpression()  argument
50 DIE(DIE) {} in DIEDwarfExpression()
53 DU.addUInt(DIE, dwarf::DW_FORM_data1, Op); in EmitOp()
56 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value); in EmitSigned()
59 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value); in EmitUnsigned()
68 : CUNode(Node), UnitDie(*DIE::get(DIEValueAllocator, UnitTag)), Asm(A), in DwarfUnit()
170 DIE *DwarfUnit::getDIE(const DINode *D) const { in getDIE()
176 void DwarfUnit::insertDIE(const DINode *Desc, DIE *D) { in insertDIE()
184 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag()
217 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString()
235 void DwarfUnit::addSectionOffset(DIE &Die, dwarf::Attribute Attribute, in addSectionOffset()
259 void DwarfUnit::addLabelDelta(DIE &Die, dwarf::Attribute Attribute, in addLabelDelta()
265 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry) { in addDIEEntry()
269 void DwarfUnit::addDIETypeSignature(DIE &Die, uint64_t Signature) { in addDIETypeSignature()
280 void DwarfUnit::addDIETypeSignature(DIE &Die, dwarf::Attribute Attribute, in addDIETypeSignature()
287 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute, in addDIEEntry()
289 const DIE *DieCU = Die.getUnitOrNull(); in addDIEEntry()
290 const DIE *EntryCU = Entry.getEntry().getUnitOrNull(); in addDIEEntry()
301 DIE &DwarfUnit::createAndAddDIE(unsigned Tag, DIE &Parent, const DINode *N) { in createAndAddDIE()
302 DIE &Die = Parent.addChild(DIE::get(DIEValueAllocator, (dwarf::Tag)Tag)); in createAndAddDIE()
308 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) { in addBlock()
315 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, in addBlock()
322 void DwarfUnit::addSourceLine(DIE &Die, unsigned Line, StringRef File, in addSourceLine()
333 void DwarfUnit::addSourceLine(DIE &Die, const DILocalVariable *V) { in addSourceLine()
340 void DwarfUnit::addSourceLine(DIE &Die, const DIGlobalVariable *G) { in addSourceLine()
346 void DwarfUnit::addSourceLine(DIE &Die, const DISubprogram *SP) { in addSourceLine()
352 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { in addSourceLine()
358 void DwarfUnit::addSourceLine(DIE &Die, const DIObjCProperty *Ty) { in addSourceLine()
364 void DwarfUnit::addSourceLine(DIE &Die, const DINamespace *NS) { in addSourceLine()
437 void DwarfUnit::addBlockByrefAddress(const DbgVariable &DV, DIE &Die, in addBlockByrefAddress()
564 void DwarfUnit::addConstantFPValue(DIE &Die, const MachineOperand &MO) { in addConstantFPValue()
586 void DwarfUnit::addConstantFPValue(DIE &Die, const ConstantFP *CFP) { in addConstantFPValue()
591 void DwarfUnit::addConstantValue(DIE &Die, const ConstantInt *CI, in addConstantValue()
596 void DwarfUnit::addConstantValue(DIE &Die, const MachineOperand &MO, in addConstantValue()
603 void DwarfUnit::addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) { in addConstantValue()
610 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) { in addConstantValue()
614 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) { in addConstantValue()
643 void DwarfUnit::addLinkageName(DIE &Die, StringRef LinkageName) { in addLinkageName()
651 void DwarfUnit::addTemplateParams(DIE &Buffer, DINodeArray TParams) { in addTemplateParams()
661 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE()
675 DIE *DwarfUnit::createTypeDIE(const DICompositeType *Ty) { in createTypeDIE()
677 DIE *ContextDIE = getOrCreateContextDIE(Context); in createTypeDIE()
679 if (DIE *TyDIE = getDIE(Ty)) in createTypeDIE()
683 DIE &TyDIE = createAndAddDIE(Ty->getTag(), *ContextDIE, Ty); in createTypeDIE()
692 DIE *DwarfUnit::getOrCreateTypeDIE(const MDNode *TyNode) { in getOrCreateTypeDIE()
705 DIE *ContextDIE = getOrCreateContextDIE(Context); in getOrCreateTypeDIE()
708 if (DIE *TyDIE = getDIE(Ty)) in getOrCreateTypeDIE()
712 DIE &TyDIE = createAndAddDIE(Ty->getTag(), *ContextDIE, Ty); in getOrCreateTypeDIE()
736 const DIType *Ty, const DIE &TyDIE) { in updateAcceleratorTables()
753 void DwarfUnit::addType(DIE &Entity, const DIType *Ty, in addType()
793 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIBasicType *BTy) { in constructTypeDIE()
811 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) { in constructTypeDIE()
842 void DwarfUnit::constructSubprogramArguments(DIE &Buffer, DITypeRefArray Args) { in constructSubprogramArguments()
849 DIE &Arg = createAndAddDIE(dwarf::DW_TAG_formal_parameter, Buffer); in constructSubprogramArguments()
857 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE()
890 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructTypeDIE()
923 DIE &ElemDie = createAndAddDIE(dwarf::DW_TAG_friend, Buffer); in constructTypeDIE()
931 DIE &ElemDie = createAndAddDIE(Property->getTag(), Buffer); in constructTypeDIE()
1006 DIE &Buffer, const DITemplateTypeParameter *TP) { in constructTemplateTypeParameterDIE()
1007 DIE &ParamDIE = in constructTemplateTypeParameterDIE()
1017 DIE &Buffer, const DITemplateValueParameter *VP) { in constructTemplateValueParameterDIE()
1018 DIE &ParamDIE = createAndAddDIE(VP->getTag(), Buffer); in constructTemplateValueParameterDIE()
1052 DIE *DwarfUnit::getOrCreateNameSpace(const DINamespace *NS) { in getOrCreateNameSpace()
1055 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1057 if (DIE *NDie = getDIE(NS)) in getOrCreateNameSpace()
1059 DIE &NDie = createAndAddDIE(dwarf::DW_TAG_namespace, *ContextDIE, NS); in getOrCreateNameSpace()
1072 DIE *DwarfUnit::getOrCreateModule(const DIModule *M) { in getOrCreateModule()
1075 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1077 if (DIE *MDie = getDIE(M)) in getOrCreateModule()
1079 DIE &MDie = createAndAddDIE(dwarf::DW_TAG_module, *ContextDIE, M); in getOrCreateModule()
1096 DIE *DwarfUnit::getOrCreateSubprogramDIE(const DISubprogram *SP, bool Minimal) { in getOrCreateSubprogramDIE()
1100 DIE *ContextDIE = in getOrCreateSubprogramDIE()
1103 if (DIE *SPDie = getDIE(SP)) in getOrCreateSubprogramDIE()
1116 DIE &SPDie = createAndAddDIE(dwarf::DW_TAG_subprogram, *ContextDIE, SP); in getOrCreateSubprogramDIE()
1128 DIE &SPDie) { in applySubprogramDefinitionAttributes()
1129 DIE *DeclDie = nullptr; in applySubprogramDefinitionAttributes()
1169 void DwarfUnit::applySubprogramAttributes(const DISubprogram *SP, DIE &SPDie, in applySubprogramAttributes()
1265 void DwarfUnit::constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, in constructSubrangeDIE()
1266 DIE *IndexTy) { in constructSubrangeDIE()
1267 DIE &DW_Subrange = createAndAddDIE(dwarf::DW_TAG_subrange_type, Buffer); in constructSubrangeDIE()
1287 DIE *DwarfUnit::getIndexTyDie() { in getIndexTyDie()
1299 void DwarfUnit::constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructArrayTypeDIE()
1309 DIE *IdxTy = getIndexTyDie(); in constructArrayTypeDIE()
1321 void DwarfUnit::constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructEnumTypeDIE()
1328 DIE &Enumerator = createAndAddDIE(dwarf::DW_TAG_enumerator, Buffer); in constructEnumTypeDIE()
1346 DIE &SPDie = *CI->first; in constructContainingTypeDIEs()
1350 DIE *NDie = getDIE(D); in constructContainingTypeDIEs()
1357 void DwarfUnit::constructMemberDIE(DIE &Buffer, const DIDerivedType *DT) { in constructMemberDIE()
1358 DIE &MemberDie = createAndAddDIE(DT->getTag(), Buffer); in constructMemberDIE()
1448 if (DIE *PDie = getDIE(PNode)) in constructMemberDIE()
1456 DIE *DwarfUnit::getOrCreateStaticMemberDIE(const DIDerivedType *DT) { in getOrCreateStaticMemberDIE()
1462 DIE *ContextDIE = getOrCreateContextDIE(resolve(DT->getScope())); in getOrCreateStaticMemberDIE()
1466 if (DIE *StaticMemberDIE = getDIE(DT)) in getOrCreateStaticMemberDIE()
1469 DIE &StaticMemberDIE = createAndAddDIE(DT->getTag(), *ContextDIE, DT); in getOrCreateStaticMemberDIE()