Searched refs:FreqPairs (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 586 std::vector<std::pair<unsigned, unsigned> > FreqPairs; // <freq,code> in AnalyzeBitcode() local 589 FreqPairs.push_back(std::make_pair(Freq, i)); in AnalyzeBitcode() 590 std::stable_sort(FreqPairs.begin(), FreqPairs.end()); in AnalyzeBitcode() 591 std::reverse(FreqPairs.begin(), FreqPairs.end()); in AnalyzeBitcode() 595 for (unsigned i = 0, e = FreqPairs.size(); i != e; ++i) { in AnalyzeBitcode() 596 const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second]; in AnalyzeBitcode() 608 GetCodeName(FreqPairs[i].second, I->first, StreamFile)) in AnalyzeBitcode() 611 fprintf(stderr, "UnknownCode%d\n", FreqPairs[i].second); in AnalyzeBitcode()
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 871 std::vector<std::pair<unsigned, unsigned> > FreqPairs; // <freq,code> in AnalyzeBitcode() local 874 FreqPairs.push_back(std::make_pair(Freq, i)); in AnalyzeBitcode() 875 std::stable_sort(FreqPairs.begin(), FreqPairs.end()); in AnalyzeBitcode() 876 std::reverse(FreqPairs.begin(), FreqPairs.end()); in AnalyzeBitcode() 880 for (unsigned i = 0, e = FreqPairs.size(); i != e; ++i) { in AnalyzeBitcode() 881 const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second]; in AnalyzeBitcode() 902 GetCodeName(FreqPairs[i].second, I->first, StreamFile, in AnalyzeBitcode() 906 outs() << "UnknownCode" << FreqPairs[i].second << "\n"; in AnalyzeBitcode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 948 std::vector<std::pair<unsigned, unsigned> > FreqPairs; // <freq,code> in AnalyzeBitcode() local 951 FreqPairs.push_back(std::make_pair(Freq, i)); in AnalyzeBitcode() 952 std::stable_sort(FreqPairs.begin(), FreqPairs.end()); in AnalyzeBitcode() 953 std::reverse(FreqPairs.begin(), FreqPairs.end()); in AnalyzeBitcode() 957 for (unsigned i = 0, e = FreqPairs.size(); i != e; ++i) { in AnalyzeBitcode() 958 const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second]; in AnalyzeBitcode() 978 if (const char *CodeName = GetCodeName(FreqPairs[i].second, I->first, in AnalyzeBitcode() 982 outs() << "UnknownCode" << FreqPairs[i].second << "\n"; in AnalyzeBitcode()
|