summaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.h')
-rw-r--r--llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.h b/llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.h
new file mode 100644
index 000000000000..6a5ac9023329
--- /dev/null
+++ b/llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.h
@@ -0,0 +1,27 @@
+//===-- R600MachineFunctionInfo.h - R600 Machine Function Info ----*- C++ -*-=//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+/// \file
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIB_TARGET_AMDGPU_R600MACHINEFUNCTIONINFO_H
+#define LLVM_LIB_TARGET_AMDGPU_R600MACHINEFUNCTIONINFO_H
+
+#include "AMDGPUMachineFunction.h"
+
+namespace llvm {
+
+class R600MachineFunctionInfo final : public AMDGPUMachineFunction {
+public:
+ R600MachineFunctionInfo(const MachineFunction &MF);
+ unsigned CFStackSize;
+};
+
+} // End llvm namespace
+
+#endif