aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetOptInfo.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptInfo.h b/include/llvm/Target/TargetOptInfo.h
new file mode 100644
index 0000000000..2d80bf1fe4
--- /dev/null
+++ b/include/llvm/Target/TargetOptInfo.h
@@ -0,0 +1,22 @@
+//===-- llvm/Target/MachineOptInfo.h -----------------------------*- C++ -*-==//
+//
+// Describes properties of the target cache architecture.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TARGET_MACHINEOPTINFO_H
+#define LLVM_TARGET_MACHINEOPTINFO_H
+
+#include "Support/DataTypes.h"
+class TargetMachine;
+
+struct MachineOptInfo : public NonCopyableV {
+ const TargetMachine ⌖
+
+public:
+ MachineOptInfo(const TargetMachine& tgt): target(tgt) { }
+
+ virtual bool IsUselessCopy (const MachineInstr* MI) const = 0;
+};
+
+#endif