Home
last modified time | relevance | path

Searched refs:getParser (Results 1 – 25 of 120) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h56 MCContext &getContext() { return getParser().getContext(); } in getContext()
58 MCAsmLexer &getLexer() { return getParser().getLexer(); } in getLexer()
63 MCAsmParser &getParser() { return *Parser; } in getParser() function
64 const MCAsmParser &getParser() const { in getParser() function
65 return const_cast<MCAsmParserExtension*>(this)->getParser(); in getParser()
68 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager()
69 MCStreamer &getStreamer() { return getParser().getStreamer(); } in getStreamer()
72 return getParser().Warning(L, Msg); in Warning()
76 return getParser().Error(L, Msg, Range);
80 getParser().Note(L, Msg); in Note()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h54 MCContext &getContext() { return getParser().getContext(); } in getContext()
56 MCAsmLexer &getLexer() { return getParser().getLexer(); } in getLexer()
61 MCAsmParser &getParser() { return *Parser; } in getParser() function
62 const MCAsmParser &getParser() const { in getParser() function
63 return const_cast<MCAsmParserExtension*>(this)->getParser(); in getParser()
66 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager()
67 MCStreamer &getStreamer() { return getParser().getStreamer(); } in getStreamer()
69 return getParser().Warning(L, Msg); in Warning()
72 return getParser().Error(L, Msg); in Error()
75 getParser().Note(L, Msg); in Note()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
DMCAsmParserExtension.h54 MCContext &getContext() { return getParser().getContext(); } in getContext()
55 MCAsmLexer &getLexer() { return getParser().getLexer(); } in getLexer()
56 MCAsmParser &getParser() { return *Parser; } in getParser() function
57 SourceMgr &getSourceManager() { return getParser().getSourceManager(); } in getSourceManager()
58 MCStreamer &getStreamer() { return getParser().getStreamer(); } in getStreamer()
60 return getParser().Warning(L, Msg); in Warning()
63 return getParser().Error(L, Msg); in Error()
66 return getParser().TokError(Msg); in TokError()
69 const AsmToken &Lex() { return getParser().Lex(); } in Lex()
71 const AsmToken &getTok() { return getParser().getTok(); } in getTok()
/external/antlr/runtime/Python/tests/
Dt022scopes.py29 parser = self.getParser(tStream)
37 parser = self.getParser(tStream)
50 parser = self.getParser(tStream)
66 parser = self.getParser(tStream)
88 parser = self.getParser(tStream)
114 parser = self.getParser(tStream)
131 parser = self.getParser(tStream)
145 parser = self.getParser(tStream)
159 parser = self.getParser(tStream)
Dt030specialStates.py15 parser = self.getParser(tStream)
23 parser = self.getParser(tStream)
31 parser = self.getParser(tStream)
40 parser = self.getParser(tStream)
Dt014parser.py14 parser = self.getParser(tStream)
30 parser = self.getParser(tStream)
44 parser = self.getParser(tStream)
60 parser = self.getParser(tStream)
Dt017parser.py27 parser = self.getParser(tStream)
37 parser = self.getParser(tStream)
49 parser = self.getParser(tStream)
/external/antlr/runtime/Python3/tests/
Dt022scopes.py29 parser = self.getParser(tStream)
37 parser = self.getParser(tStream)
46 parser = self.getParser(tStream)
62 parser = self.getParser(tStream)
84 parser = self.getParser(tStream)
106 parser = self.getParser(tStream)
123 parser = self.getParser(tStream)
137 parser = self.getParser(tStream)
151 parser = self.getParser(tStream)
Dt030specialStates.py15 parser = self.getParser(tStream)
23 parser = self.getParser(tStream)
31 parser = self.getParser(tStream)
40 parser = self.getParser(tStream)
Dt014parser.py14 parser = self.getParser(tStream)
27 parser = self.getParser(tStream)
41 parser = self.getParser(tStream)
55 parser = self.getParser(tStream)
Dt017parser.py27 parser = self.getParser(tStream)
37 parser = self.getParser(tStream)
49 parser = self.getParser(tStream)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp40 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
298 if (getParser().parseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
405 if (getParser().parseIdentifier(COMDATSymName)) in ParseDirectiveSection()
425 if (getParser().parseIdentifier(SymbolName)) in ParseDirectiveDef()
438 if (getParser().parseAbsoluteExpression(SymbolStorageClass)) in ParseDirectiveScl()
451 if (getParser().parseAbsoluteExpression(Type)) in ParseDirectiveType()
470 if (getParser().parseIdentifier(SymbolID)) in ParseDirectiveSecRel32()
477 if (getParser().parseAbsoluteExpression(Offset)) in ParseDirectiveSecRel32()
500 if (getParser().parseIdentifier(SymbolID)) in ParseDirectiveRVA()
507 if (getParser().parseAbsoluteExpression(Offset)) in ParseDirectiveRVA()
[all …]
DELFAsmParser.cpp43 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
183 if (getParser().parseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
207 if (getParser().parseExpression(Subsection)) in ParseSectionSwitch()
220 if (getParser().parseIdentifier(Name)) in ParseDirectiveSize()
229 if (getParser().parseExpression(Expr)) in ParseDirectiveSize()
252 while (!getParser().hasPendingError()) { in ParseSectionName()
406 } else if (getParser().parseIdentifier(TypeName)) in maybeParseSectionType()
415 if (getParser().parseAbsoluteExpression(Size)) in parseMergeSize()
430 } else if (getParser().parseIdentifier(GroupName)) { in parseGroup()
436 if (getParser().parseIdentifier(Linkage)) in parseGroup()
[all …]
DDarwinAsmParser.cpp50 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
438 getParser().eatToEndOfStatement(); in parseSectionDirectiveIdent()
500 if (getParser().parseIdentifier(Name)) in parseDirectiveAltEntry()
520 if (getParser().parseIdentifier(Name)) in parseDirectiveDesc()
531 if (getParser().parseAbsoluteExpression(DescValue)) in parseDirectiveDesc()
559 if (getParser().parseIdentifier(Name)) in parseDirectiveIndirectSymbol()
611 if (getParser().parseEscapedString(Data)) in parseDirectiveLinkerOption()
632 if (getParser().parseIdentifier(Name)) in parseDirectiveLsym()
643 if (getParser().parseExpression(Value)) in parseDirectiveLsym()
664 if (getParser().parseIdentifier(SectionName)) in parseDirectiveSection()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DCOFFAsmParser.cpp29 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
141 if (getParser().ParseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
177 if (getParser().ParseIdentifier(SymbolName)) in ParseDirectiveDef()
190 if (getParser().ParseAbsoluteExpression(SymbolStorageClass)) in ParseDirectiveScl()
203 if (getParser().ParseAbsoluteExpression(Type)) in ParseDirectiveType()
222 if (getParser().ParseIdentifier(SymbolID)) in ParseSEHDirectiveStartProc()
255 if (getParser().ParseIdentifier(SymbolID)) in ParseSEHDirectiveHandler()
308 if (getParser().ParseAbsoluteExpression(Off)) in ParseSEHDirectiveSetFrame()
325 if (getParser().ParseAbsoluteExpression(Size)) in ParseSEHDirectiveAllocStack()
349 if (getParser().ParseAbsoluteExpression(Off)) in ParseSEHDirectiveSaveReg()
[all …]
DDarwinAsmParser.cpp30 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
284 getParser().EatToEndOfStatement(); in ParseSectionDirectiveIdent()
329 if (getParser().ParseIdentifier(Name)) in ParseDirectiveDesc()
340 if (getParser().ParseAbsoluteExpression(DescValue)) in ParseDirectiveDesc()
381 if (getParser().ParseIdentifier(Name)) in ParseDirectiveLsym()
392 if (getParser().ParseExpression(Value)) in ParseDirectiveLsym()
413 if (getParser().ParseIdentifier(SectionName)) in ParseDirectiveSection()
457 StringRef LogMessage = getParser().ParseStringToEndOfStatement(); in ParseDirectiveSecureLogUnique()
525 if (getParser().ParseIdentifier(Name)) in ParseDirectiveTBSS()
537 if (getParser().ParseAbsoluteExpression(Size)) in ParseDirectiveTBSS()
[all …]
DELFAsmParser.cpp27 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
168 if (getParser().ParseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
202 if (getParser().ParseIdentifier(Name)) in ParseDirectiveSize()
211 if (getParser().ParseExpression(Expr)) in ParseDirectiveSize()
376 if (getParser().ParseIdentifier(TypeName)) in ParseDirectiveSection()
383 if (getParser().ParseAbsoluteExpression(Size)) in ParseDirectiveSection()
393 if (getParser().ParseIdentifier(GroupName)) in ParseDirectiveSection()
398 if (getParser().ParseIdentifier(Linkage)) in ParseDirectiveSection()
451 if (getParser().ParseIdentifier(Name)) in ParseDirectiveType()
469 if (getParser().ParseIdentifier(Type)) in ParseDirectiveType()
[all …]
DAsmParser.cpp249 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
255 AsmParser &getParser() { in getParser() function in __anon3ea39f800111::GenericAsmParser
256 return (AsmParser&) this->MCAsmParserExtension::getParser(); in getParser()
2406 if (getParser().ParseIdentifier(Name)) in ParseDirectiveLoc()
2418 if (getParser().ParseExpression(Value)) in ParseDirectiveLoc()
2437 if (getParser().ParseExpression(Value)) in ParseDirectiveLoc()
2451 if (getParser().ParseAbsoluteExpression(Discriminator)) in ParseDirectiveLoc()
2484 if (getParser().ParseIdentifier(Name)) in ParseDirectiveCFISections()
2495 if (getParser().ParseIdentifier(Name)) in ParseDirectiveCFISections()
2530 if (getParser().getTargetParser().ParseRegister(RegNo, DirectiveLoc, in ParseRegisterOrRegisterNumber()
[all …]
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp31 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
164 if (getParser().parseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
188 if (getParser().parseExpression(Subsection)) in ParseSectionSwitch()
201 if (getParser().parseIdentifier(Name)) in ParseDirectiveSize()
210 if (getParser().parseExpression(Expr)) in ParseDirectiveSize()
387 if (getParser().parseExpression(Subsection)) in ParseSectionArguments()
431 if (getParser().parseIdentifier(TypeName)) in ParseSectionArguments()
438 if (getParser().parseAbsoluteExpression(Size)) in ParseSectionArguments()
448 if (getParser().parseIdentifier(GroupName)) in ParseSectionArguments()
453 if (getParser().parseIdentifier(Linkage)) in ParseSectionArguments()
[all …]
DDarwinAsmParser.cpp37 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
379 getParser().eatToEndOfStatement(); in parseSectionDirectiveIdent()
424 if (getParser().parseIdentifier(Name)) in parseDirectiveAltEntry()
444 if (getParser().parseIdentifier(Name)) in parseDirectiveDesc()
455 if (getParser().parseAbsoluteExpression(DescValue)) in parseDirectiveDesc()
483 if (getParser().parseIdentifier(Name)) in parseDirectiveIndirectSymbol()
535 if (getParser().parseEscapedString(Data)) in parseDirectiveLinkerOption()
557 if (getParser().parseIdentifier(Name)) in parseDirectiveLsym()
568 if (getParser().parseExpression(Value)) in parseDirectiveLsym()
589 if (getParser().parseIdentifier(SectionName)) in parseDirectiveSection()
[all …]
DCOFFAsmParser.cpp32 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
273 if (getParser().parseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
379 if (getParser().parseIdentifier(COMDATSymName)) in ParseDirectiveSection()
399 if (getParser().parseIdentifier(SymbolName)) in ParseDirectiveDef()
412 if (getParser().parseAbsoluteExpression(SymbolStorageClass)) in ParseDirectiveScl()
425 if (getParser().parseAbsoluteExpression(Type)) in ParseDirectiveType()
444 if (getParser().parseIdentifier(SymbolID)) in ParseDirectiveSecRel32()
459 if (getParser().parseIdentifier(SymbolID)) in ParseDirectiveSafeSEH()
474 if (getParser().parseIdentifier(SymbolID)) in ParseDirectiveSecIdx()
537 if (getParser().parseIdentifier(SymbolID)) in ParseSEHDirectiveStartProc()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp79 MCAsmParser &Parser = getParser(); in consumeToken()
86 assert(getParser().getStreamer().getTargetStreamer() && in getTargetStreamer()
88 MCTargetStreamer &TS = *getParser().getStreamer().getTargetStreamer(); in getTargetStreamer()
798 MCAsmParser &Parser = getParser(); in Error()
928 return getParser().getAssemblerDialect(); in isParsingIntelSyntax()
1066 MCAsmParser &Parser = getParser(); in ParseRegister()
1120 getParser().Lex(); in ParseRegister()
1137 if (getParser().Lex().isNot(AsmToken::RParen)) in ParseRegister()
1413 MCAsmParser &Parser = getParser(); in ParseIntelExpression()
1457 if (getParser().parsePrimaryExpr(Val, End)) { in ParseIntelExpression()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp65 MCAsmParser &Parser = getParser(); in consumeToken()
665 MCAsmParser &Parser = getParser(); in Error()
673 MCAsmParser &Parser = getParser(); in ErrorAndEatStatement()
791 return getParser().getAssemblerDialect(); in isParsingIntelSyntax()
871 MCAsmParser &Parser = getParser(); in ParseRegister()
931 getParser().Lex(); in ParseRegister()
948 if (getParser().Lex().isNot(AsmToken::RParen)) in ParseRegister()
1264 MCAsmParser &Parser = getParser(); in ParseIntelExpression()
1307 if (getParser().parsePrimaryExpr(Val, End)) in ParseIntelExpression()
1390 MCAsmParser &Parser = getParser(); in ParseIntelBracExpression()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp42 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
46 MCTargetStreamer &TS = *getParser().getStreamer().getTargetStreamer(); in getTargetStreamer()
786 const AsmToken &Tok = getParser().getTok(); in ParseRegister()
793 getParser().Lex(); // Eat identifier token. in ParseRegister()
811 getParser().Lex(); // Eat '(' in parseRegister()
838 getParser().Lex(); // Eat ')' in parseRegister()
858 if (getParser().parseExpression(Res)) in parseImmediate()
863 if (getParser().parseIdentifier(Identifier)) in parseImmediate()
887 getParser().Lex(); // Eat '%' in parseOperandWithModifier()
893 StringRef Identifier = getParser().getTok().getIdentifier(); in parseOperandWithModifier()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp40 MCAsmParser &getParser() const { return Parser; } in getParser() function in __anon9e67b0630111::X86ATTAsmParser
434 getParser().Lex(); in ParseRegister()
451 if (getParser().Lex().isNot(AsmToken::RParen)) in ParseRegister()
510 getParser().Lex(); // Eat the colon. in ParseOperand()
518 if (getParser().ParseExpression(Val, End)) in ParseOperand()
533 const MCExpr *Disp = MCConstantExpr::Create(0, getParser().getContext()); in ParseMemOperand()
536 if (getParser().ParseExpression(Disp, ExprEnd)) return 0; in ParseMemOperand()
562 if (getParser().ParseParenExpression(Disp, ExprEnd)) in ParseMemOperand()
619 if (getParser().ParseAbsoluteExpression(ScaleVal)) in ParseMemOperand()
636 if (getParser().ParseAbsoluteExpression(Value)) in ParseMemOperand()
[all …]

12345