mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
23 lines
584 B
C
23 lines
584 B
C
|
//===-- 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
|