Home
last modified time | relevance | path

Searched refs:SPDie (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1103 if (DIE *SPDie = getDIE(SP)) in getOrCreateSubprogramDIE() local
1104 return SPDie; in getOrCreateSubprogramDIE()
1116 DIE &SPDie = createAndAddDIE(dwarf::DW_TAG_subprogram, *ContextDIE, SP); in getOrCreateSubprogramDIE() local
1121 return &SPDie; in getOrCreateSubprogramDIE()
1123 applySubprogramAttributes(SP, SPDie); in getOrCreateSubprogramDIE()
1124 return &SPDie; in getOrCreateSubprogramDIE()
1128 DIE &SPDie) { in applySubprogramDefinitionAttributes() argument
1141 addUInt(SPDie, dwarf::DW_AT_decl_file, None, DefID); in applySubprogramDefinitionAttributes()
1144 addUInt(SPDie, dwarf::DW_AT_decl_line, None, SP->getLine()); in applySubprogramDefinitionAttributes()
1148 addTemplateParams(SPDie, SP->getTemplateParams()); in applySubprogramDefinitionAttributes()
[all …]
DDwarfCompileUnit.cpp297 DIE *SPDie = getOrCreateSubprogramDIE(SP, includeMinimalInlineScopes()); in updateSubprogramScopeDIE() local
299 attachLowHighPC(*SPDie, Asm->getFunctionBegin(), Asm->getFunctionEnd()); in updateSubprogramScopeDIE()
303 addFlag(*SPDie, dwarf::DW_AT_APPLE_omit_frame_ptr); in updateSubprogramScopeDIE()
310 addAddress(*SPDie, dwarf::DW_AT_frame_base, Location); in updateSubprogramScopeDIE()
315 DD->addSubprogramNames(SP, *SPDie); in updateSubprogramScopeDIE()
317 return *SPDie; in updateSubprogramScopeDIE()
821 const DISubprogram *SP, DIE &SPDie) { in applySubprogramAttributesToDefinition() argument
824 applySubprogramAttributes(SP, SPDie, includeMinimalInlineScopes()); in applySubprogramAttributesToDefinition()
825 addGlobalName(SP->getName(), SPDie, Context); in applySubprogramAttributesToDefinition()
DDwarfUnit.h110 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
283 void applySubprogramAttributes(const DISubprogram *SP, DIE &SPDie,
DDwarfCompileUnit.h248 DIE &SPDie);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1196 if (DIE *SPDie = getDIE(SP)) in getOrCreateSubprogramDIE() local
1197 return SPDie; in getOrCreateSubprogramDIE()
1209 DIE &SPDie = createAndAddDIE(dwarf::DW_TAG_subprogram, *ContextDIE, SP); in getOrCreateSubprogramDIE() local
1214 return &SPDie; in getOrCreateSubprogramDIE()
1216 applySubprogramAttributes(SP, SPDie); in getOrCreateSubprogramDIE()
1217 return &SPDie; in getOrCreateSubprogramDIE()
1221 DIE &SPDie) { in applySubprogramDefinitionAttributes() argument
1235 addUInt(SPDie, dwarf::DW_AT_decl_file, None, DefID); in applySubprogramDefinitionAttributes()
1238 addUInt(SPDie, dwarf::DW_AT_decl_line, None, SP->getLine()); in applySubprogramDefinitionAttributes()
1242 addTemplateParams(SPDie, SP->getTemplateParams()); in applySubprogramDefinitionAttributes()
[all …]
DDwarfCompileUnit.cpp320 DIE *SPDie = getOrCreateSubprogramDIE(SP, includeMinimalInlineScopes()); in updateSubprogramScopeDIE() local
322 attachLowHighPC(*SPDie, Asm->getFunctionBegin(), Asm->getFunctionEnd()); in updateSubprogramScopeDIE()
326 addFlag(*SPDie, dwarf::DW_AT_APPLE_omit_frame_ptr); in updateSubprogramScopeDIE()
333 addBlock(*SPDie, dwarf::DW_AT_frame_base, Loc); in updateSubprogramScopeDIE()
338 addAddress(*SPDie, dwarf::DW_AT_frame_base, Location); in updateSubprogramScopeDIE()
344 DD->addSubprogramNames(SP, *SPDie); in updateSubprogramScopeDIE()
346 return *SPDie; in updateSubprogramScopeDIE()
1022 const DISubprogram *SP, DIE &SPDie) { in applySubprogramAttributesToDefinition() argument
1025 applySubprogramAttributes(SP, SPDie, includeMinimalInlineScopes()); in applySubprogramAttributesToDefinition()
1026 addGlobalName(SP->getName(), SPDie, Context); in applySubprogramAttributesToDefinition()
DDwarfUnit.h104 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
259 void applySubprogramAttributes(const DISubprogram *SP, DIE &SPDie,
DDwarfCompileUnit.h289 DIE &SPDie);
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp920 DIE *SPDie = getDIE(SP); in getOrCreateSubprogramDIE() local
921 if (SPDie) in getOrCreateSubprogramDIE()
922 return SPDie; in getOrCreateSubprogramDIE()
924 SPDie = new DIE(dwarf::DW_TAG_subprogram); in getOrCreateSubprogramDIE()
927 insertDIE(SP, SPDie); in getOrCreateSubprogramDIE()
930 addToContextOwner(SPDie, SP.getContext()); in getOrCreateSubprogramDIE()
933 addTemplateParams(*SPDie, SP.getTemplateParams()); in getOrCreateSubprogramDIE()
937 addString(SPDie, dwarf::DW_AT_MIPS_linkage_name, in getOrCreateSubprogramDIE()
944 return SPDie; in getOrCreateSubprogramDIE()
948 addString(SPDie, dwarf::DW_AT_name, dwarf::DW_FORM_string, in getOrCreateSubprogramDIE()
[all …]
DDwarfDebug.cpp187 DIE *SPDie = SPCU->getDIE(SPNode); in updateSubprogramScopeDIE() local
189 assert(SPDie && "Unable to find subprogram DIE!"); in updateSubprogramScopeDIE()
195 SPCU->addDIEEntry(SPDie, dwarf::DW_AT_specification, dwarf::DW_FORM_ref4, in updateSubprogramScopeDIE()
206 SPCU-> addUInt(SPDie, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag, 1); in updateSubprogramScopeDIE()
219 SPDie->addChild(Arg); in updateSubprogramScopeDIE()
221 DIE *SPDeclDie = SPDie; in updateSubprogramScopeDIE()
222 SPDie = new DIE(dwarf::DW_TAG_subprogram); in updateSubprogramScopeDIE()
223 SPCU->addDIEEntry(SPDie, dwarf::DW_AT_specification, dwarf::DW_FORM_ref4, in updateSubprogramScopeDIE()
225 SPCU->addDie(SPDie); in updateSubprogramScopeDIE()
230 SPDie = new DIE(dwarf::DW_TAG_subprogram); in updateSubprogramScopeDIE()
[all …]