Lines Matching refs:Kind
123 TokenKind Kind;
130 MIToken() : Kind(Error) {} in MIToken()
132 MIToken &reset(TokenKind Kind, StringRef Range);
138 TokenKind kind() const { return Kind; } in kind()
140 bool isError() const { return Kind == Error; } in isError()
142 bool isNewlineOrEOF() const { return Kind == Newline || Kind == Eof; } in isNewlineOrEOF()
144 bool isErrorOrEOF() const { return Kind == Error || Kind == Eof; } in isErrorOrEOF()
147 return Kind == NamedRegister || Kind == underscore || in isRegister()
148 Kind == VirtualRegister; in isRegister()
152 return Kind == kw_implicit || Kind == kw_implicit_define || in isRegisterFlag()
153 Kind == kw_def || Kind == kw_dead || Kind == kw_killed || in isRegisterFlag()
154 Kind == kw_undef || Kind == kw_internal || in isRegisterFlag()
155 Kind == kw_early_clobber || Kind == kw_debug_use; in isRegisterFlag()
159 return Kind == kw_volatile || Kind == kw_non_temporal || in isMemoryOperandFlag()
160 Kind == kw_invariant; in isMemoryOperandFlag()
163 bool is(TokenKind K) const { return Kind == K; } in is()
165 bool isNot(TokenKind K) const { return Kind != K; } in isNot()
177 return Kind == IntegerLiteral || Kind == MachineBasicBlock || in hasIntegerValue()
178 Kind == MachineBasicBlockLabel || Kind == StackObject || in hasIntegerValue()
179 Kind == FixedStackObject || Kind == GlobalValue || in hasIntegerValue()
180 Kind == VirtualRegister || Kind == ConstantPoolItem || in hasIntegerValue()
181 Kind == JumpTableIndex || Kind == IRBlock || Kind == IRValue; in hasIntegerValue()