HomeSort by relevance Sort by last modified time
    Searched refs:AsmToken (Results 1 - 19 of 19) sorted by null

  /external/llvm/lib/MC/MCParser/
AsmLexer.cpp 45 /// location. This is defined to always return AsmToken::Error.
46 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) {
49 return AsmToken(AsmToken::Error, StringRef(Loc, 0));
74 AsmToken AsmLexer::LexFloatLiteral() {
90 return AsmToken(AsmToken::Real,
98 AsmToken AsmLexer::LexIdentifier() {
113 return AsmToken(AsmToken::Dot, StringRef(TokStart, 1))
    [all...]
MCAsmLexer.cpp 15 MCAsmLexer::MCAsmLexer() : CurTok(AsmToken::Error, StringRef()),
26 SMLoc AsmToken::getLoc() const {
30 SMLoc AsmToken::getEndLoc() const {
AsmParser.cpp 55 typedef std::vector<AsmToken> MCAsmMacroArgument;
218 virtual const AsmToken &Lex();
289 /// is initially unknown, set it to AsmToken::Eof. It will be set to the
292 AsmToken::TokenKind &ArgumentDelimiter);
581 const AsmToken &AsmParser::Lex() {
582 const AsmToken *tok = &Lexer.Lex();
584 if (tok->is(AsmToken::Eof)) {
594 if (tok->is(AsmToken::Error))
624 while (Lexer.isNot(AsmToken::Eof)) {
687 while (Lexer.isNot(AsmToken::EndOfStatement) &
    [all...]
ELFAsmParser.cpp 171 if (getLexer().isNot(AsmToken::EndOfStatement)) {
182 if (getLexer().is(AsmToken::EndOfStatement))
185 if (getLexer().isNot(AsmToken::Comma))
198 if (getLexer().isNot(AsmToken::EndOfStatement)) {
216 if (getLexer().isNot(AsmToken::Comma))
224 if (getLexer().isNot(AsmToken::EndOfStatement))
237 if (getLexer().is(AsmToken::String)) {
248 if (getLexer().is(AsmToken::Minus)) {
251 } else if (getLexer().is(AsmToken::String)) {
254 } else if (getLexer().is(AsmToken::Identifier))
    [all...]
COFFAsmParser.cpp 260 if (getLexer().isNot(AsmToken::EndOfStatement)) {
271 if (getLexer().is(AsmToken::EndOfStatement))
274 if (getLexer().isNot(AsmToken::Comma))
287 if (getLexer().isNot(AsmToken::EndOfStatement))
298 if (!getLexer().is(AsmToken::Identifier))
330 if (getLexer().is(AsmToken::Comma)) {
333 if (getLexer().isNot(AsmToken::String))
343 if (getLexer().isNot(AsmToken::EndOfStatement))
370 if (getLexer().isNot(AsmToken::EndOfStatement))
383 if (getLexer().isNot(AsmToken::EndOfStatement)
    [all...]
DarwinAsmParser.cpp 364 if (getLexer().isNot(AsmToken::EndOfStatement))
399 if (getLexer().isNot(AsmToken::Comma))
407 if (getLexer().isNot(AsmToken::EndOfStatement))
423 if (getLexer().isNot(AsmToken::String))
428 if (getLexer().isNot(AsmToken::EndOfStatement))
446 if (getLexer().isNot(AsmToken::String))
456 if (getLexer().is(AsmToken::EndOfStatement))
459 if (getLexer().isNot(AsmToken::Comma))
478 if (getLexer().isNot(AsmToken::Comma))
486 if (getLexer().isNot(AsmToken::EndOfStatement)
    [all...]
MCAsmParser.cpp 32 const AsmToken &MCAsmParser::getTok() {
  /external/llvm/include/llvm/MC/MCParser/
AsmLexer.h 39 virtual AsmToken LexToken();
57 AsmToken ReturnError(const char *Loc, const std::string &Msg);
59 AsmToken LexIdentifier();
60 AsmToken LexSlash();
61 AsmToken LexLineComment();
62 AsmToken LexDigit();
63 AsmToken LexSingleQuote();
64 AsmToken LexQuote();
65 AsmToken LexFloatLiteral();
MCAsmLexer.h 20 /// AsmToken - Target independent representation for an assembler token.
21 class AsmToken {
63 AsmToken() {}
64 AsmToken(TokenKind _Kind, StringRef _Str, int64_t _IntVal = 0)
110 AsmToken CurTok;
124 virtual AsmToken LexToken() = 0;
138 const AsmToken &Lex() {
148 const AsmToken &getTok() {
163 AsmToken::TokenKind getKind() const { return CurTok.getKind(); }
166 bool is(AsmToken::TokenKind K) const { return CurTok.is(K);
    [all...]
MCAsmParserExtension.h 69 const AsmToken &Lex() { return getParser().Lex(); }
71 const AsmToken &getTok() { return getParser().getTok(); }
MCAsmParser.h 134 /// Lex - Get the next AsmToken in the stream, possibly handling file
136 virtual const AsmToken &Lex() = 0;
138 /// getTok - Get the current AsmToken from the stream.
139 const AsmToken &getTok();
  /external/llvm/tools/llvm-mc/
llvm-mc.cpp 248 while (Lexer.Lex().isNot(AsmToken::Eof)) {
249 AsmToken Tok = Lexer.getTok();
257 case AsmToken::Error:
260 case AsmToken::Identifier:
263 case AsmToken::Integer:
266 case AsmToken::Real:
269 case AsmToken::String:
273 case AsmToken::Amp: Out->os() << "Amp"; break;
274 case AsmToken::AmpAmp: Out->os() << "AmpAmp"; break;
275 case AsmToken::At: Out->os() << "At"; break
    [all...]
  /external/llvm/lib/Target/Mips/AsmParser/
MipsAsmParser.cpp 81 bool ParseDirective(AsmToken DirectiveID);
909 const AsmToken &Tok = Parser.getTok();
912 if (Tok.is(AsmToken::Identifier)) {
915 } else if (Tok.is(AsmToken::Integer))
954 case AsmToken::Dollar: {
960 if (getLexer().is(AsmToken::LParen)) {
964 if (getLexer().isNot(AsmToken::Dollar))
971 if (!getLexer().is(AsmToken::RParen))
996 case AsmToken::Identifier:
1002 case AsmToken::LParen
    [all...]
  /external/llvm/lib/Target/X86/AsmParser/
X86AsmParser.cpp 570 virtual bool ParseDirective(AsmToken DirectiveID);
1032 const AsmToken &PercentTok = Parser.getTok();
1037 if (!isParsingIntelSyntax() && PercentTok.is(AsmToken::Percent))
1040 const AsmToken &Tok = Parser.getTok();
1043 if (Tok.isNot(AsmToken::Identifier)) {
    [all...]
  /external/llvm/include/llvm/MC/
MCTargetAsmParser.h 19 class AsmToken;
142 virtual bool ParseDirective(AsmToken DirectiveID) = 0;
  /external/llvm/lib/Target/AArch64/AsmParser/
AArch64AsmParser.cpp 71 bool ParseDirective(AsmToken DirectiveID);
    [all...]
  /external/llvm/lib/Target/PowerPC/AsmParser/
PPCAsmParser.cpp 187 bool MatchRegisterName(const AsmToken &Tok,
235 virtual bool ParseDirective(AsmToken DirectiveID);
887 MatchRegisterName(const AsmToken &Tok, unsigned &RegNo, int64_t &IntVal) {
888 if (Tok.is(AsmToken::Identifier)) {
927 const AsmToken &Tok = Parser.getTok();
    [all...]
  /external/llvm/lib/Target/ARM/AsmParser/
ARMAsmParser.cpp 271 bool ParseDirective(AsmToken DirectiveID);
    [all...]
  /external/llvm/lib/Target/SystemZ/AsmParser/
SystemZAsmParser.cpp 339 virtual bool ParseDirective(AsmToken DirectiveID) LLVM_OVERRIDE;
435 if (Parser.getTok().isNot(AsmToken::Percent))
440 if (Parser.getTok().isNot(AsmToken::Identifier))
492 if (Parser.getTok().isNot(AsmToken::Percent))
520 if (getLexer().is(AsmToken::LParen)) {
523 if (getLexer().is(AsmToken::Percent)) {
528 if (getLexer().is(AsmToken::Comma))
539 if (getLexer().is(AsmToken::Comma)) {
548 if (getLexer().isNot(AsmToken::RParen))
593 bool SystemZAsmParser::ParseDirective(AsmToken DirectiveID)
    [all...]

Completed in 247 milliseconds