Displaying 2 results from an estimated 2 matches for "switchstatisticsfilename".
2012 Jul 20
2
[LLVMdev] Statistics for 'switch' instruction.
...LUSTER_GE8 means number of clusters with size H-L+1 >= 8
Spreadsheet (.xls file in .tgz) with statistics data and patch with
harness that collects data are in attachment.
How to generate statistics.
1. Apply patch in attachment to clang sources.
2. Go to CompilerInstance::ExecuteAction, setup SwitchStatisticsFileName
value.
3. Compile clang.
4. Run test-suite.
5. After test-suite finished the statistics file is ready to use.
P.S.: Of course you may run *any* program with patched clang and look at
statistics then.
-Stepan.
-------------- next part --------------
A non-text attachment was scrubbed......
2012 Jul 20
0
[LLVMdev] Statistics for 'switch' instruction.
...size H-L+1 >= 8
>
> Spreadsheet (.xls file in .tgz) with statistics data and patch with
> harness that collects data are in attachment.
>
> How to generate statistics.
> 1. Apply patch in attachment to clang sources.
> 2. Go to CompilerInstance::ExecuteAction, setup
> SwitchStatisticsFileName value.
> 3. Compile clang.
> 4. Run test-suite.
> 5. After test-suite finished the statistics file is ready to use.
>
> P.S.: Of course you may run *any* program with patched clang and
> look at statistics then.
>
> -Stepan.