Displaying 1 result from an estimated 1 matches for "opt_end".
Did you mean:
op_end
2011 Jul 15
1
[LLVMdev] Pass Question
...r optimization before and after every function call.For example, I create a test file test.c. There is a function f1() just printing out "Print f1", which is called in the main function. That's all the test.c do. Now I want to
insert optimazation function opt_begin() before f1() and opt_end() after by adding the command line of my pass in the compilation option of llvm-gcc. Does anyone have any idea about how to implement this? I would really
appreciate if anyone can help me out, since I was stuck by this question for really a long time.
Jian
-------------- next part -------------...