Lines Matching refs:AsmParser
1 //===- AsmParser.cpp - Parser for Assembly Files --------------------------===//
84 class AsmParser : public MCAsmParser {
87 AsmParser(const AsmParser &); // DO NOT IMPLEMENT
88 void operator=(const AsmParser &); // DO NOT IMPLEMENT
134 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
136 virtual ~AsmParser();
298 AsmParser &getParser() {
299 return (AsmParser&) this->MCAsmParserExtension::getParser();
405 AsmParser::AsmParser(SourceMgr &_SM, MCContext &_Ctx,
437 AsmParser::~AsmParser() {
449 void AsmParser::PrintMacroInstantiations() {
457 bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
465 bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
472 bool AsmParser::EnterIncludeFile(const std::string &Filename) {
488 bool AsmParser::ProcessIncbinFile(const std::string &Filename) {
500 void AsmParser::JumpToLoc(SMLoc Loc) {
505 const AsmToken &AsmParser::Lex() {
524 bool AsmParser::Run(bool NoInitialTextSection, bool NoFinalize) {
600 void AsmParser::CheckForValidSection() {
611 void AsmParser::EatToEndOfStatement() {
621 StringRef AsmParser::ParseStringToEndOfStatement() {
632 StringRef AsmParser::ParseStringToComma() {
649 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
663 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
678 bool AsmParser::ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
796 bool AsmParser::ParseExpression(const MCExpr *&Res) {
802 AsmParser::ApplyModifierToExpr(const MCExpr *E,
859 bool AsmParser::ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
897 bool AsmParser::ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
903 bool AsmParser::ParseAbsoluteExpression(int64_t &Res) {
997 bool AsmParser::ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res,
1034 bool AsmParser::ParseStatement() {
1361 void AsmParser::EatToEndOfLine() {
1371 bool AsmParser::ParseCppHashLineFilenameComment(const SMLoc &L) {
1405 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
1406 const AsmParser *Parser = static_cast<const AsmParser*>(Context);
1465 bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body,
1565 bool AsmParser::ParseMacroArgument(MacroArgument &MA) {
1595 bool AsmParser::ParseMacroArguments(const Macro *M, MacroArguments &A) {
1619 bool AsmParser::HandleMacroEntry(StringRef Name, SMLoc NameLoc,
1667 void AsmParser::HandleMacroExit() {
1700 bool AsmParser::ParseAssignment(StringRef Name, bool allow_redef) {
1762 bool AsmParser::ParseIdentifier(StringRef &Res) {
1802 bool AsmParser::ParseDirectiveSet(StringRef IDVal, bool allow_redef) {
1815 bool AsmParser::ParseEscapedString(std::string &Data) {
1875 bool AsmParser::ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
1908 bool AsmParser::ParseDirectiveValue(unsigned Size) {
1944 bool AsmParser::ParseDirectiveRealValue(const fltSemantics &Semantics) {
2002 bool AsmParser::ParseDirectiveSpace() {
2035 bool AsmParser::ParseDirectiveZero() {
2061 bool AsmParser::ParseDirectiveFill() {
2100 bool AsmParser::ParseDirectiveOrg() {
2135 bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
2223 bool AsmParser::ParseDirectiveSymbolAttribute(MCSymbolAttr Attr) {
2255 bool AsmParser::ParseDirectiveComm(bool IsLocal) {
2329 bool AsmParser::ParseDirectiveAbort() {
2350 bool AsmParser::ParseDirectiveInclude() {
2376 bool AsmParser::ParseDirectiveIncbin() {
2401 bool AsmParser::ParseDirectiveIf(SMLoc DirectiveLoc) {
2425 bool AsmParser::ParseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
2448 bool AsmParser::ParseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) {
2478 bool AsmParser::ParseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
2505 bool AsmParser::ParseDirectiveElseIf(SMLoc DirectiveLoc) {
2537 bool AsmParser::ParseDirectiveElse(SMLoc DirectiveLoc) {
2561 bool AsmParser::ParseDirectiveEndIf(SMLoc DirectiveLoc) {
3201 Macro *AsmParser::ParseMacroLikeBody(SMLoc DirectiveLoc) {
3246 void AsmParser::InstantiateMacroLikeBody(Macro *M, SMLoc DirectiveLoc,
3266 bool AsmParser::ParseDirectiveRept(SMLoc DirectiveLoc) {
3302 bool AsmParser::ParseDirectiveIrp(SMLoc DirectiveLoc) {
3348 bool AsmParser::ParseDirectiveIrpc(SMLoc DirectiveLoc) {
3400 bool AsmParser::ParseDirectiveEndr(SMLoc DirectiveLoc) {
3416 return new AsmParser(SM, C, Out, MAI);