[BOLT][NFC] Use llvm::reverse
authorAmir Ayupov <aaupov@fb.com>
Wed, 4 Jan 2023 01:31:44 +0000 (17:31 -0800)
committerAmir Ayupov <aaupov@fb.com>
Wed, 4 Jan 2023 01:32:11 +0000 (17:32 -0800)
commitf40d25dd8d3ad7bcfa8f5e8f74f245ab1a7675df
tree0da96a6785f7e70e8fe9b2789fe53a76b533b5ad
parentbf4596bf5862c0a7092507463f6df9e80566a93d
[BOLT][NFC] Use llvm::reverse

Use llvm::reverse instead of `for (auto I = rbegin(), E = rend(); I != E; ++I)`

Reviewed By: #bolt, rafauler

Differential Revision: https://reviews.llvm.org/D140516
bolt/include/bolt/Passes/DataflowAnalysis.h
bolt/lib/Core/BinaryBasicBlock.cpp
bolt/lib/Core/BinaryFunction.cpp
bolt/lib/Core/DebugData.cpp
bolt/lib/Core/DynoStats.cpp
bolt/lib/Passes/AllocCombiner.cpp
bolt/lib/Passes/FrameOptimizer.cpp
bolt/lib/Passes/ShrinkWrapping.cpp
bolt/lib/Profile/DataReader.cpp
bolt/lib/Rewrite/BoltDiff.cpp