Home
last modified time | relevance | path

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

123

/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 return getParser().TokError(Msg); in TokError()
[all …]
/external/antlr/antlr-3.4/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)
Dt013parser.py14 parser = self.getParser(tStream)
25 parser = self.getParser(tStream)
Dt021hoist.py17 parser = self.getParser(tStream)
28 parser = self.getParser(tStream)
Dt032subrulePredict.py27 parser = self.getParser(tStream)
39 parser = self.getParser(tStream)
Dt044trace.py64 parser = self.getParser(tStream)
86 parser = self.getParser(tStream)
Dt047treeparser.py56 parser = self.getParser(tStream)
110 parser = self.getParser(tStream)
Dt045dfabug.py14 parser = self.getParser(tStream)
Dt023scopes.py15 parser = self.getParser(tStream)
Dt031emptyAlt.py15 parser = self.getParser(tStream)
Dt050decorate.py14 parser = self.getParser(tStream)
Dt024finally.py15 parser = self.getParser(tStream)
Dt016actions.py14 parser = self.getParser(tStream)
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp31 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
174 if (getParser().parseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
198 if (getParser().parseExpression(Subsection)) in ParseSectionSwitch()
210 if (getParser().parseIdentifier(Name)) in ParseDirectiveSize()
219 if (getParser().parseExpression(Expr)) in ParseDirectiveSize()
395 if (getParser().parseExpression(Subsection)) in ParseSectionArguments()
439 if (getParser().parseIdentifier(TypeName)) in ParseSectionArguments()
446 if (getParser().parseAbsoluteExpression(Size)) in ParseSectionArguments()
456 if (getParser().parseIdentifier(GroupName)) in ParseSectionArguments()
461 if (getParser().parseIdentifier(Linkage)) in ParseSectionArguments()
[all …]
DDarwinAsmParser.cpp34 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
360 getParser().eatToEndOfStatement(); in parseSectionDirectiveIdent()
406 if (getParser().parseIdentifier(Name)) in parseDirectiveDesc()
417 if (getParser().parseAbsoluteExpression(DescValue)) in parseDirectiveDesc()
444 if (getParser().parseIdentifier(Name)) in parseDirectiveIndirectSymbol()
496 if (getParser().parseEscapedString(Data)) in parseDirectiveLinkerOption()
518 if (getParser().parseIdentifier(Name)) in parseDirectiveLsym()
529 if (getParser().parseExpression(Value)) in parseDirectiveLsym()
550 if (getParser().parseIdentifier(SectionName)) in parseDirectiveSection()
625 StringRef LogMessage = getParser().parseStringToEndOfStatement(); in parseDirectiveSecureLogUnique()
[all …]
DCOFFAsmParser.cpp32 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
272 if (getParser().parseIdentifier(Name)) in ParseDirectiveSymbolAttribute()
378 if (getParser().parseIdentifier(COMDATSymName)) in ParseDirectiveSection()
398 if (getParser().parseIdentifier(SymbolName)) in ParseDirectiveDef()
411 if (getParser().parseAbsoluteExpression(SymbolStorageClass)) in ParseDirectiveScl()
424 if (getParser().parseAbsoluteExpression(Type)) in ParseDirectiveType()
443 if (getParser().parseIdentifier(SymbolID)) in ParseDirectiveSecRel32()
458 if (getParser().parseIdentifier(SymbolID)) in ParseDirectiveSecIdx()
521 if (getParser().parseIdentifier(SymbolID)) in ParseSEHDirectiveStartProc()
554 if (getParser().parseIdentifier(SymbolID)) in ParseSEHDirectiveHandler()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp65 MCAsmParser &Parser = getParser(); in consumeToken()
638 MCAsmParser &Parser = getParser(); in Error()
646 MCAsmParser &Parser = getParser(); in ErrorAndEatStatement()
759 return getParser().getAssemblerDialect(); in isParsingIntelSyntax()
860 MCAsmParser &Parser = getParser(); in ParseRegister()
909 getParser().Lex(); in ParseRegister()
926 if (getParser().Lex().isNot(AsmToken::RParen)) in ParseRegister()
1119 MCAsmParser &Parser = getParser(); in ParseIntelExpression()
1161 if (getParser().parsePrimaryExpr(Val, End)) in ParseIntelExpression()
1241 MCAsmParser &Parser = getParser(); in ParseIntelBracExpression()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp102 MCTargetStreamer &TS = *getParser().getStreamer().getTargetStreamer(); in getTargetStreamer()
2418 MCAsmParser &Parser = getParser(); in parseOperand()
2574 MCAsmParser &Parser = getParser(); in parseRelocOperand()
2603 if (getParser().parseParenExpression(IdVal, EndLoc)) in parseRelocOperand()
2643 MCAsmParser &Parser = getParser(); in parseMemOffset()
2659 Result = getParser().parseParenExpression(Res, S); in parseMemOffset()
2661 Result = (getParser().parseExpression(Res)); in parseMemOffset()
2673 MCAsmParser &Parser = getParser(); in parseMemOperand()
2756 MCAsmParser &Parser = getParser(); in searchSymbolAlias()
2847 MCAsmParser &Parser = getParser(); in matchAnyRegisterWithoutDollar()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp51 MCTargetStreamer &TS = *getParser().getStreamer().getTargetStreamer(); in getTargetStreamer()
55 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
69 void Warning(SMLoc L, const Twine &Msg) { getParser().Warning(L, Msg); } in Warning()
70 bool Error(SMLoc L, const Twine &Msg) { return getParser().Error(L, Msg); } in Error()
120 MCStreamer &S = getParser().getStreamer(); in AArch64AsmParser()
1862 MCAsmParser &Parser = getParser(); in tryParseRegister()
1887 MCAsmParser &Parser = getParser(); in tryMatchVectorRegister()
1920 MCAsmParser &Parser = getParser(); in tryParseSysCROperand()
1950 MCAsmParser &Parser = getParser(); in tryParsePrefetch()
1959 if (getParser().parseExpression(ImmVal)) in tryParsePrefetch()
[all …]
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp231 void Warning(SMLoc L, const Twine &Msg) { getParser().Warning(L, Msg); } in Warning()
232 bool Error(SMLoc L, const Twine &Msg) { return getParser().Error(L, Msg); } in Error()
1204 MCAsmParser &Parser = getParser(); in ParseRegister()
1228 MCContext &Context = getParser().getContext(); in ExtractModifierFromExpr()
1310 MCContext &Context = getParser().getContext(); in FixupVariantKind()
1365 if (getParser().parseExpression(EVal)) in ParseExpression()
1373 EVal = PPCMCExpr::Create(Variant, E, false, getParser().getContext()); in ParseExpression()
1386 MCAsmParser &Parser = getParser(); in ParseDarwinExpression()
1413 if (getParser().parseExpression(EVal)) in ParseDarwinExpression()
1420 EVal = PPCMCExpr::Create(Variant, EVal, false, getParser().getContext()); in ParseDarwinExpression()
[all …]
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp137 assert(getParser().getStreamer().getTargetStreamer() && in getTargetStreamer()
139 MCTargetStreamer &TS = *getParser().getStreamer().getTargetStreamer(); in getTargetStreamer()
181 return getParser().Note(L, Msg, Ranges); in Note()
185 return getParser().Warning(L, Msg, Ranges); in Warning()
189 return getParser().Error(L, Msg, Ranges); in Error()
2979 const AsmToken &Tok = getParser().getTok(); in ParseRegister()
2992 MCAsmParser &Parser = getParser(); in tryParseRegister()
3049 MCAsmParser &Parser = getParser(); in tryParseShiftRegister()
3094 if (getParser().parseExpression(ShiftExpr, EndLoc)) { in tryParseShiftRegister()
3152 MCAsmParser &Parser = getParser(); in tryParseRegisterWithWriteBack()
[all …]
/external/llvm/lib/Target/R600/AsmParser/
DAMDGPUAsmParser.cpp461 if (getParser().parseAbsoluteExpression(RegLo)) in ParseRegister()
468 if (getParser().parseAbsoluteExpression(RegHi)) in ParseRegister()
589 if (getParser().parseAbsoluteExpression(IntVal)) in parseOperand()
608 if (getParser().parseAbsoluteExpression(IntVal)) in parseOperand()
740 if (getParser().parseAbsoluteExpression(Int)) in parseIntWithPrefix()
964 if (getParser().parseAbsoluteExpression(CntVal)) in parseCnt()
1008 if (getParser().parseAbsoluteExpression(CntVal)) in parseSWaitCntOps()
1039 if (getParser().parseAbsoluteExpression(Imm)) in parseSOppBrTarget()

123