[LLVMdev] LLVM meta-data for run-time optimization

John Criswell criswell at illinois.edu
Wed Jul 28 10:56:07 PDT 2010


Javed Absar wrote:
> Hi
>  
> I read on LLVM blog that meta-data has been implemented to coney debug 
> information to run-time system.
> Can one use meta-data to convey developer specifc hints to run-time 
> system (e.g. JIT compiler)?
> Keen to know your thoughts on this.

I don't see why not.  I've used LLVM metadata to record type-inference 
information and to assign IDs for dynamic tracing.  You can probably use 
it to convey developer hints to a JIT, although you should see if other 
LLVM IR features (like function attributes) are better suited for your task.

I recommend reading over the LLVM Language Reference manual on the docs 
page to get an idea of what LLVM's IR has to offer.

-- John T.

>  
> Thanks
> Javed
>
> -- 
> my homepage: http://www.javedabsar.com




More information about the llvm-dev mailing list