search for: registered_custom_pass_opt

Displaying 1 result from an estimated 1 matches for "registered_custom_pass_opt".

2012 Nov 16
0
[LLVMdev] Using custom LLVM Passes with clang
...f this pass can be used in clang somehow. I have read about "-mllvm" option which can be used to pass arguments to LLVM from clang. But I have not been able to get this to work. I tried a similar way of running clang (as I did with opt) clang -load "path_to_library" -mllvm "registered_custom_pass_option" test.c -o test.o It complains that the load option was unused during compilation, Also, that it cannot find any option by -loop-perforate which is the registered custom pass. I tried using -indvars,along with -mllvm to see if I am doing it right. But I get the same error for -indvars too...