mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Interface to target-specific routines that support machine code optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8b57ef260
commit
2542d9a183
22
include/llvm/Target/TargetOptInfo.h
Normal file
22
include/llvm/Target/TargetOptInfo.h
Normal file
@ -0,0 +1,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
|
Loading…
Reference in New Issue
Block a user