[LLVMdev] Enumerating machine functions

Lorenzo De Carli lorenzo at cs.wisc.edu
Wed Apr 6 08:36:35 PDT 2011

On Wed, Apr 6, 2011 at 1:51 AM, Duncan Sands <baldrick at free.fr> wrote:
>  Seems that the only way
>> to achieve what I have in mind is to write the machine code for all
>> the functions to a file, and then load it and process it in a separate
>> tool (possibly based on LLVM-mc). Is this correct?
> I think you should do this kind of thing as a module level pass on the
> LLVM IR, i.e. before doing code generation.

I will consider if we can run at least part of the pass on the IR
form. Thanks for the input!


More information about the llvm-dev mailing list