HomeSort by relevance Sort by last modified time
    Searched refs:ProfileInfo (Results 1 - 17 of 17) sorted by null

  /external/chromium/chrome/browser/profiles/
profile_manager.h 120 struct ProfileInfo {
121 ProfileInfo(Profile* profile, bool created)
125 ~ProfileInfo() {}
135 DISALLOW_COPY_AND_ASSIGN(ProfileInfo);
144 // Registers profile with given info. Returns pointer to created ProfileInfo
146 ProfileInfo* RegisterProfile(Profile* profile, bool created);
155 // Maps profile path to ProfileInfo (if profile has been created). Use
157 typedef std::map<FilePath, linked_ptr<ProfileInfo> > ProfilesInfoMap;
profile_manager.cc 229 ProfileInfo* info = iter->second.get();
239 ProfileInfo* info =
277 ProfileManager::ProfileInfo* ProfileManager::RegisterProfile(Profile* profile,
279 ProfileInfo* info = new ProfileInfo(profile, created);
376 ProfileInfo* info = iter->second.get();
  /external/llvm/lib/Transforms/Scalar/
BasicBlockPlacement.cpp 32 #include "llvm/Analysis/ProfileInfo.h"
52 AU.addRequired<ProfileInfo>();
53 //AU.addPreserved<ProfileInfo>(); // Does this work?
58 ProfileInfo *PI;
81 INITIALIZE_AG_DEPENDENCY(ProfileInfo)
88 PI = &getAnalysis<ProfileInfo>();
CodeGenPrepare.cpp 25 #include "llvm/Analysis/ProfileInfo.h"
83 ProfileInfo *PFI;
114 AU.addPreserved<ProfileInfo>();
154 PFI = getAnalysisIfAvailable<ProfileInfo>();
447 PFI->removeEdge(ProfileInfo::getEdge(BB, DestBB));
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
OptimalEdgeProfiling.cpp 22 #include "llvm/Analysis/ProfileInfo.h"
45 AU.addRequired<ProfileInfo>();
59 INITIALIZE_AG_DEPENDENCY(ProfileInfo)
68 inline static void printEdgeCounter(ProfileInfo::Edge e,
139 ProfileInfo::EdgeWeights ECs =
140 getAnalysis<ProfileInfo>(*F).getEdgeWeights(F);
141 std::vector<ProfileInfo::EdgeWeight> EdgeVector(ECs.begin(), ECs.end());
150 ProfileInfo::Edge edge = ProfileInfo::getEdge(0, entry);
173 ProfileInfo::Edge edge = ProfileInfo::getEdge(BB, 0)
    [all...]
  /external/llvm/tools/llvm-prof/
llvm-prof.cpp 18 #include "llvm/Analysis/ProfileInfo.h"
72 if (w == ProfileInfo::MissingValue) return 0;
78 ProfileInfo &PI;
80 ProfileAnnotator(ProfileInfo &pi) : PI(pi) {}
85 if (w != ProfileInfo::MissingValue) {
93 if (w != ProfileInfo::MissingValue) {
105 std::vector<std::pair<ProfileInfo::Edge, double> > SuccCounts;
139 AU.addRequired<ProfileInfo>();
149 ProfileInfo &PI = getAnalysis<ProfileInfo>();
    [all...]
  /external/chromium_org/chrome/browser/profiles/
profile_manager.h 234 struct ProfileInfo {
235 ProfileInfo(Profile* profile, bool created);
237 ~ProfileInfo();
249 DISALLOW_COPY_AND_ASSIGN(ProfileInfo);
261 // Registers profile with given info. Returns pointer to created ProfileInfo
263 ProfileInfo* RegisterProfile(Profile* profile, bool created);
265 // Returns ProfileInfo associated with given |path|, registred earlier with
267 ProfileInfo* GetProfileInfoByPath(const base::FilePath& path) const;
319 // Maps profile path to ProfileInfo (if profile has been created). Use
322 typedef std::map<base::FilePath, linked_ptr<ProfileInfo> > ProfilesInfoMap
    [all...]
profile_manager.cc 422 ProfileInfo* profile_info = GetProfileInfoByPath(default_profile_dir);
488 // Create the profile if needed and collect its ProfileInfo.
490 ProfileInfo* info = NULL;
562 ProfileManager::ProfileInfo* ProfileManager::RegisterProfile(
565 ProfileInfo* info = new ProfileInfo(profile, created);
567 std::make_pair(profile->GetPath(), linked_ptr<ProfileInfo>(info)));
571 ProfileManager::ProfileInfo* ProfileManager::GetProfileInfoByPath(
578 ProfileInfo* profile_info = GetProfileInfoByPath(path);
790 ProfileInfo* info = iter->second.get()
    [all...]
  /external/llvm/lib/Analysis/
ProfileInfoLoaderPass.cpp 18 #include "llvm/Analysis/ProfileInfo.h"
40 class LoaderPass : public ModulePass, public ProfileInfo {
65 virtual void readEdge(ProfileInfo::Edge, std::vector<unsigned>&);
72 if (PI == &ProfileInfo::ID)
73 return (ProfileInfo*)this;
83 INITIALIZE_AG_PASS(LoaderPass, ProfileInfo, "profile-loader",
132 void LoaderPass::readEdge(ProfileInfo::Edge e,
138 // double of the ProfileInfo. This conversion is save because we know
236 // double of the ProfileInfo. This conversion is save because we know
255 // double of the ProfileInfo. This conversion is save because we kno
    [all...]
ProfileEstimatorPass.cpp 17 #include "llvm/Analysis/ProfileInfo.h"
33 class ProfileEstimatorPass : public FunctionPass, public ProfileInfo {
64 if (PI == &ProfileInfo::ID)
65 return (ProfileInfo*)this;
76 INITIALIZE_AG_PASS_BEGIN(ProfileEstimatorPass, ProfileInfo, "profile-estimator",
79 INITIALIZE_AG_PASS_END(ProfileEstimatorPass, ProfileInfo, "profile-estimator",
97 if (w == ProfileInfo::MissingValue) return 0;
101 static void inline printEdgeError(ProfileInfo::Edge e, const char *M) {
110 // recurseBasicBlock() - This calculates the ProfileInfo estimation for a
321 // Fetch LoopInfo and clear ProfileInfo for this function
    [all...]
Android.mk 47 ProfileInfo.cpp \
ProfileInfo.cpp 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)
    [all...]
ProfileVerifierPass.cpp 16 #include "llvm/Analysis/ProfileInfo.h"
352 ASSERTMESSAGE("No ProfileInfo available");
374 INITIALIZE_AG_DEPENDENCY(ProfileInfo)
  /external/llvm/lib/CodeGen/
UnreachableBlockElim.cpp 27 #include "llvm/Analysis/ProfileInfo.h"
53 AU.addPreserved<ProfileInfo>();
90 ProfileInfo *PI = getAnalysisIfAvailable<ProfileInfo>();
  /external/llvm/lib/Transforms/Utils/
BreakCriticalEdges.cpp 25 #include "llvm/Analysis/ProfileInfo.h"
48 AU.addPreserved<ProfileInfo>();
216 ProfileInfo *PI = P->getAnalysisIfAvailable<ProfileInfo>();
372 // Update ProfileInfo if it is around.
Local.cpp 22 #include "llvm/Analysis/ProfileInfo.h"
518 ProfileInfo *PI = P->getAnalysisIfAvailable<ProfileInfo>();
521 PI->removeEdge(ProfileInfo::getEdge(PredBB, DestBB));
    [all...]
  /external/llvm/include/llvm/Analysis/
ProfileInfo.h 1 //===- llvm/Analysis/ProfileInfo.h - Profile Info Interface -----*- C++ -*-===//
10 // This file defines the generic ProfileInfo interface, which is used as the
16 // ProfileInfo, which requires that they notify it when changes to the CFG are
52 /// ProfileInfo Class - This class holds and maintains profiling
93 llvm_unreachable("Invalid ProfileInfo::Edge");
172 dbgs() << "**** This is ProfileInfo " << this << " speaking:\n";
219 dbgs() << "**** ProfileInfo " << this << ", over and out.\n";
237 typedef ProfileInfoT<Function, BasicBlock> ProfileInfo;

Completed in 361 milliseconds