Home | History | Annotate | Download | only in Parse

Lines Matching refs:Parser

1 //===---- ParseStmtAsm.cpp - Assembly Statement Parser --------------------===//
14 #include "clang/Parse/Parser.h"
38 Parser &TheParser;
49 ClangAsmParserCallback(Parser &P, SourceLocation Loc, StringRef AsmString,
181 /// \param CastInfo - a void* so that we don't have to teach Parser.h
183 ExprResult Parser::ParseMSAsmIdentifier(llvm::SmallVectorImpl<Token> &LineToks,
285 /// to the MC asm parser.
356 StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) {
542 // Tell SrcMgr about this buffer, which is what the parser will pick up.
546 std::unique_ptr<llvm::MCAsmParser> Parser(
552 TheTarget->createMCAsmParser(*STI, *Parser, *MII, MCOptions));
558 Parser->setAssemblerDialect(1);
559 Parser->setTargetParser(*TargetParser.get());
560 Parser->setParsingInlineAsm(true);
575 if (Parser->parseMSInlineAsm(AsmLoc.getPtrEncoding(), AsmStringIR, NumOutputs,
631 StmtResult Parser::ParseAsmStatement(bool &msAsm) {
766 bool Parser::ParseAsmOperandsOpt(SmallVectorImpl<IdentifierInfo *> &Names,