Displaying 2 results from an estimated 2 matches for "machienfunctionpass".
2011 Apr 05
0
[LLVMdev] instrument a byte code with llvm
...ve it count the
instructions and then modify the call instruction so that it passes the
count of machine instructions to the run-time library.
I haven't written a MachineFunctionPass before, so others who have will
need to answer questions on it. However, the doxygen docs and the
existing MachienFunctionPass passes in LLVM may be a good way to learn
how they work.
Good luck.
-- John T.
>
>> i would like that a pass add a method (which calculate the number
>> of instructions) in the end of each block.
>> the instrumented code should contain in each block a method tha...
2011 Apr 05
4
[LLVMdev] instrument a byte code with llvm
hi,
I'm newer in llvm
i would like to instrument a byte code with a pass and as a result i would
like to get an instrumented byte code.
i would like that a pass add a method (which calculate the number of
instructions) in the end of each block.
the instrumented code should contain in each block a method that calculate
the number of instructions
Please Help me
thank you
--
Nabila ABDESSAIED