LLVM meta-data for run-time optimization

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.

Thanks
Javed

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 John. I just wanted an expert opinion on that issue, to set the initial direction for my work.
So if you say thats possible i can invest time into it.