search for: opt_pass_nam

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

Did you mean: opt_pass_name
2011 Apr 18
2
[LLVMdev] Registering a custom opt pass as a default one
...order to compile a large program using GNU make, we had to write wrappers for gcc and g++ that parse the command-line args and perform either steps 1-4 or step 5, and put those wrappers into $PATH. On the other hand, if our opt pass was a default one, we could just do: $ llvm-gcc filename.cc <-opt_pass_name> <additional opt args> -o filename.o instead of steps 1-4. The question is: does llvm-gcc (or Clang, or whatever) allow to register a custom optimization pass as a default one (by means of env vars, configuration files or anything besides rebuilding the compiler)? Thanks in advance, Ale...
2011 Apr 18
0
[LLVMdev] Registering a custom opt pass as a default one
...large program using GNU make, we had to write > wrappers for gcc and g++ that parse the command-line args and perform > either steps 1-4 or step 5, and put those wrappers into $PATH. > On the other hand, if our opt pass was a default one, we could just do: > $ llvm-gcc filename.cc <-opt_pass_name> <additional opt args> -o filename.o > instead of steps 1-4. > > The question is: does llvm-gcc (or Clang, or whatever) allow to > register a custom optimization pass as a default one (by means of env > vars, configuration files or anything besides rebuilding the > comp...