forked from OSchip/llvm-project
Export well known instruction opcodes usable by target independant passes
llvm-svn: 5063
This commit is contained in:
parent
432447fed1
commit
050d0ce094
|
@ -86,6 +86,12 @@ public:
|
|||
unsigned numRealOpCodes);
|
||||
virtual ~MachineInstrInfo();
|
||||
|
||||
// Invariant: All instruction sets use opcode #0 as the PHI instruction and
|
||||
// opcode #1 as the noop instruction.
|
||||
enum {
|
||||
PHI = 0, NOOP = 1
|
||||
};
|
||||
|
||||
unsigned getNumRealOpCodes() const { return numRealOpCodes; }
|
||||
unsigned getNumTotalOpCodes() const { return descSize; }
|
||||
|
||||
|
|
|
@ -86,6 +86,12 @@ public:
|
|||
unsigned numRealOpCodes);
|
||||
virtual ~MachineInstrInfo();
|
||||
|
||||
// Invariant: All instruction sets use opcode #0 as the PHI instruction and
|
||||
// opcode #1 as the noop instruction.
|
||||
enum {
|
||||
PHI = 0, NOOP = 1
|
||||
};
|
||||
|
||||
unsigned getNumRealOpCodes() const { return numRealOpCodes; }
|
||||
unsigned getNumTotalOpCodes() const { return descSize; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue