- Add new methods to LoopInfo: getLoopPreheader, addBasicBlockToLoop.
[oota-llvm.git] / include / llvm / Target / TargetOptInfo.h
1 //===-- llvm/Target/MachineOptInfo.h -----------------------------*- C++ -*-==//
2 //
3 //  Describes properties of the target cache architecture.
4 //
5 //===----------------------------------------------------------------------===//
6
7 #ifndef LLVM_TARGET_MACHINEOPTINFO_H
8 #define LLVM_TARGET_MACHINEOPTINFO_H
9
10 #include "Support/DataTypes.h"
11 class TargetMachine;
12
13 struct MachineOptInfo : public NonCopyableV {
14   const TargetMachine ⌖
15   
16 public:
17   MachineOptInfo(const TargetMachine& tgt): target(tgt) { }
18
19   virtual bool IsUselessCopy    (const MachineInstr* MI) const = 0;
20 };
21
22 #endif