mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-20 11:29:24 +00:00
making it harder to read. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6575 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
654 B
C++
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
|