mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Interface to target-specific routines that support machine code optimization.
llvm-svn: 3844
This commit is contained in:
parent
47303cde2d
commit
8d0bcb9568
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