search for: _all_combined_inst

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

2016 Mar 09
3
PGO question
Hi, I have a question regarding PGO. I collected profile data with the instrumentation build (-fprofile-instr-generate) and provided for PGO optimization in the second build (with -fprofile-instr-use=xxx.profdata). This works fine. Then I tried to provide the profile data to opt using the option -pgo-instr-use, but this causes an error with the message: "Not an IR level instrumentation
2016 Mar 22
3
Instrumented BB in PGO
...two compilations for profile-gen and profile-use for some cases. Here is an example from SPECcpu 2006 lbm (a simple case consisting of just two modules). In the first compilation, we have 5 instrumentation points for the main function as follows: $ opt -pgo-instr-gen -instrprof _all_combined.bc -o _all_combined_inst.bc -debug-only=pgo-instrumentation Dump Function main Hash: 61483163021 after CFGMST Number of Basic Blocks: 10 BB: FakeNode Index=0 BB: if.then Index=5 BB: for.body Index=4 BB: for.body.lr.ph Index=3 BB: entry Index=1 BB: for.inc Index=8 BB: if.then5 Index=7 BB: if.end...