Lines Matching defs: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;
184 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
186 virtual ~AsmParser();
480 AsmParser::AsmParser(SourceMgr &_SM, MCContext &_Ctx, MCStreamer &_Out,
512 AsmParser::~AsmParser() {
524 void AsmParser::printMacroInstantiations() {
534 bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
542 bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
549 bool AsmParser::enterIncludeFile(const std::string &Filename) {
565 bool AsmParser::processIncbinFile(const std::string &Filename) {
576 void AsmParser::jumpToLoc(SMLoc Loc, int InBuffer) {
585 const AsmToken &AsmParser::Lex() {
604 bool AsmParser::Run(bool NoInitialTextSection, bool NoFinalize) {
682 void AsmParser::checkForValidSection() {
690 void AsmParser::eatToEndOfStatement() {
699 StringRef AsmParser::parseStringToEndOfStatement() {
709 StringRef AsmParser::parseStringToComma() {
725 bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
740 bool AsmParser::parseBracketExpr(const MCExpr *&Res, SMLoc &EndLoc) {
756 bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
908 bool AsmParser::parseExpression(const MCExpr *&Res) {
914 AsmParser::applyModifierToExpr(const MCExpr *E,
977 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1015 bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
1020 bool AsmParser::parseAbsoluteExpression(int64_t &Res) {
1112 bool AsmParser::parseBinOpRHS(unsigned Precedence, const MCExpr *&Res,
1146 bool AsmParser::parseStatement(ParseStatementInfo &Info) {
1590 void AsmParser::eatToEndOfLine() {
1600 bool AsmParser::parseCppHashLineFilenameComment(const SMLoc &L) {
1635 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
1636 const AsmParser *Parser = static_cast<const AsmParser *>(Context);
1694 bool AsmParser::expandMacro(raw_svector_ostream &OS, StringRef Body,
1833 bool AsmParser::parseMacroArgument(MCAsmMacroArgument &MA,
1909 bool AsmParser::parseMacroArguments(const MCAsmMacro *M,
1954 const MCAsmMacro *AsmParser::lookupMacro(StringRef Name) {
1959 void AsmParser::defineMacro(StringRef Name, const MCAsmMacro &Macro) {
1963 void AsmParser::undefineMacro(StringRef Name) {
1971 bool AsmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) {
2017 void AsmParser::handleMacroExit() {
2050 bool AsmParser::parseAssignment(StringRef Name, bool allow_redef,
2115 bool AsmParser::parseIdentifier(StringRef &Res) {
2154 bool AsmParser::parseDirectiveSet(StringRef IDVal, bool allow_redef) {
2167 bool AsmParser::parseEscapedString(std::string &Data) {
2227 bool AsmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
2260 bool AsmParser::parseDirectiveValue(unsigned Size) {
2296 bool AsmParser::parseDirectiveRealValue(const fltSemantics &Semantics) {
2354 bool AsmParser::parseDirectiveZero() {
2380 bool AsmParser::parseDirectiveFill() {
2424 bool AsmParser::parseDirectiveOrg() {
2459 bool AsmParser::parseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
2552 bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) {
2609 bool AsmParser::parseDirectiveLine() {
2634 bool AsmParser::parseDirectiveLoc() {
2730 bool AsmParser::parseDirectiveStabs() {
2736 bool AsmParser::parseDirectiveCFISections() {
2767 bool AsmParser::parseDirectiveCFIStartProc() {
2774 bool AsmParser::parseDirectiveCFIEndProc() {
2780 bool AsmParser::parseRegisterOrRegisterNumber(int64_t &Register,
2796 bool AsmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) {
2815 bool AsmParser::parseDirectiveCFIDefCfaOffset() {
2826 bool AsmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) {
2845 bool AsmParser::parseDirectiveCFIWindowSave() {
2852 bool AsmParser::parseDirectiveCFIAdjustCfaOffset() {
2863 bool AsmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) {
2874 bool AsmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) {
2894 bool AsmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) {
2938 bool AsmParser::parseDirectiveCFIPersonalityOrLsda(bool IsPersonality) {
2967 bool AsmParser::parseDirectiveCFIRememberState() {
2974 bool AsmParser::parseDirectiveCFIRestoreState() {
2981 bool AsmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) {
2993 bool AsmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) {
3004 bool AsmParser::parseDirectiveCFIEscape() {
3027 bool AsmParser::parseDirectiveCFISignalFrame() {
3038 bool AsmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) {
3051 bool AsmParser::parseDirectiveMacrosOnOff(StringRef Directive) {
3062 bool AsmParser::parseDirectiveMacro(SMLoc DirectiveLoc) {
3145 void AsmParser::checkForBadMacro(SMLoc DirectiveLoc, StringRef Name,
3236 bool AsmParser::parseDirectiveEndMacro(StringRef Directive) {
3255 bool AsmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) {
3272 bool AsmParser::parseDirectiveBundleAlignMode() {
3298 bool AsmParser::parseDirectiveBundleLock() {
3327 bool AsmParser::parseDirectiveBundleUnlock() {
3340 bool AsmParser::parseDirectiveSpace(StringRef IDVal) {
3374 bool AsmParser::parseDirectiveLEB128(bool Signed) {
3400 bool AsmParser::parseDirectiveSymbolAttribute(MCSymbolAttr Attr) {
3433 bool AsmParser::parseDirectiveComm(bool IsLocal) {
3507 bool AsmParser::parseDirectiveAbort() {
3528 bool AsmParser::parseDirectiveInclude() {
3554 bool AsmParser::parseDirectiveIncbin() {
3579 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc) {
3603 bool AsmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
3626 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) {
3656 bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
3683 bool AsmParser::parseDirectiveElseIf(SMLoc DirectiveLoc) {
3714 bool AsmParser::parseDirectiveElse(SMLoc DirectiveLoc) {
3738 bool AsmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) {
3755 void AsmParser::initializeDirectiveKindMap() {
3858 MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) {
3903 void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
3922 bool AsmParser::parseDirectiveRept(SMLoc DirectiveLoc) {
3958 bool AsmParser::parseDirectiveIrp(SMLoc DirectiveLoc) {
4004 bool AsmParser::parseDirectiveIrpc(SMLoc DirectiveLoc) {
4056 bool AsmParser::parseDirectiveEndr(SMLoc DirectiveLoc) {
4068 bool AsmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info,
4085 bool AsmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) {
4125 bool AsmParser::parseMSInlineAsm(
4329 return new AsmParser(SM, C, Out, MAI);