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
Chris Lattner
2006-Jun-18 22:57 UTC
[LLVMdev] Static Basic Block Execution Frequency Analysis?
On Sun, 18 Jun 2006, Bil wrote:> 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?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 -- http://nondot.org/sabre/ http://llvm.org/