Home
last modified time | relevance | path

Searched refs:FunctionCounts (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/tools/llvm-prof/
Dllvm-prof.cpp158 std::vector<std::pair<Function*, double> > FunctionCounts; in runOnModule() local
163 FunctionCounts.push_back(std::make_pair(FI, w)); in runOnModule()
172 sort(FunctionCounts.begin(), FunctionCounts.end(), in runOnModule()
176 for (unsigned i = 0, e = FunctionCounts.size(); i != e; ++i) in runOnModule()
177 TotalExecutions += FunctionCounts[i].second; in runOnModule()
195 for (unsigned i = 0, e = FunctionCounts.size(); i != e; ++i) { in runOnModule()
196 if (FunctionCounts[i].second == 0) { in runOnModule()
203 << format("%5.2g", FunctionCounts[i].second) << "/" in runOnModule()
205 << FunctionCounts[i].first->getNameStr() << "\n"; in runOnModule()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DProfileInfoLoader.h33 std::vector<unsigned> FunctionCounts; variable
56 return FunctionCounts; in getRawFunctionCounts()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DProfileInfoLoader.cpp130 ReadProfilingBlock(ToolName, F, ShouldByteSwap, FunctionCounts); in ProfileInfoLoader()