<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 2, 2010, at 1:36 AM, Sreeraj a wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi i am trying to write an optimization wherein i need to get the size of each instruction in the loop.<div>is there any framework that allows me to find out the size of an Instruction I ?</div></blockquote><br></div><div>Target dependent size? No, not until you hit the MachineInstruction level.</div><div><br></div><div>-eric</div><br></body></html>