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