[cfe-dev] Attaching Metadata to BasicBlocks

kalyan ponnala ponnala.kalyan at gmail.com
Fri Apr 23 14:29:47 PDT 2010

Thanks again Chris,

I'll post the follow up post on the LLVM side.

PS: Please forgive the silly humor at the end of the post, my friend and I
were up till 3:30 AM trying to figure out how to use Metadata in a
non-trivial way. We were trying to frame the question properly and he wrote
the last line as a joke to me. Neither of us intended it  to go on the
entire news group let alone to you specifically.

You are truely the great, not the Kalyan!

On Fri, Apr 23, 2010 at 11:30 AM, Chris Lattner <clattner at apple.com> wrote:

> On Apr 23, 2010, at 12:13 AM, kalyan ponnala wrote:
> > Thanks for the reply Chris,
> >
> > I would like to add Metadata to a loop.
> >
> > To do this, can I simply add the Metadata Manipulation methods & Metadata
> private data from Instruction.h & their method bodies from Metadata.cpp into
> the BasicBlock.h & BasicBlock.cpp files.?
> It's non-trivial: you need to add support to the .ll file parser/printer,
> the .bc file reader/writer, the IR stuff, etc.  It's probably best discussed
> on llvmdev, instead of cfe-dev.
> -Chris

Kalyan Ponnala
phone: 8163772059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100423/b03eb40c/attachment.html>

More information about the cfe-dev mailing list