13#ifndef LLVM_ASMPARSER_LLLEXER_H
14#define LLVM_ASMPARSER_LLLEXER_H
40 Type *TyVal =
nullptr;
46 bool IgnoreColonInIdentifiers =
false;
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]);
This file declares a class to represent arbitrary precision floating point values and provide a varie...
This file implements the APSInt class, which is a simple class that represents an arbitrary sized int...
An arbitrary precision integer that knows its signedness.
Base class for user error types.
Lightweight error class with error context and mandatory checking.
unsigned getUIntVal() const
lltok::Kind getKind() const
bool Error(const Twine &Msg) const
const std::string & getStrVal() const
void Warning(const Twine &Msg) const
const APSInt & getAPSIntVal() const
void setIgnoreColonInIdentifiers(bool val)
const APFloat & getAPFloatVal() const
This is an important class for using LLVM in a threaded context.
Instances of this class encapsulate one diagnostic report, allowing printing to a raw_ostream as a ca...
Represents a location in source code.
static SMLoc getFromPointer(const char *Ptr)
This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling.
StringRef - Represent a constant reference to a string, i.e.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
The instances of the Type class are immutable: once they are created, they are never changed.
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.