[llvm-dev] [GlobalISel][RFC] Thoughts on MachineModulePass (original) (raw)
Matthias Braun via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 14 09:42:03 PDT 2017
- Previous message: [llvm-dev] [GlobalISel][RFC] Thoughts on MachineModulePass
- Next message: [llvm-dev] Segmentation fault in lowerVectorShuffle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You can insert module passes into the machine pipeline as of r279602 (and some followups I don't remember right now fixing some bugs).
You basically write a ModulePass, query the MachineModuleInfo analysis and can then get the machine function for every IR function by calling MMI.getOrCreateMachineFunction(). The MachineOutliner is using this if you want to see an examples.
- Matthias
On Sep 14, 2017, at 8:57 AM, Arvind Sudarsanam via llvm-dev <llvm-dev at lists.llvm.org> wrote:
Hi all, I am interested in this as I want to perform Call Graph analysis at the Machine IR level. Has there been any updates on this? Thanks and Best Regards Arvind
LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
- Previous message: [llvm-dev] [GlobalISel][RFC] Thoughts on MachineModulePass
- Next message: [llvm-dev] Segmentation fault in lowerVectorShuffle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]