Home | History | Annotate | Download | only in Analysis

Lines Matching refs:ProfileEstimatorPass

1 //===- ProfileEstimatorPass.cpp - LLVM Pass to estimate profile info ------===//
33 class ProfileEstimatorPass : public FunctionPass, public ProfileInfo {
41 explicit ProfileEstimatorPass(const double execcount = 0)
75 char ProfileEstimatorPass::ID = 0;
76 INITIALIZE_AG_PASS_BEGIN(ProfileEstimatorPass, ProfileInfo, "profile-estimator",
79 INITIALIZE_AG_PASS_END(ProfileEstimatorPass, ProfileInfo, "profile-estimator",
83 char &ProfileEstimatorPassID = ProfileEstimatorPass::ID;
86 return new ProfileEstimatorPass();
92 return new ProfileEstimatorPass(execcount);
105 void inline ProfileEstimatorPass::printEdgeWeight(Edge E) {
119 void ProfileEstimatorPass::recurseBasicBlock(BasicBlock *BB) {
318 bool ProfileEstimatorPass::runOnFunction(Function &F) {