Hi i am trying to write an optimization wherein i need to get the size of each instruction in the loop. is there any framework that allows me to find out the size of an Instruction I ? thanks. sreeraj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101202/94736d3f/attachment.html>
On Dec 2, 2010, at 1:36 AM, Sreeraj a wrote:> Hi i am trying to write an optimization wherein i need to get the size of each instruction in the loop. > is there any framework that allows me to find out the size of an Instruction I ?Target dependent size? No, not until you hit the MachineInstruction level. -eric -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101202/df8ad15b/attachment.html>
Apparently Analagous Threads
- [LLVMdev] L->isLoopInvariant giving wrong results?
- [LLVMdev] L->isLoopInvariant giving wrong results?
- [LLVMdev] L->isLoopInvariant giving wrong results?
- [LLVMdev] Segmentation fault on Instruction.moveBefore()
- [LLVMdev] L->isLoopInvariant giving wrong results?