Displaying 7 results from an estimated 7 matches for "getdisubprogram".
2016 Mar 08
11
Deleting function IR after codegen
...ose that all other tools, and especially LTO, would enable it. The savings are 20% of peak memory in LTO of clang itself.
I could attach a patch, but first i’d really like to know if anyone is fundamentally opposed to this.
I should note, a couple of issues have come up in the prototype.
- llvm::getDISubprogram was walking the function body to find the subprogram. This is trivial to fix as functions now have !dbg on them.
- The AsmPrinter is calling canBeOmittedFromSymbolTable on GlobalValue’s which then walks all their uses. I think this should be done earlier in codegen as an analysis whose results ar...
2016 Mar 08
3
Deleting function IR after codegen
...omething for GlobalISel to keep in mind.
+1.
That’s basically where I would like to go with MachineModule/MachineModulePass.
http://lists.llvm.org/pipermail/llvm-dev/2016-January/094426.html
Cheers,
-Quentin
>
> I should note, a couple of issues have come up in the prototype.
> - llvm::getDISubprogram was walking the function body to find the subprogram. This is trivial to fix as functions now have !dbg on them.
>
> This is definitely worth it, please go ahead and do this.
>
> - The AsmPrinter is calling canBeOmittedFromSymbolTable on GlobalValue’s which then walks all their uses...
2016 Mar 08
3
Deleting function IR after codegen
...and especially LTO, would enable it. The savings are 20% of peak memory in LTO of clang itself.
>
> I could attach a patch, but first i’d really like to know if anyone is fundamentally opposed to this.
>
> I should note, a couple of issues have come up in the prototype.
> - llvm::getDISubprogram was walking the function body to find the subprogram. This is trivial to fix as functions now have !dbg on them.
> - The AsmPrinter is calling canBeOmittedFromSymbolTable on GlobalValue’s which then walks all their uses. I think this should be done earlier in codegen as an analysis whose resul...
2010 Nov 26
0
[LLVMdev] Next round of DWARF issues/questions
...if I turn on inlining, I get null pointer errors
in this piece of code in DwarfDebug::constructInlinedScopeDIE():
*if* (!Scope->getScopeNode())
*return* NULL;
DIScope DS(Scope->getScopeNode());
DIE *ScopeDIE = *new* DIE(dwarf::DW_TAG_inlined_subroutine);
DISubprogram InlinedSP = getDISubprogram(DS);
CompileUnit *TheCU = getCompileUnit(InlinedSP);
DIE *OriginDIE = TheCU->getDIE(InlinedSP);
assert(OriginDIE && *"Unable to find Origin DIE!"*);
addDIEEntry(ScopeDIE, dwarf::DW_AT_abstract_origin,
*dwarf*::DW_FORM_ref4, OriginDIE);
What's happenin...
2016 May 12
2
Deleting function IR after codegen
...> > http://lists.llvm.org/pipermail/llvm-dev/2016-January/094426.html
>
> > Cheers,
>
> > -Quentin
>
> > > > I should note, a couple of issues have come up in the
> > > > prototype.
> > >
> >
>
> > > > - llvm::getDISubprogram was walking the function body to find
> > > > the
> > > > subprogram. This is trivial to fix as functions now have !dbg
> > > > on
> > > > them.
> > >
> >
>
> > > This is definitely worth it, please go ahead and do this....
2016 Mar 08
2
Deleting function IR after codegen
...would enable it. The savings are 20% of peak memory in LTO of clang itself.
>>
>> I could attach a patch, but first i’d really like to know if anyone is fundamentally opposed to this.
>>
>> I should note, a couple of issues have come up in the prototype.
>> - llvm::getDISubprogram was walking the function body to find the subprogram. This is trivial to fix as functions now have !dbg on them.
>> - The AsmPrinter is calling canBeOmittedFromSymbolTable on GlobalValue’s which then walks all their uses. I think this should be done earlier in codegen as an analysis whose r...
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
On Tue, Nov 9, 2010 at 9:04 AM, Devang Patel <dpatel at apple.com> wrote:
>
>
> On Nov 8, 2010, at 10:52 PM, Talin <viridia at gmail.com> wrote:
>
> On Mon, Nov 8, 2010 at 9:56 AM, Devang Patel < <dpatel at apple.com>
> dpatel at apple.com> wrote:
>
>>
>> On Nov 6, 2010, at 7:35 PM, Talin wrote:
>>
>> After to speaking to Devang