Go to the documentation of this file.
13 #ifndef LLVM_ASMPARSER_LLLEXER_H
14 #define LLVM_ASMPARSER_LLLEXER_H
40 Type *TyVal =
nullptr;
46 bool IgnoreColonInIdentifiers;
53 return CurKind = LexToken();
59 const std::string &
getStrVal()
const {
return StrVal; }
66 IgnoreColonInIdentifiers =
val;
79 void SkipLineComment();
97 uint64_t atoull(
const char *Buffer,
const char *End);
98 uint64_t HexIntToVal(
const char *Buffer,
const char *End);
99 void HexToIntPair(
const char *Buffer,
const char *End,
uint64_t Pair[2]);
100 void FP80HexToIntPair(
const char *Buffer,
const char *End,
uint64_t Pair[2]);
LLLexer(StringRef StartBuf, SourceMgr &SM, SMDiagnostic &, LLVMContext &C)
This is an optimization pass for GlobalISel generic memory operations.
bool Error(LocTy ErrorLoc, const Twine &Msg) const
The instances of the Type class are immutable: once they are created, they are never changed.
void setIgnoreColonInIdentifiers(bool val)
const std::string & getStrVal() const
lltok::Kind getKind() const
Represents a location in source code.
(vector float) vec_cmpeq(*A, *B) C
Instances of this class encapsulate one diagnostic report, allowing printing to a raw_ostream as a ca...
const APSInt & getAPSIntVal() const
An arbitrary precision integer that knows its signedness.
unsigned getUIntVal() const
The initial backend is deliberately restricted to z10 We should add support for later architectures at some point If an asm ties an i32 r result to an i64 the input will be treated as an leaving the upper bits uninitialised For i64 store i32 val
This is an important class for using LLVM in a threaded context.
bool Error(const Twine &Msg) const
void Warning(LocTy WarningLoc, const Twine &Msg) const
Base class for user error types.
const APFloat & getAPFloatVal() const
StringRef - Represent a constant reference to a string, i.e.
This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling.
const CustomOperand< const MCSubtargetInfo & > Msg[]
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
void Warning(const Twine &Msg) const
static SMLoc getFromPointer(const char *Ptr)