summaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/AArch64LegalizerInfo.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-10-14 22:18:18 +0000
committerTim Northover <tnorthover@apple.com>2016-10-14 22:18:18 +0000
commitee325b9e96fe1cbcc66ba62fdf65ac502577a23f (patch)
tree5efa678dee549f10d8781beb123843f72d7064a5 /lib/Target/AArch64/AArch64LegalizerInfo.h
parent6a2dc096c949c900fa0a35c9bed939b21cb3f6bc (diff)
GlobalISel: rename legalizer components to match others.
The previous names were both misleading (the MachineLegalizer actually contained the info tables) and inconsistent with the selector & translator (in having a "Machine") prefix. This should make everything sensible again. The only functional change is the name of a couple of command-line options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64LegalizerInfo.h')
-rw-r--r--lib/Target/AArch64/AArch64LegalizerInfo.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64LegalizerInfo.h b/lib/Target/AArch64/AArch64LegalizerInfo.h
new file mode 100644
index 00000000000..feacbef9f14
--- /dev/null
+++ b/lib/Target/AArch64/AArch64LegalizerInfo.h
@@ -0,0 +1,30 @@
+//===- AArch64LegalizerInfo --------------------------------------*- C++ -*-==//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+/// \file
+/// This file declares the targeting of the Machinelegalizer class for
+/// AArch64.
+/// \todo This should be generated by TableGen.
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64MACHINELEGALIZER_H
+#define LLVM_LIB_TARGET_AARCH64_AARCH64MACHINELEGALIZER_H
+
+#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
+
+namespace llvm {
+
+class LLVMContext;
+
+/// This class provides the information for the target register banks.
+class AArch64LegalizerInfo : public LegalizerInfo {
+public:
+ AArch64LegalizerInfo();
+};
+} // End llvm namespace.
+#endif