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