summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-08-06 11:13:10 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-08-06 11:13:10 +0000
commitb7d3311c77f5785ebf6e4749a7ad1ec00381570e (patch)
treee482263f25969ba10beedebe2eae61c2023f0c9d /llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
parent70c93fa69a755472e9ddd83afe3513729c353eb5 (diff)
downloadbcm5719-llvm-b7d3311c77f5785ebf6e4749a7ad1ec00381570e.tar.gz
bcm5719-llvm-b7d3311c77f5785ebf6e4749a7ad1ec00381570e.zip
Move helpers into anonymous namespaces. NFC.
llvm-svn: 277916
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp b/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
index 89f0a1c4dcb..9ff9d93ea0c 100644
--- a/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
@@ -51,6 +51,7 @@ using namespace llvm;
#define DEBUG_TYPE "misched"
+namespace {
class HexagonCallMutation : public ScheduleDAGMutation {
public:
void apply(ScheduleDAGInstrs *DAG) override;
@@ -58,6 +59,7 @@ private:
bool shouldTFRICallBind(const HexagonInstrInfo &HII,
const SUnit &Inst1, const SUnit &Inst2) const;
};
+} // end anonymous namespace
// Check if a call and subsequent A2_tfrpi instructions should maintain
// scheduling affinity. We are looking for the TFRI to be consumed in
OpenPOWER on IntegriCloud