class LLLexer

Declaration

class LLLexer { /* full declaration omitted */ };

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:28

Member Variables

private const char* CurPtr
private llvm::StringRef CurBuf
private llvm::SMDiagnostic& ErrorInfo
private llvm::SourceMgr& SM
private llvm::LLVMContext& Context
private const char* TokStart
private lltok::Kind CurKind
private std::string StrVal
private unsigned int UIntVal
private llvm::Type* TyVal = nullptr
private llvm::APFloat APFloatVal
private llvm::APSInt APSIntVal
private bool IgnoreColonInIdentifiers

Method Overview

Methods

bool Error(const llvm::Twine& Msg) const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:70

Parameters

const llvm::Twine& Msg

bool Error(llvm::LLLexer::LocTy ErrorLoc,
           const llvm::Twine& Msg) const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:69

Parameters

llvm::LLLexer::LocTy ErrorLoc
const llvm::Twine& Msg

void FP80HexToIntPair(const char* Buffer,
                      const char* End,
                      uint64_t* Pair)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:100

Parameters

const char* Buffer
const char* End
uint64_t* Pair

uint64_t HexIntToVal(const char* Buffer,
                     const char* End)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:98

Parameters

const char* Buffer
const char* End

void HexToIntPair(const char* Buffer,
                  const char* End,
                  uint64_t* Pair)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:99

Parameters

const char* Buffer
const char* End
uint64_t* Pair

LLLexer(llvm::StringRef StartBuf,
        llvm::SourceMgr& SM,
        llvm::SMDiagnostic&,
        llvm::LLVMContext& C)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:49

Parameters

llvm::StringRef StartBuf
llvm::SourceMgr& SM
llvm::SMDiagnostic&
llvm::LLVMContext& C

lltok::Kind Lex()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:52

lltok::Kind Lex0x()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:93

lltok::Kind LexAt()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:86

lltok::Kind LexCaret()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:95

lltok::Kind LexDigitOrNegative()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:84

lltok::Kind LexDollar()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:87

lltok::Kind LexExclaim()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:88

lltok::Kind LexHash()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:94

lltok::Kind LexIdentifier()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:83

lltok::Kind LexPercent()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:89

lltok::Kind LexPositive()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:85

lltok::Kind LexQuote()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:92

lltok::Kind LexToken()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:76

lltok::Kind LexUIntID(lltok::Kind Token)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:90

Parameters

lltok::Kind Token

lltok::Kind LexVar(lltok::Kind Var,
                   lltok::Kind VarID)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:91

Parameters

lltok::Kind Var
lltok::Kind VarID

lltok::Kind ReadString(lltok::Kind kind)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:80

Parameters

lltok::Kind kind

bool ReadVarName()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:81

void SkipLineComment()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:79

void Warning(const llvm::Twine& Msg) const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:73

Parameters

const llvm::Twine& Msg

void Warning(llvm::LLLexer::LocTy WarningLoc,
             const llvm::Twine& Msg) const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:72

Parameters

llvm::LLLexer::LocTy WarningLoc
const llvm::Twine& Msg

uint64_t atoull(const char* Buffer,
                const char* End)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:97

Parameters

const char* Buffer
const char* End

const llvm::APFloat& getAPFloatVal() const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:63

const llvm::APSInt& getAPSIntVal() const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:62

lltok::Kind getKind() const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:58

llvm::LLLexer::LocTy getLoc() const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:57

int getNextChar()

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:78

const std::string& getStrVal() const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:59

llvm::Type* getTyVal() const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:60

unsigned int getUIntVal() const

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:61

void setIgnoreColonInIdentifiers(bool val)

Declared at: llvm/include/llvm/AsmParser/LLLexer.h:65

Parameters

bool val