User Tools

Site Tools


how_to_run_the_llvm_profiler_--_works_with_legup_3.0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
how_to_run_the_llvm_profiler_--_works_with_legup_3.0 [2013/07/18 14:29]
janders
how_to_run_the_llvm_profiler_--_works_with_legup_3.0 [2013/07/25 16:53] (current)
yvonne.z1229
Line 4: Line 4:
  
   * Go to the mips directory and type make.  You should now have the mips.ll file in the directory.   * Go to the mips directory and type make.  You should now have the mips.ll file in the directory.
-  * Type: opt -q -f -insert-edge-profiling ​mips.ll -o mips_profile.ll+  * Type: opt -q -f mips.ll -o mips_profile.ll
   * Type: lli -load ../​../​../​llvm/​Release+Asserts/​lib/​libprofile_rt.so mips_profile.ll ​   * Type: lli -load ../​../​../​llvm/​Release+Asserts/​lib/​libprofile_rt.so mips_profile.ll ​
   * Type: llvm-prof -annotated-llvm mips_profile.ll llvmprof.out   * Type: llvm-prof -annotated-llvm mips_profile.ll llvmprof.out
how_to_run_the_llvm_profiler_--_works_with_legup_3.0.txt ยท Last modified: 2013/07/25 16:53 by yvonne.z1229