Home
last modified time | relevance | path

Searched refs:ProfileInfo (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DOptimalEdgeProfiling.cpp45 AU.addRequired<ProfileInfo>(); in getAnalysisUsage()
59 INITIALIZE_AG_DEPENDENCY(ProfileInfo) in INITIALIZE_PASS_DEPENDENCY()
68 inline static void printEdgeCounter(ProfileInfo::Edge e, in printEdgeCounter()
139 ProfileInfo::EdgeWeights ECs = in runOnModule()
140 getAnalysis<ProfileInfo>(*F).getEdgeWeights(F); in runOnModule()
141 std::vector<ProfileInfo::EdgeWeight> EdgeVector(ECs.begin(), ECs.end()); in runOnModule()
150 ProfileInfo::Edge edge = ProfileInfo::getEdge(0, entry); in runOnModule()
173 ProfileInfo::Edge edge = ProfileInfo::getEdge(BB, 0); in runOnModule()
184 ProfileInfo::Edge edge = ProfileInfo::getEdge(BB,Succ); in runOnModule()
/external/chromium/chrome/browser/profiles/
Dprofile_manager.h120 struct ProfileInfo { struct
121 ProfileInfo(Profile* profile, bool created) in ProfileInfo() argument
125 ~ProfileInfo() {} in ~ProfileInfo() argument
135 DISALLOW_COPY_AND_ASSIGN(ProfileInfo); argument
146 ProfileInfo* RegisterProfile(Profile* profile, bool created);
157 typedef std::map<FilePath, linked_ptr<ProfileInfo> > ProfilesInfoMap;
Dprofile_manager.cc229 ProfileInfo* info = iter->second.get(); in CreateProfileAsync()
239 ProfileInfo* info = in CreateProfileAsync()
277 ProfileManager::ProfileInfo* ProfileManager::RegisterProfile(Profile* profile, in RegisterProfile()
279 ProfileInfo* info = new ProfileInfo(profile, created); in RegisterProfile()
376 ProfileInfo* info = iter->second.get(); in OnProfileCreated()
/external/llvm/tools/llvm-prof/
Dllvm-prof.cpp72 if (w == ProfileInfo::MissingValue) return 0; in ignoreMissing()
78 ProfileInfo &PI;
80 ProfileAnnotator(ProfileInfo &pi) : PI(pi) {} in ProfileAnnotator()
85 if (w != ProfileInfo::MissingValue) { in emitFunctionAnnot()
93 if (w != ProfileInfo::MissingValue) { in emitBasicBlockStartAnnot()
105 std::vector<std::pair<ProfileInfo::Edge, double> > SuccCounts; in emitBasicBlockEndAnnot()
139 AU.addRequired<ProfileInfo>(); in getAnalysisUsage()
149 ProfileInfo &PI = getAnalysis<ProfileInfo>(); in runOnModule()
152 std::map<ProfileInfo::Edge, unsigned> EdgeFreqs; in runOnModule()
/external/llvm/lib/Transforms/Scalar/
DBasicBlockPlacement.cpp52 AU.addRequired<ProfileInfo>(); in getAnalysisUsage()
58 ProfileInfo *PI;
81 INITIALIZE_AG_DEPENDENCY(ProfileInfo) in INITIALIZE_AG_DEPENDENCY() argument
88 PI = &getAnalysis<ProfileInfo>(); in runOnFunction()
DCodeGenPrepare.cpp81 ProfileInfo *PFI;
110 AU.addPreserved<ProfileInfo>(); in getAnalysisUsage()
149 PFI = getAnalysisIfAvailable<ProfileInfo>(); in runOnFunction()
432 PFI->removeEdge(ProfileInfo::getEdge(BB, DestBB)); in EliminateMostlyEmptyBlock()
/external/llvm/lib/Analysis/
DProfileInfoLoaderPass.cpp40 class LoaderPass : public ModulePass, public ProfileInfo {
65 virtual void readEdge(ProfileInfo::Edge, std::vector<unsigned>&);
72 if (PI == &ProfileInfo::ID) in getAdjustedAnalysisPointer()
73 return (ProfileInfo*)this; in getAdjustedAnalysisPointer()
83 INITIALIZE_AG_PASS(LoaderPass, ProfileInfo, "profile-loader",
132 void LoaderPass::readEdge(ProfileInfo::Edge e, in readEdge()
DProfileEstimatorPass.cpp33 class ProfileEstimatorPass : public FunctionPass, public ProfileInfo {
64 if (PI == &ProfileInfo::ID) in getAdjustedAnalysisPointer()
65 return (ProfileInfo*)this; in getAdjustedAnalysisPointer()
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; in ignoreMissing()
101 static void inline printEdgeError(ProfileInfo::Edge e, const char *M) { in printEdgeError()
DProfileInfo.cpp32 INITIALIZE_ANALYSIS_GROUP(ProfileInfo, "Profile Information", NoProfileInfo)
392 if (getExecutionCount(NewBB) == ProfileInfo::MissingValue) succ_count++; in splitEdge()
492 static double readEdgeOrRemember(ProfileInfo::Edge edge, double w, in readEdgeOrRemember()
493 ProfileInfo::Edge &tocalc, unsigned &uncalc) { in readEdgeOrRemember()
494 if (w == ProfileInfo::MissingValue) { in readEdgeOrRemember()
572 static void readEdge(ProfileInfo *PI, ProfileInfo::Edge e, double &calcw, std::set<ProfileInfo::Edg… in readEdge()
574 if (w != ProfileInfo::MissingValue) { in readEdge()
1052 struct NoProfileInfo : public ImmutablePass, public ProfileInfo {
1063 if (PI == &ProfileInfo::ID) in getAdjustedAnalysisPointer()
1064 return (ProfileInfo*)this; in getAdjustedAnalysisPointer()
[all …]
DCMakeLists.txt43 ProfileInfo.cpp
DAndroid.mk47 ProfileInfo.cpp \
DProfileVerifierPass.cpp373 INITIALIZE_AG_DEPENDENCY(ProfileInfo)
/external/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp53 AU.addPreserved<ProfileInfo>(); in getAnalysisUsage()
90 ProfileInfo *PI = getAnalysisIfAvailable<ProfileInfo>(); in runOnFunction()
/external/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp47 AU.addPreserved<ProfileInfo>(); in getAnalysisUsage()
248 ProfileInfo *PI = P->getAnalysisIfAvailable<ProfileInfo>(); in SplitCriticalEdge()
DLocal.cpp483 ProfileInfo *PI = P->getAnalysisIfAvailable<ProfileInfo>(); in MergeBasicBlockIntoOnlyPred()
486 PI->removeEdge(ProfileInfo::getEdge(PredBB, DestBB)); in MergeBasicBlockIntoOnlyPred()
/external/llvm/include/llvm/Analysis/
DProfileInfo.h237 typedef ProfileInfoT<Function, BasicBlock> ProfileInfo; typedef