14#ifndef LLVM_LIB_CODEGEN_MIRPARSER_MILEXER_H
15#define LLVM_LIB_CODEGEN_MIRPARSER_MILEXER_H
190 std::string StringValueStorage;
This file implements the APSInt class, which is a simple class that represents an arbitrary sized int...
ConstantRange Range(APInt(BitWidth, Low), APInt(BitWidth, High))
An arbitrary precision integer that knows its signedness.
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
An efficient, type-erasing, non-owning reference to a callable.
This is an optimization pass for GlobalISel generic memory operations.
StringRef lexMIToken(StringRef Source, MIToken &Token, function_ref< void(StringRef::iterator, const Twine &)> ErrorCallback)
Consume a single machine instruction token in the given source and return the remaining source string...
A token produced by the machine instruction lexer.
bool isRegisterFlag() const
MIToken & setStringValue(StringRef StrVal)
bool isNewlineOrEOF() const
bool hasIntegerValue() const
bool isNot(TokenKind K) const
bool is(TokenKind K) const
bool isMemoryOperandFlag() const
StringRef stringValue() const
Return the token's string value.
@ kw_cfi_aarch64_negate_ra_sign_state
@ kw_cfi_llvm_def_aspace_cfa
@ kw_inlineasm_br_indirect_target
@ kw_cfi_def_cfa_register
@ kw_cfi_adjust_cfa_offset
@ kw_machine_block_address_taken
@ kw_ir_block_address_taken
MIToken & setIntegerValue(APSInt IntVal)
bool isErrorOrEOF() const
MIToken & reset(TokenKind Kind, StringRef Range)
MIToken & setOwnedStringValue(std::string StrVal)
StringRef::iterator location() const
const APSInt & integerValue() const