Lines Matching refs:ProfileInfo
1 //===- ProfileInfo.cpp - Profile Info Interface ---------------------------===//
10 // This file implements the abstract ProfileInfo interface, and the default
15 #include "llvm/Analysis/ProfileInfo.h"
31 // Register the ProfileInfo interface, providing a nice name to refer to.
32 INITIALIZE_ANALYSIS_GROUP(ProfileInfo, "Profile Information", NoProfileInfo)
362 /// Splits an edge in the ProfileInfo and redirects flow over NewBB.
392 if (getExecutionCount(NewBB) == ProfileInfo::MissingValue) succ_count++;
492 static double readEdgeOrRemember(ProfileInfo::Edge edge, double w,
493 ProfileInfo::Edge &tocalc, unsigned &uncalc) {
494 if (w == ProfileInfo::MissingValue) {
572 static void readEdge(ProfileInfo *PI, ProfileInfo::Edge e, double &calcw, std::set<ProfileInfo::Edge> &misscount) {
574 if (w != ProfileInfo::MissingValue) {
1048 // NoProfile ProfileInfo implementation
1052 struct NoProfileInfo : public ImmutablePass, public ProfileInfo {
1063 ProfileInfo::ID)
1064 return (ProfileInfo*)this;
1076 INITIALIZE_AG_PASS(NoProfileInfo, ProfileInfo, "no-profile",