Lines Matching defs:DwarfUnit
1 //===-- llvm/CodeGen/DwarfUnit.cpp - Dwarf Type and Compile Units ---------===//
14 #include "DwarfUnit.h"
47 DIEDwarfExpression::DIEDwarfExpression(const AsmPrinter &AP, DwarfUnit &DU,
66 DwarfUnit::DwarfUnit(unsigned UID, dwarf::Tag UnitTag,
79 : DwarfUnit(UID, dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU),
85 DwarfUnit::~DwarfUnit() {
92 int64_t DwarfUnit::getDefaultLowerBound() const {
172 DIE *DwarfUnit::getDIE(const DINode *D) const {
178 void DwarfUnit::insertDIE(const DINode *Desc, DIE *D) {
186 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) {
195 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute,
202 void DwarfUnit::addUInt(DIEValueList &Block, dwarf::Form Form,
207 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute,
214 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form,
219 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute,
226 DIEValueList::value_iterator DwarfUnit::addLabel(DIEValueList &Die,
233 void DwarfUnit::addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label) {
237 void DwarfUnit::addSectionOffset(DIE &Die, dwarf::Attribute Attribute,
250 void DwarfUnit::addOpAddress(DIELoc &Die, const MCSymbol *Sym) {
261 void DwarfUnit::addLabelDelta(DIE &Die, dwarf::Attribute Attribute,
267 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry) {
271 void DwarfUnit::addDIETypeSignature(DIE &Die, const DwarfTypeUnit &Type) {
282 void DwarfUnit::addDIETypeSignature(DIE &Die, dwarf::Attribute Attribute,
289 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute,
303 DIE &DwarfUnit::createAndAddDIE(unsigned Tag, DIE &Parent, const DINode *N) {
310 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) {
317 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute,
324 void DwarfUnit::addSourceLine(DIE &Die, unsigned Line, StringRef File,
335 void DwarfUnit::addSourceLine(DIE &Die, const DILocalVariable *V) {
342 void DwarfUnit::addSourceLine(DIE &Die, const DIGlobalVariable *G) {
348 void DwarfUnit::addSourceLine(DIE &Die, const DISubprogram *SP) {
354 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) {
360 void DwarfUnit::addSourceLine(DIE &Die, const DIObjCProperty *Ty) {
366 void DwarfUnit::addSourceLine(DIE &Die, const DINamespace *NS) {
370 bool DwarfUnit::addRegisterOpPiece(DIELoc &TheDie, unsigned Reg,
377 bool DwarfUnit::addRegisterOffset(DIELoc &TheDie, unsigned Reg,
437 void DwarfUnit::addBlockByrefAddress(const DbgVariable &DV, DIE &Die,
590 void DwarfUnit::addConstantFPValue(DIE &Die, const MachineOperand &MO) {
612 void DwarfUnit::addConstantFPValue(DIE &Die, const ConstantFP *CFP) {
617 void DwarfUnit::addConstantValue(DIE &Die, const ConstantInt *CI,
622 void DwarfUnit::addConstantValue(DIE &Die, const MachineOperand &MO,
629 void DwarfUnit::addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) {
636 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) {
640 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) {
669 void DwarfUnit::addLinkageName(DIE &Die, StringRef LinkageName) {
677 void DwarfUnit::addTemplateParams(DIE &Buffer, DINodeArray TParams) {
687 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) {
701 DIE *DwarfUnit::createTypeDIE(const DICompositeType *Ty) {
718 DIE *DwarfUnit::getOrCreateTypeDIE(const MDNode *TyNode) {
763 void DwarfUnit::updateAcceleratorTables(const DIScope *Context,
781 void DwarfUnit::addType(DIE &Entity, const DIType *Ty,
787 std::string DwarfUnit::getParentContextString(const DIScope *Context) const {
821 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIBasicType *BTy) {
839 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) {
870 void DwarfUnit::constructSubprogramArguments(DIE &Buffer, DITypeRefArray Args) {
885 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) {
913 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) {
1028 void DwarfUnit::constructTemplateTypeParameterDIE(
1039 void DwarfUnit::constructTemplateValueParameterDIE(
1071 DIE *DwarfUnit::getOrCreateNameSpace(const DINamespace *NS) {
1091 DIE *DwarfUnit::getOrCreateModule(const DIModule *M) {
1115 DIE *DwarfUnit::getOrCreateSubprogramDIE(const DISubprogram *SP, bool Minimal) {
1146 bool DwarfUnit::applySubprogramDefinitionAttributes(const DISubprogram *SP,
1186 void DwarfUnit::applySubprogramAttributes(const DISubprogram *SP, DIE &SPDie,
1271 void DwarfUnit::constructSubrangeDIE(DIE &Buffer, const DISubrange *SR,
1293 DIE *DwarfUnit::getIndexTyDie() {
1305 void DwarfUnit::constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy) {
1327 void DwarfUnit::constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy) {
1349 void DwarfUnit::constructContainingTypeDIEs() {
1363 void DwarfUnit::constructMemberDIE(DIE &Buffer, const DIDerivedType *DT) {
1471 DIE *DwarfUnit::getOrCreateStaticMemberDIE(const DIDerivedType *DT) {
1514 void DwarfUnit::emitHeader(bool UseOffsets) {
1534 void DwarfUnit::initSection(MCSection *Section) {
1540 DwarfUnit::emitHeader(UseOffsets);