[LLVMdev] Static Basic Block Execution Frequency Analysis?
Chris Lattner
sabre at nondot.org
Sun Jun 18 15:57:26 PDT 2006
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/
More information about the llvm-dev
mailing list