Home | History | Annotate | Download | only in MCParser

Lines Matching refs:AsmParser

1 //===- AsmParser.cpp - Parser for Assembly Files --------------------------===//
121 class AsmParser : public MCAsmParser {
122 AsmParser(const AsmParser &) LLVM_DELETED_FUNCTION;
123 void operator=(const AsmParser &) LLVM_DELETED_FUNCTION;
174 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
176 virtual ~AsmParser();
468 AsmParser::AsmParser(SourceMgr &_SM, MCContext &_Ctx,
500 AsmParser::~AsmParser() {
511 void AsmParser::PrintMacroInstantiations() {
519 bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
527 bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
534 bool AsmParser::EnterIncludeFile(const std::string &Filename) {
550 bool AsmParser::ProcessIncbinFile(const std::string &Filename) {
562 void AsmParser::JumpToLoc(SMLoc Loc, int InBuffer) {
571 const AsmToken &AsmParser::Lex() {
590 bool AsmParser::Run(bool NoInitialTextSection, bool NoFinalize) {
668 void AsmParser::checkForValidSection() {
676 void AsmParser::eatToEndOfStatement() {
686 StringRef AsmParser::parseStringToEndOfStatement() {
697 StringRef AsmParser::ParseStringToComma() {
714 bool AsmParser::ParseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
728 bool AsmParser::ParseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
743 bool AsmParser::ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
867 bool AsmParser::parseExpression(const MCExpr *&Res) {
873 AsmParser::ApplyModifierToExpr(const MCExpr *E,
930 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
968 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
974 bool AsmParser::parseAbsoluteExpression(int64_t &Res) {
1068 bool AsmParser::ParseBinOpRHS(unsigned Precedence, const MCExpr *&Res,
1102 bool AsmParser::ParseStatement(ParseStatementInfo &Info) {
1532 void AsmParser::EatToEndOfLine() {
1542 bool AsmParser::ParseCppHashLineFilenameComment(const SMLoc &L) {
1577 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
1578 const AsmParser *Parser = static_cast<const AsmParser*>(Context);
1638 bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body,
1781 bool AsmParser::ParseMacroArgument(MCAsmMacroArgument &MA,
1857 bool AsmParser::ParseMacroArguments(const MCAsmMacro *M, MCAsmMacroArguments &A) {
1901 const MCAsmMacro* AsmParser::LookupMacro(StringRef Name) {
1906 void AsmParser::DefineMacro(StringRef Name, const MCAsmMacro& Macro) {
1910 void AsmParser::UndefineMacro(StringRef Name) {
1918 bool AsmParser::HandleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) {
1966 void AsmParser::HandleMacroExit() {
1999 bool AsmParser::ParseAssignment(StringRef Name, bool allow_redef,
2065 bool AsmParser::parseIdentifier(StringRef &Res) {
2105 bool AsmParser::ParseDirectiveSet(StringRef IDVal, bool allow_redef) {
2118 bool AsmParser::parseEscapedString(std::string &Data) {
2178 bool AsmParser::ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
2211 bool AsmParser::ParseDirectiveValue(unsigned Size) {
2247 bool AsmParser::ParseDirectiveRealValue(const fltSemantics &Semantics) {
2305 bool AsmParser::ParseDirectiveZero() {
2331 bool AsmParser::ParseDirectiveFill() {
2370 bool AsmParser::ParseDirectiveOrg() {
2405 bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
2498 bool AsmParser::ParseDirectiveFile(SMLoc DirectiveLoc) {
2550 bool AsmParser::ParseDirectiveLine() {
2575 bool AsmParser::ParseDirectiveLoc() {
2676 bool AsmParser::ParseDirectiveStabs() {
2682 bool AsmParser::ParseDirectiveCFISections() {
2713 bool AsmParser::ParseDirectiveCFIStartProc() {
2720 bool AsmParser::ParseDirectiveCFIEndProc() {
2726 bool AsmParser::ParseRegisterOrRegisterNumber(int64_t &Register,
2742 bool AsmParser::ParseDirectiveCFIDefCfa(SMLoc DirectiveLoc) {
2761 bool AsmParser::ParseDirectiveCFIDefCfaOffset() {
2772 bool AsmParser::ParseDirectiveCFIRegister(SMLoc DirectiveLoc) {
2791 bool AsmParser::ParseDirectiveCFIAdjustCfaOffset() {
2802 bool AsmParser::ParseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) {
2813 bool AsmParser::ParseDirectiveCFIOffset(SMLoc DirectiveLoc) {
2833 bool AsmParser::ParseDirectiveCFIRelOffset(SMLoc DirectiveLoc) {
2877 bool AsmParser::ParseDirectiveCFIPersonalityOrLsda(bool IsPersonality) {
2906 bool AsmParser::ParseDirectiveCFIRememberState() {
2913 bool AsmParser::ParseDirectiveCFIRestoreState() {
2920 bool AsmParser::ParseDirectiveCFISameValue(SMLoc DirectiveLoc) {
2932 bool AsmParser::ParseDirectiveCFIRestore(SMLoc DirectiveLoc) {
2943 bool AsmParser::ParseDirectiveCFIEscape() {
2966 bool AsmParser::ParseDirectiveCFISignalFrame() {
2977 bool AsmParser::ParseDirectiveCFIUndefined(SMLoc DirectiveLoc) {
2990 bool AsmParser::ParseDirectiveMacrosOnOff(StringRef Directive) {
3001 bool AsmParser::ParseDirectiveMacro(SMLoc DirectiveLoc) {
3084 void AsmParser::CheckForBadMacro(SMLoc DirectiveLoc, StringRef Name,
3175 bool AsmParser::ParseDirectiveEndMacro(StringRef Directive) {
3194 bool AsmParser::ParseDirectivePurgeMacro(SMLoc DirectiveLoc) {
3211 bool AsmParser::ParseDirectiveBundleAlignMode() {
3237 bool AsmParser::ParseDirectiveBundleLock() {
3266 bool AsmParser::ParseDirectiveBundleUnlock() {
3279 bool AsmParser::ParseDirectiveSpace(StringRef IDVal) {
3313 bool AsmParser::ParseDirectiveLEB128(bool Signed) {
3333 bool AsmParser::ParseDirectiveSymbolAttribute(MCSymbolAttr Attr) {
3365 bool AsmParser::ParseDirectiveComm(bool IsLocal) {
3439 bool AsmParser::ParseDirectiveAbort() {
3460 bool AsmParser::ParseDirectiveInclude() {
3486 bool AsmParser::ParseDirectiveIncbin() {
3511 bool AsmParser::ParseDirectiveIf(SMLoc DirectiveLoc) {
3535 bool AsmParser::ParseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
3558 bool AsmParser::ParseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) {
3588 bool AsmParser::ParseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
3615 bool AsmParser::ParseDirectiveElseIf(SMLoc DirectiveLoc) {
3647 bool AsmParser::ParseDirectiveElse(SMLoc DirectiveLoc) {
3671 bool AsmParser::ParseDirectiveEndIf(SMLoc DirectiveLoc) {
3689 void AsmParser::initializeDirectiveKindMap() {
3793 MCAsmMacro *AsmParser::ParseMacroLikeBody(SMLoc DirectiveLoc) {
3838 void AsmParser::InstantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
3859 bool AsmParser::ParseDirectiveRept(SMLoc DirectiveLoc) {
3895 bool AsmParser::ParseDirectiveIrp(SMLoc DirectiveLoc) {
3941 bool AsmParser::ParseDirectiveIrpc(SMLoc DirectiveLoc) {
3993 bool AsmParser::ParseDirectiveEndr(SMLoc DirectiveLoc) {
4005 bool AsmParser::ParseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info,
4022 bool AsmParser::ParseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) {
4066 AsmParser::parseMSInlineAsm(void *AsmLoc, std::string &AsmString,
4274 return new AsmParser(SM, C, Out, MAI);