search for: _executed_

Displaying 2 results from an estimated 2 matches for "_executed_".

Did you mean: _executed
2005 Apr 08
0
[LLVMdev] Questions !!
...have to calculate the size on a per-emitted-instruction basis. We currently do this for the nightly tests, but it's outputted on a per-program basis, such as: $ lli -stats eks.bc | grep jit 4182 jit - Number of bytes of machine code compiled Note that this is only for the _executed_ part of the program, not the entire program. Your best bet would be to write a pass that runs after instruction selection, that loops over all the basic blocks of each function and calculates how many bytes each instruction would take up. For a RISC-like target, again, that's pretty trivial,...
2005 Apr 08
2
[LLVMdev] Questions !!
Thanks a lot Chris. Regarding basic block size I wish to calculate both: - The number of bytecode bytes - The number of machine code bytes for some target? TS Chris Lattner <sabre at nondot.org> wrote: On Thu, 7 Apr 2005, Tanu Sharma wrote: > Thanks for the reply, > > Actually I m aiming towards determining two values: > > - number of basic blocks in a program For