aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetOptInfo.h
blob: 2d80bf1fe40acc02026be21f2439dadcba132135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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