14 #ifndef LLVM_LIB_TABLEGEN_TGLEXER_H 15 #define LLVM_LIB_TABLEGEN_TGLEXER_H 46 Bit,
Bits,
Class,
Code,
Dag,
Def,
Foreach,
Defm,
Field,
In,
Int,
Let,
List,
50 XConcat,
XADD,
XAND,
XOR,
XSRA,
XSRL,
XSHL,
XListConcat,
XStrConcat,
XCast,
51 XSubst,
XForEach,
XFoldl,
XHead,
XTail,
XSize,
XEmpty,
XIf,
XEq,
XIsA,
XDag,
76 std::string CurStrVal;
87 DependenciesMapTy Dependencies;
93 return CurCode = LexToken();
105 "This token doesn't have a string value");
114 "This token isn't a binary integer");
115 return std::make_pair(CurIntVal, (CurPtr - TokStart)-2);
118 SMLoc getLoc()
const;
127 int peekNextChar(
int Index);
128 void SkipBCPLComment();
Compute iterated dominance frontiers using a linear time algorithm.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
const std::string & getCurStrVal() const
This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling...
std::map< std::string, SMLoc > DependenciesMapTy
std::pair< int64_t, unsigned > getCurBinaryIntVal() const
tgtok::TokKind getCode() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
const DependenciesMapTy & getDependencies() const
int64_t getCurIntVal() const
StringRef - Represent a constant reference to a string, i.e.
Represents a location in source code.
TGLexer - TableGen Lexer class.