Thanks again Chris,<br><br>I'll post the follow up post on the LLVM side.<br><br>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.<br>
<br>You are truely the great, not the Kalyan! <br><br><div class="gmail_quote">On Fri, Apr 23, 2010 at 11:30 AM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
On Apr 23, 2010, at 12:13 AM, kalyan ponnala wrote:<br>
<br>
</div><div class="im">> Thanks for the reply Chris,<br>
><br>
> I would like to add Metadata to a loop.<br>
><br>
> 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.?<br>
<br>
</div><div><div></div><div class="h5">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.<br>

<br>
-Chris</div></div></blockquote></div><br><br clear="all"><br>-- <br>Kalyan Ponnala<br>phone: 8163772059<br>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>