diff --git a/include/llvm/Target/TargetOptInfo.h b/include/llvm/Target/TargetOptInfo.h new file mode 100644 index 00000000000..2d80bf1fe40 --- /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