Static Basic Block Execution Frequency Analysis?

Hi all,

Is there an analysis in LLVM that will give an estimate of the
execution frequency of basic blocks without using profiling data
from an execution of the code?

Thanks!
-bw

Nope, not really at this time. The register allocator uses a really coarse approximation: it gets LoopInfo, then assumes a look executes 10^loopdepth times.

-Chris