Displaying 1 result from an estimated 1 matches for "vj2wdsqy6a4".
2016 Jul 29
0
Branch profiling in older llvm revision
...I can use it as it. If any of you have worked with this, can
you point me to some/any documentation showing what happens in the backend
when using these?
The only useful information I can find on these are from previous questions
people have asked(
https://groups.google.com/forum/#!topic/llvm-dev/vJ2wDsQY6a4 being one of
them). The steps from what I can understand are:
opt -insert-edge-profiling -O3 foo.bc -o foo.2.bc
run the compiled binary using llvm-prof after linking with lprofile_rt
opt -profile-loader -O3 foo.bc -o foo.opt.bc //the required info can
be obtained using this pass.
Because I...