[LLVMdev] making emitInlineAsm protected
rafael.espindola at gmail.com
Wed Jan 29 15:39:05 PST 2014
> So explain to me how this mechanism would work.
> As I'm processing a single mips16 function, I realize that I need to create
> one or more mips32 helper functions.
> I'm in a function pass. So I'm not supposed to be creating new functions, as
> far as I understand.
> Also, I can't know which mips32 stub functions to create until I have
> processed all functions because otherwise I might create duplicates.
> So how would you do this within the existing LLVM pass structure?
A module pass that iterates oven the functions should do it.
More information about the llvm-dev