Lines Matching defs:DirectiveLoc

296   void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
375 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
571 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
586 bool parseDirectiveFile(SMLoc DirectiveLoc);
589 bool parseDirectiveLocLabel(SMLoc DirectiveLoc);
608 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
609 bool parseDirectiveCFIWindowSave(SMLoc DirectiveLoc);
613 bool parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc);
614 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
615 bool parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc);
616 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
617 bool parseDirectiveCFILLVMDefAspaceCfa(SMLoc DirectiveLoc);
618 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
619 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
621 bool parseDirectiveCFIRememberState(SMLoc DirectiveLoc);
622 bool parseDirectiveCFIRestoreState(SMLoc DirectiveLoc);
623 bool parseDirectiveCFISameValue(SMLoc DirectiveLoc);
624 bool parseDirectiveCFIRestore(SMLoc DirectiveLoc);
625 bool parseDirectiveCFIEscape(SMLoc DirectiveLoc);
626 bool parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc);
627 bool parseDirectiveCFISignalFrame(SMLoc DirectiveLoc);
628 bool parseDirectiveCFIUndefined(SMLoc DirectiveLoc);
629 bool parseDirectiveCFILabel(SMLoc DirectiveLoc);
630 bool parseDirectiveCFIValOffset(SMLoc DirectiveLoc);
633 bool parseDirectivePurgeMacro(SMLoc DirectiveLoc);
636 bool parseDirectiveMacro(SMLoc DirectiveLoc);
665 bool parseDirectiveAbort(SMLoc DirectiveLoc); // ".abort"
670 bool parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind);
672 bool parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank);
674 bool parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual);
676 bool parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual);
678 bool parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined);
679 bool parseDirectiveElseIf(SMLoc DirectiveLoc); // ".elseif"
680 bool parseDirectiveElse(SMLoc DirectiveLoc); // ".else"
681 bool parseDirectiveEndIf(SMLoc DirectiveLoc); // .endif
689 MCAsmMacro *parseMacroLikeBody(SMLoc DirectiveLoc);
690 void instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
692 bool parseDirectiveRept(SMLoc DirectiveLoc, StringRef Directive);
693 bool parseDirectiveIrp(SMLoc DirectiveLoc); // ".irp"
694 bool parseDirectiveIrpc(SMLoc DirectiveLoc); // ".irpc"
695 bool parseDirectiveEndr(SMLoc DirectiveLoc); // ".endr"
698 bool parseDirectiveMSEmit(SMLoc DirectiveLoc, ParseStatementInfo &Info,
702 bool parseDirectiveMSAlign(SMLoc DirectiveLoc, ParseStatementInfo &Info);
705 bool parseDirectiveEnd(SMLoc DirectiveLoc);
708 bool parseDirectiveError(SMLoc DirectiveLoc, bool WithMessage);
711 bool parseDirectiveWarning(SMLoc DirectiveLoc);
714 bool parseDirectivePrint(SMLoc DirectiveLoc);
3167 bool AsmParser::parseDirectiveReloc(SMLoc DirectiveLoc) {
3199 getStreamer().emitRelocDirective(*Offset, Name, Expr, DirectiveLoc,
3527 bool AsmParser::parseDirectiveFile(SMLoc DirectiveLoc) {
3629 return Error(DirectiveLoc, toString(FileNumOrErr.takeError()));
3635 return Warning(DirectiveLoc, "inconsistent use of MD5 checksums");
3756 bool AsmParser::parseDirectiveLocLabel(SMLoc DirectiveLoc) {
3758 DirectiveLoc = Lexer.getLoc();
3763 getStreamer().emitDwarfLocLabelDirective(DirectiveLoc, Name);
3918 SMLoc DirectiveLoc = getTok().getLoc();
3973 DirectiveLoc);
4266 SMLoc DirectiveLoc) {
4270 if (getTargetParser().parseRegister(RegNo, DirectiveLoc, DirectiveLoc))
4281 bool AsmParser::parseDirectiveCFIDefCfa(SMLoc DirectiveLoc) {
4283 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseComma() ||
4287 getStreamer().emitCFIDefCfa(Register, Offset, DirectiveLoc);
4293 bool AsmParser::parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc) {
4298 getStreamer().emitCFIDefCfaOffset(Offset, DirectiveLoc);
4304 bool AsmParser::parseDirectiveCFIRegister(SMLoc DirectiveLoc) {
4306 if (parseRegisterOrRegisterNumber(Register1, DirectiveLoc) || parseComma() ||
4307 parseRegisterOrRegisterNumber(Register2, DirectiveLoc) || parseEOL())
4310 getStreamer().emitCFIRegister(Register1, Register2, DirectiveLoc);
4316 bool AsmParser::parseDirectiveCFIWindowSave(SMLoc DirectiveLoc) {
4319 getStreamer().emitCFIWindowSave(DirectiveLoc);
4325 bool AsmParser::parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc) {
4330 getStreamer().emitCFIAdjustCfaOffset(Adjustment, DirectiveLoc);
4336 bool AsmParser::parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc) {
4338 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseEOL())
4341 getStreamer().emitCFIDefCfaRegister(Register, DirectiveLoc);
4347 bool AsmParser::parseDirectiveCFILLVMDefAspaceCfa(SMLoc DirectiveLoc) {
4349 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseComma() ||
4355 DirectiveLoc);
4361 bool AsmParser::parseDirectiveCFIOffset(SMLoc DirectiveLoc) {
4365 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseComma() ||
4369 getStreamer().emitCFIOffset(Register, Offset, DirectiveLoc);
4375 bool AsmParser::parseDirectiveCFIRelOffset(SMLoc DirectiveLoc) {
4378 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseComma() ||
4382 getStreamer().emitCFIRelOffset(Register, Offset, DirectiveLoc);
4437 bool AsmParser::parseDirectiveCFIRememberState(SMLoc DirectiveLoc) {
4440 getStreamer().emitCFIRememberState(DirectiveLoc);
4446 bool AsmParser::parseDirectiveCFIRestoreState(SMLoc DirectiveLoc) {
4449 getStreamer().emitCFIRestoreState(DirectiveLoc);
4455 bool AsmParser::parseDirectiveCFISameValue(SMLoc DirectiveLoc) {
4458 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseEOL())
4461 getStreamer().emitCFISameValue(Register, DirectiveLoc);
4467 bool AsmParser::parseDirectiveCFIRestore(SMLoc DirectiveLoc) {
4469 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseEOL())
4472 getStreamer().emitCFIRestore(Register, DirectiveLoc);
4478 bool AsmParser::parseDirectiveCFIEscape(SMLoc DirectiveLoc) {
4495 getStreamer().emitCFIEscape(Values, DirectiveLoc);
4501 bool AsmParser::parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc) {
4503 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseEOL())
4511 bool AsmParser::parseDirectiveCFISignalFrame(SMLoc DirectiveLoc) {
4521 bool AsmParser::parseDirectiveCFIUndefined(SMLoc DirectiveLoc) {
4524 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseEOL())
4527 getStreamer().emitCFIUndefined(Register, DirectiveLoc);
4546 bool AsmParser::parseDirectiveCFIValOffset(SMLoc DirectiveLoc) {
4550 if (parseRegisterOrRegisterNumber(Register, DirectiveLoc) || parseComma() ||
4554 getStreamer().emitCFIValOffset(Register, Offset, DirectiveLoc);
4580 bool AsmParser::parseDirectiveMacro(SMLoc DirectiveLoc) {
4661 return Error(DirectiveLoc, "no matching '.endmacro' in definition");
4693 return Error(DirectiveLoc, "macro '" + Name + "' is already defined");
4699 checkForBadMacro(DirectiveLoc, Name, Body, Parameters);
4721 void AsmParser::checkForBadMacro(SMLoc DirectiveLoc, StringRef Name,
4804 Warning(DirectiveLoc, "macro defined with named parameters which are not "
4851 bool AsmParser::parseDirectivePurgeMacro(SMLoc DirectiveLoc) {
4861 return Error(DirectiveLoc, "macro '" + Name + "' is not defined");
5139 bool AsmParser::parseDirectiveAbort(SMLoc DirectiveLoc) {
5145 return Error(DirectiveLoc, ".abort detected. Assembly stopping");
5148 return Error(DirectiveLoc,
5215 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) {
5257 bool AsmParser::parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank) {
5279 bool AsmParser::parseDirectiveIfc(SMLoc DirectiveLoc, bool ExpectEqual) {
5305 bool AsmParser::parseDirectiveIfeqs(SMLoc DirectiveLoc, bool ExpectEqual) {
5343 bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
5369 bool AsmParser::parseDirectiveElseIf(SMLoc DirectiveLoc) {
5372 return Error(DirectiveLoc, "Encountered a .elseif that doesn't follow an"
5399 bool AsmParser::parseDirectiveElse(SMLoc DirectiveLoc) {
5405 return Error(DirectiveLoc, "Encountered a .else that doesn't follow "
5421 bool AsmParser::parseDirectiveEnd(SMLoc DirectiveLoc) {
5484 bool AsmParser::parseDirectiveEndIf(SMLoc DirectiveLoc) {
5489 return Error(DirectiveLoc, "Encountered a .endif that doesn't follow "
5676 MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) {
5683 printError(DirectiveLoc, "no matching '.endr' in definition");
5718 void AsmParser::instantiateMacroLikeBody(MCAsmMacro *M, SMLoc DirectiveLoc,
5728 DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size()};
5739 bool AsmParser::parseDirectiveRept(SMLoc DirectiveLoc, StringRef Dir) {
5754 MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
5767 instantiateMacroLikeBody(M, DirectiveLoc, OS);
5774 bool AsmParser::parseDirectiveIrp(SMLoc DirectiveLoc) {
5783 MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
5799 instantiateMacroLikeBody(M, DirectiveLoc, OS);
5806 bool AsmParser::parseDirectiveIrpc(SMLoc DirectiveLoc) {
5821 MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
5842 instantiateMacroLikeBody(M, DirectiveLoc, OS);
5847 bool AsmParser::parseDirectiveEndr(SMLoc DirectiveLoc) {
5892 bool AsmParser::parseDirectivePrint(SMLoc DirectiveLoc) {
5896 return Error(DirectiveLoc, "expected double quoted string after .print");