I’m interrested to use llvm in order to instrument the IR llvm code.
in fact i would like to make transformations into an IR code. those transformations would be invoked in the running of the IR code.
should i write a pass?
if it is what i would do after in order to transform or instrument the IR code
Any suggestion or tutorials?
Yes, you should. Try this: