Searched defs:MIToken (Results 1 – 2 of 2) sorted by relevance
28 struct MIToken { struct29 enum TokenKind {133 MIToken() : Kind(Error) {} in MIToken() argument141 TokenKind kind() const { return Kind; } in kind()143 bool isError() const { return Kind == Error; } in isError()145 bool isNewlineOrEOF() const { return Kind == Newline || Kind == Eof; } in isNewlineOrEOF()147 bool isErrorOrEOF() const { return Kind == Error || Kind == Eof; } in isErrorOrEOF()149 bool isRegister() const { in isRegister()154 bool isRegisterFlag() const { in isRegisterFlag()161 bool isMemoryOperandFlag() const { in isMemoryOperandFlag()[all …]
28 struct MIToken { struct29 enum TokenKind {160 MIToken() = default; argument168 TokenKind kind() const { return Kind; } in kind()170 bool isError() const { return Kind == Error; } in isError()172 bool isNewlineOrEOF() const { return Kind == Newline || Kind == Eof; } in isNewlineOrEOF()174 bool isErrorOrEOF() const { return Kind == Error || Kind == Eof; } in isErrorOrEOF()176 bool isRegister() const { in isRegister()181 bool isRegisterFlag() const { in isRegisterFlag()189 bool isMemoryOperandFlag() const { in isMemoryOperandFlag()[all …]