• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/

Lines Matching refs:check

964         // Variable symbols may not be marked as defined, so check those
966 // the purposes of this check.
1883 // If macros are enabled, check to see if this is a macro instantiation.
1922 // Next, check the extension directive map to see if any extension has
2857 // Consume the prefix character, and check for a following identifier.
2894 if (check(parseIdentifier(Name), "expected identifier") ||
2901 if (check(getTok().isNot(AsmToken::String), "expected string"))
3019 check(getTok().isNot(AsmToken::Identifier), "expected relocation name"))
3379 if (check(getTok().isNot(AsmToken::String),
3388 if (check(FileNumber == -1,
3407 if (check(getTok().isNot(AsmToken::Identifier),
3413 if (check(FileNumber == -1,
3419 if (check(FileNumber == -1,
3421 check(getTok().isNot(AsmToken::String),
3508 check(FileNumber < 1 && Ctx.getDwarfVersion() < 5, Loc,
3510 check(!getContext().isValidDwarfFileNumber(FileNumber), Loc,
3613 check(FileNumber < 1, FileNumberLoc, "file number less than one") ||
3614 check(getTok().isNot(AsmToken::String),
3619 if (check(getTok().isNot(AsmToken::String),
3648 check(FunctionId < 0 || FunctionId >= UINT_MAX, Loc,
3657 check(FileNumber < 1, Loc, "file number less than one in '" +
3659 check(!getCVContext().isValidFileNumber(FileNumber), Loc,
3703 if (check((getLexer().isNot(AsmToken::Identifier) ||
3714 if (check((getLexer().isNot(AsmToken::Identifier) ||
3819 parseTokenLoc(Loc) || check(parseIdentifier(FnStartName), Loc,
3823 parseTokenLoc(Loc) || check(parseIdentifier(FnEndName), Loc,
3845 check(SourceFileId <= 0, Loc,
3851 check(SourceLineNum < 0, Loc,
3853 parseTokenLoc(Loc) || check(parseIdentifier(FnStartName), Loc,
3855 parseTokenLoc(Loc) || check(parseIdentifier(FnEndName), Loc,
4076 if (check(parseIdentifier(Simple) || Simple != "simple",
4242 if (check(!isValidEncoding(Encoding), "unsupported encoding.") ||
4244 check(parseIdentifier(Name), "expected identifier in directive"))
4456 // Otherwise, check whether we have reach the .endmacro or the start of a
4649 check(parseIdentifier(Name), Loc,
4675 check(AlignSizePow2 < 0 || AlignSizePow2 > 30, ExprLoc,
4698 if (check(parseIdentifier(Option), Loc, kInvalidOptionError) ||
4699 check(Option != "align_to_end", Loc, kInvalidOptionError) ||
4989 if (check(getTok().isNot(AsmToken::String),
4992 check(getTok().isNot(AsmToken::EndOfStatement),
4996 check(enterIncludeFile(Filename), IncludeLoc,
5009 if (check(getTok().isNot(AsmToken::String),
5035 if (check(Skip < 0, SkipLoc, "skip is negative"))
5186 if (check(parseIdentifier(Name), "expected identifier after '.ifdef'") ||
5526 // Otherwise, check whether we have reached the .endr.
5586 if (check(Count < 0, CountLoc, "Count is negative") ||
5615 if (check(parseIdentifier(Parameter.Name),
5650 if (check(parseIdentifier(Parameter.Name),
5752 if (check(parseIdentifier(Name),