projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIR Serialization: Serialize the 'volatile' machine memory operand flag.
[oota-llvm.git]
/
lib
/
CodeGen
/
MIRParser
/
MILexer.h
diff --git
a/lib/CodeGen/MIRParser/MILexer.h
b/lib/CodeGen/MIRParser/MILexer.h
index d33e0499f27c31c353671f39d823edc3008c381e..ccf8ffe15e58cd808618ca9c9f25ae9c9a85c03f 100644
(file)
--- a/
lib/CodeGen/MIRParser/MILexer.h
+++ b/
lib/CodeGen/MIRParser/MILexer.h
@@
-61,6
+61,7
@@
struct MIToken {
kw_x86_fp80,
kw_fp128,
kw_ppc_fp128,
kw_x86_fp80,
kw_fp128,
kw_ppc_fp128,
+ kw_volatile,
// Identifier tokens
Identifier,
// Identifier tokens
Identifier,
@@
-115,6
+116,8
@@
public:
Kind == kw_dead || Kind == kw_killed || Kind == kw_undef;
}
Kind == kw_dead || Kind == kw_killed || Kind == kw_undef;
}
+ bool isMemoryOperandFlag() const { return Kind == kw_volatile; }
+
bool is(TokenKind K) const { return Kind == K; }
bool isNot(TokenKind K) const { return Kind != K; }
bool is(TokenKind K) const { return Kind == K; }
bool isNot(TokenKind K) const { return Kind != K; }