mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Add what will eventually be the TSFlags. Big switch(opcode) statements are bad.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d303a2058c
commit
7d7ac63366
@ -19,6 +19,18 @@
|
|||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
/// V8II - This namespace holds all of the target specific flags that
|
||||||
|
/// instruction info tracks.
|
||||||
|
///
|
||||||
|
namespace V8II {
|
||||||
|
enum {
|
||||||
|
Pseudo = (1<<0),
|
||||||
|
Load = (1<<1),
|
||||||
|
Store = (1<<2),
|
||||||
|
DelaySlot = (1<<3)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
class SparcV8InstrInfo : public TargetInstrInfo {
|
class SparcV8InstrInfo : public TargetInstrInfo {
|
||||||
const SparcV8RegisterInfo RI;
|
const SparcV8RegisterInfo RI;
|
||||||
public:
|
public:
|
||||||
|
@ -19,6 +19,18 @@
|
|||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
/// V8II - This namespace holds all of the target specific flags that
|
||||||
|
/// instruction info tracks.
|
||||||
|
///
|
||||||
|
namespace V8II {
|
||||||
|
enum {
|
||||||
|
Pseudo = (1<<0),
|
||||||
|
Load = (1<<1),
|
||||||
|
Store = (1<<2),
|
||||||
|
DelaySlot = (1<<3)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
class SparcV8InstrInfo : public TargetInstrInfo {
|
class SparcV8InstrInfo : public TargetInstrInfo {
|
||||||
const SparcV8RegisterInfo RI;
|
const SparcV8RegisterInfo RI;
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user