search for: getmf

Displaying 6 results from an estimated 6 matches for "getmf".

Did you mean: getmd
2009 Nov 07
2
[LLVMdev] MachineFunction::get
Hi I have a ModulePass in LLC that runs after most of codegen completes, right before OBJ emission. I want the ModulePass to iterate over all MachineFunctions, emulating them. I used to do this by iterating over all Module Function's, and using MachineFunction::get() to get the MachineFunction associated with said Function. In LLVM 2.6, MachineFunction::get() is gone. What is the new way
2015 May 19
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
...le_externally' functions at all, they >> have >> 35| // definitions outside the translation unit. >> 36| if (F.hasAvailableExternallyLinkage()) >> 37| return false; >> 38| >> 39| MachineFunction &MF = getAnalysis<MachineFunctionAnalysis>().getMF(); >> 40| return runOnMachineFunction(MF); >> 41| } > > Ok, thanks for digging this up. I guess that would work for the > imported functions as well, but it seems like a waste of compile time > if they are not useful after inlining/global opt. Is there any reason > to k...
2015 Jun 03
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
...ranslation unit. >> >> >> 36| if (F.hasAvailableExternallyLinkage()) >> >> >> 37| return false; >> >> >> 38| >> >> >> 39| MachineFunction &MF = >> >> >> getAnalysis<MachineFunctionAnalysis>().getMF(); >> >> >> 40| return runOnMachineFunction(MF); >> >> >> 41| } >> >> > >> >> > Ok, thanks for digging this up. I guess that would work for the >> >> > imported functions as well, but it seems like a waste of compile...
2015 May 19
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
...; >> 35| // definitions outside the translation unit. >> >> 36| if (F.hasAvailableExternallyLinkage()) >> >> 37| return false; >> >> 38| >> >> 39| MachineFunction &MF = >> >> getAnalysis<MachineFunctionAnalysis>().getMF(); >> >> 40| return runOnMachineFunction(MF); >> >> 41| } >> > >> > Ok, thanks for digging this up. I guess that would work for the >> > imported functions as well, but it seems like a waste of compile time >> > if they are not useful af...
2015 May 15
3
[LLVMdev] RFC: ThinLTO Impementation Plan
On Fri, May 15, 2015 at 9:53 AM, Teresa Johnson <tejohnson at google.com> wrote: > On Fri, May 15, 2015 at 9:20 AM, David Blaikie <dblaikie at gmail.com> wrote: > > > > > > On Fri, May 15, 2015 at 9:18 AM, David Blaikie <dblaikie at gmail.com> > wrote: > >>> > >>> > >>> >> - Marking of imported functions (for use
2015 Jun 04
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
...gt;>>>> 36| if (F.hasAvailableExternallyLinkage()) >>>>>>>> 37| return false; >>>>>>>> 38| >>>>>>>> 39| MachineFunction &MF = >>>>>>>> getAnalysis<MachineFunctionAnalysis>().getMF(); >>>>>>>> 40| return runOnMachineFunction(MF); >>>>>>>> 41| } >>>>>>> >>>>>>> Ok, thanks for digging this up. I guess that would work for the >>>>>>> imported functions as well, but it...