search for: emitbranchonboolexpr

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

2020 Jan 24
2
Adding support for LLVM Branch Condition Coverage
...tension to the existing infrastructure, so it would be enabled automatically as part of code coverage. Mapping of branch regions would be done in CoverageMappingGen and instrumented using the same profiling instrumentation mechanism under CodeGenPGO::mapRegionCounters() and around CodeGenFunction::EmitBranchOnBoolExpr() . In fact, as I mention below, we'd largely be reusing the same profiling counters (except in at least one exception case that I described in my email). The existing functionality of coverage and profiling would still work exactly as it has. Further, I can add a switch to llvm-cov to enabl...
2020 Jan 24
4
Adding support for LLVM Branch Condition Coverage
...ion-count" carat markers in the text display, but it could get messy. For the HTML output, we can get a bit more fancy. e. Branch miss percentages/totals will be added to the coverage report. Additional Notes - I'm aware that constant condition folding in CodeGenFunction::EmitBranchOnBoolExpr() needs to be taken into account. Is there anything else related to branch optimization that I ought to be aware of? Please let me know if these design thoughts look reasonable and if this would be useful. The goal is to start full implementation soon and upstream in a few months. Thanks!...