2002-12-29 02:50:35 +00:00
|
|
|
//===-- llvm/Target/TargetOptInfo.h ------------------------------*- C++ -*-==//
|
2002-09-20 00:49:21 +00:00
|
|
|
//
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2002-12-29 02:50:35 +00:00
|
|
|
#ifndef LLVM_TARGET_TARGETOPTINFO_H
|
|
|
|
#define LLVM_TARGET_TARGETOPTINFO_H
|
2002-09-20 00:49:21 +00:00
|
|
|
|
|
|
|
#include "Support/DataTypes.h"
|
|
|
|
class TargetMachine;
|
|
|
|
|
2002-12-29 02:50:35 +00:00
|
|
|
struct TargetOptInfo : public NonCopyableV {
|
2002-09-20 00:49:21 +00:00
|
|
|
const TargetMachine ⌖
|
|
|
|
|
|
|
|
public:
|
2002-12-29 02:50:35 +00:00
|
|
|
TargetOptInfo(const TargetMachine& tgt): target(tgt) { }
|
2002-09-20 00:49:21 +00:00
|
|
|
|
|
|
|
virtual bool IsUselessCopy (const MachineInstr* MI) const = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|