llvm-6502/include/llvm/Target/TargetOptInfo.h
2003-06-03 15:28:40 +00:00

25 lines
654 B
C++

//===-- llvm/Target/TargetOptInfo.h ------------------------------*- C++ -*-==//
//
// FIXME: ADD A COMMENT DESCRIBING THIS FILE!
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_TARGET_TARGETOPTINFO_H
#define LLVM_TARGET_TARGETOPTINFO_H
class MachineInstr;
class TargetMachine;
struct TargetOptInfo {
const TargetMachine ⌖
TargetOptInfo(const TargetOptInfo &); // DO NOT IMPLEMENT
void operator=(const TargetOptInfo &); // DO NOT IMPLEMENT
public:
TargetOptInfo(const TargetMachine &TM) : target(TM) { }
virtual bool IsUselessCopy(const MachineInstr* MI) const = 0;
};
#endif