summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/Analysis.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-10-19 06:12:02 +0000
committerFangrui Song <maskray@google.com>2018-10-19 06:12:02 +0000
commit2e83b2e9ee1afcfa9265df8fee60984d7bb55965 (patch)
tree5b9aa53a3014d1252779041abd559756bb6ed9e6 /llvm/tools/llvm-exegesis/lib/Analysis.cpp
parent903542009126e107299aa11d3ecf727010d44bc0 (diff)
downloadbcm5719-llvm-2e83b2e9ee1afcfa9265df8fee60984d7bb55965.tar.gz
bcm5719-llvm-2e83b2e9ee1afcfa9265df8fee60984d7bb55965.zip
Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC
llvm-svn: 344774
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Analysis.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/Analysis.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Analysis.cpp b/llvm/tools/llvm-exegesis/lib/Analysis.cpp
index eaacb5b1d65..73c54f53225 100644
--- a/llvm/tools/llvm-exegesis/lib/Analysis.cpp
+++ b/llvm/tools/llvm-exegesis/lib/Analysis.cpp
@@ -657,11 +657,11 @@ llvm::Error Analysis::run<Analysis::PrintSchedClassInconsistencies>(
// Print any scheduling class that has at least one cluster that does not
// match the checked-in data.
- if (std::all_of(SchedClassClusters.begin(), SchedClassClusters.end(),
- [this, &RSCAndPoints](const SchedClassCluster &C) {
- return C.measurementsMatch(*SubtargetInfo_,
- RSCAndPoints.RSC, Clustering_);
- }))
+ if (llvm::all_of(SchedClassClusters,
+ [this, &RSCAndPoints](const SchedClassCluster &C) {
+ return C.measurementsMatch(
+ *SubtargetInfo_, RSCAndPoints.RSC, Clustering_);
+ }))
continue; // Nothing weird.
OS << "<div class=\"inconsistency\"><p>Sched Class <span "
OpenPOWER on IntegriCloud