Add namespace specifier, add flags used by the X86 BE

llvm-svn: 7403
This commit is contained in:
Chris Lattner 2003-07-29 23:02:49 +00:00
parent 590fd82e42
commit 6a561beb35
1 changed files with 7 additions and 5 deletions

View File

@ -8,8 +8,8 @@
// Value types - These values correspond to the register types defined in the // Value types - These values correspond to the register types defined in the
// MRegsterInfo.h file. // ValueTypes.h file.
class ValueType {} class ValueType { string Namespace = "MVT"; }
def i1 : ValueType; // One bit boolean value def i1 : ValueType; // One bit boolean value
def i8 : ValueType; // 8-bit integer value def i8 : ValueType; // 8-bit integer value
def i16 : ValueType; // 16-bit integer value def i16 : ValueType; // 16-bit integer value
@ -35,7 +35,9 @@ class Instruction {
// These bits capture information about the high-level semantics of the // These bits capture information about the high-level semantics of the
// instruction. // instruction.
bit isReturn = 0; // Is this instruction a return instruction? bit isReturn = 0; // Is this instruction a return instruction?
bit isBranch = 0; // Is this instruction a branch instruction? bit isBranch = 0; // Is this instruction a branch instruction?
bit isCall = 0; // Is this instruction a call instruction? bit isCall = 0; // Is this instruction a call instruction?
bit isTwoAddress = 0; // Is this a two address instruction?
bit isTerminator = 0; // Is this part of the terminator for a basic block?
} }