Displaying 1 result from an estimated 1 matches for "op_smal".
Did you mean:
op_small
2012 Nov 18
1
[LLVMdev] Basic Block Frequency counting in LLVM 2.9
...ubuntu:~$ llvm-link -o main.bc rawcaudio.bc adpcm.bc
rdpatel55 at ubuntu:~$ opt -q -f -insert-edge-profiling -o main.inst main.bc
rdpatel55 at ubuntu:~$ lli -fake-argv0 'main.bc' -load
/home/rdpatel55/RDPATEL/LLVM2.9/OBJ_ROOT/Debug+Profile/lib/profile_rt.so
main.inst < ./small.pcm > op_small.adpcm
rdpatel55 at ubuntu:~$ llvm-prof main.inst > profile.txt
rdpatel55 at ubuntu:~$ llvm-prof -annotated-llvm main.inst > bb.txt (This gives BB
frequency for all Blocks)
It works fine. But I found that for certain blocks the execution frequency
calculated is wrong.
Is there someone to he...