[LLVMdev] Questions about Static Profile Estimator

Mark Murphy mrkmurph at gmail.com
Thu Feb 5 09:51:00 PST 2015


I have been using ProfileEstimatorPass to provide some static ProfileInfo
information in order to do some optimizations, and I have a couple of
questions.

1. The estimator seems to be purely intra-procedural.  It starts new edge
and block weights at the beginning of every function.  Is there any existing
way to get this to produce a full program profile? 

2. I found the BranchProbabilityInfo file and saw that it has heuristics
that should produce a good static estimate.  Can BranchProbabilityInfo or
BlockFrequencyInfo be used to provide ProfileInfo data? 

Thanks for any help or guidance you can give me. 



--
View this message in context: http://llvm.1065342.n5.nabble.com/Questions-about-Static-Profile-Estimator-tp77459.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list