Home | History | Annotate | Download | only in Utils

Lines Matching refs:MCParser

18 #include <llvm/MC/MCParser/MCAsmLexer.h>
19 #include <llvm/MC/MCParser/MCAsmParser.h>
105 static bool expectAbsExpression(MCAsmParser &MCParser, int64_t &Value, raw_ostream& Err) {
107 if (MCParser.getLexer().isNot(AsmToken::Equal)) {
111 MCParser.getLexer().Lex();
113 if (MCParser.parseAbsoluteExpression(Value)) {
121 static bool parseField(amd_kernel_code_t &C, MCAsmParser &MCParser,
124 if (!expectAbsExpression(MCParser, Value, Err))
131 static bool parseBitField(amd_kernel_code_t &C, MCAsmParser &MCParser,
134 if (!expectAbsExpression(MCParser, Value, Err))
143 MCAsmParser &MCParser,
156 MCAsmParser &MCParser,
165 return Parser ? Parser(C, MCParser, Err) : false;