|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/MC/MCParser/MCAsmParser.h 192 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None);
References
include/llvm/MC/MCParser/MCAsmParserExtension.h 75 return getParser().Error(L, Msg, Range);
lib/MC/MCParser/AsmParser.cpp 773 return Error(L, Msg, Range);
815 return Error(Loc, "expected absolute expression");
832 Error(Lexer.getErrLoc(), Lexer.getErr());
1003 return Error(getTok().getLoc(),
1109 return Error(FirstTokenLoc, "invalid token in expression");
1121 return Error(AtLoc, "expected symbol variant after '@'");
1144 return Error(getLexer().getLoc(), "expected a symbol reference");
1156 return Error(SMLoc::getFromPointer(Split.second.begin()),
1174 return Error(EndLoc, "unexpected modifier on variable reference");
1209 return Error(Loc, "directional label undefined");
1483 return Error(StartLoc, "expected absolute expression");
1713 return Error(IDLoc, "unexpected token at start of statement");
1722 return Error(IDLoc, "unexpected token at start of statement");
1747 return Error(IDLoc, "unexpected token at start of statement");
1819 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label");
2196 return Error(IDLoc, "unknown directive");
2398 return Error(L, "Wrong number of arguments");
2669 return Error(IDLoc, "invalid argument identifier for formal argument");
2681 return Error(IDLoc, "cannot mix positional and keyword arguments");
2694 return Error(StrLoc, "expected absolute expression");
2722 return Error(IDLoc, "parameter named '" + FA.Name +
2747 Error(FALocs[FAI].isValid() ? FALocs[FAI] : Lexer.getLoc(),
3031 return Error(ExprLoc, "expression must be relocatable");
3041 return Error(NameLoc, "unknown relocation name");
3059 return Error(ExprLoc, "out of range literal value");
3079 return Asm.Error(ExprLoc, "out of range literal value");
3307 ReturnVal |= Error(AlignmentLoc, "invalid alignment value");
3319 ReturnVal |= Error(AlignmentLoc, "alignment must be a power of 2");
3325 ReturnVal |= Error(MaxBytesLoc,
3461 return Error(DirectiveLoc, toString(FileNumOrErr.takeError()));
3553 return Error(Loc, "is_stmt value not 0 or 1");
3555 return Error(Loc, "is_stmt value not the constant value of 0 or 1");
3566 return Error(Loc, "isa number less than zero");
3569 return Error(Loc, "isa number not a constant value");
3575 return Error(Loc, "unknown sub-directive in '.loc' directive");
3630 return Error(FileNumberLoc, "file number already allocated");
3670 return Error(FunctionIdLoc, "function id already allocated");
3731 return Error(FunctionIdLoc, "function id already allocated");
3787 return Error(Loc, "is_stmt value not 0 or 1");
3789 return Error(Loc, "unknown sub-directive in '.cv_loc' directive");
3879 return Error(Loc, "expected identifier in directive");
3885 return Error(Loc, "expected identifier in directive");
3896 return Error(Loc, "expected def_range type in directive");
3909 return Error(Loc, "expected register number");
3922 return Error(Loc, "expected offset value");
3935 return Error(Loc, "expected register number");
3939 return Error(Loc, "expected offset value");
3955 return Error(Loc, "expected register value");
3960 return Error(Loc, "expected flag value");
3964 return Error(Loc, "expected base pointer offset value");
3974 return Error(Loc, "unexpected def_range type in .cv_def_range directive");
4378 return Error(Lexer.getLoc(),
4400 return Error(QualLoc, "missing parameter qualifier for "
4408 return Error(QualLoc, Qualifier + " is not a valid parameter qualifier "
4447 return Error(DirectiveLoc, "no matching '.endmacro' in definition");
4476 return Error(DirectiveLoc, "macro '" + Name + "' is already defined");
4646 return Error(DirectiveLoc, "macro '" + Name + "' is not defined");
4760 return Error(ExprLoc, "literal value out of range for directive");
4860 return Error(Loc, "expected identifier");
4865 return Error(Loc, "non-local symbol required");
4868 return Error(Loc, "unable to emit symbol attribute");
4910 return Error(Pow2AlignmentLoc, "alignment not supported on this target");
4916 return Error(Pow2AlignmentLoc, "alignment must be a power of 2");
4928 return Error(SizeLoc, "invalid '.comm' or '.lcomm' directive size, can't "
4935 return Error(Pow2AlignmentLoc, "invalid '.comm' or '.lcomm' directive "
4940 return Error(IDLoc, "invalid symbol redefinition");
4964 return Error(Loc, ".abort detected. Assembly stopping.");
4966 return Error(Loc, ".abort '" + Str + "' detected. Assembly stopping.");
5030 return Error(IncbinLoc, "Could not find incbin file '" + Filename + "'");
5197 return Error(DirectiveLoc, "Encountered a .elseif that doesn't follow an"
5232 return Error(DirectiveLoc, "Encountered a .else that doesn't follow "
5271 return Error(L, ".err encountered");
5282 return Error(L, Message);
5319 return Error(DirectiveLoc, "Encountered a .endif that doesn't follow "
5567 return Error(CountLoc, "unexpected token in '" + Dir + "' directive");
5693 return Error(ExprLoc, "unexpected expression in _emit");
5696 return Error(ExprLoc, "literal value out of range for directive");
5709 return Error(ExprLoc, "unexpected expression in align");
5712 return Error(ExprLoc, "literal value not a power of two greater then zero");
5722 return Error(DirectiveLoc, "expected double quoted string after .print");
6048 return Parser.Error(EqualLoc, "Recursive use of '" + Name + "'");
6055 return Parser.Error(EqualLoc, "redefinition of '" + Name + "'");
6057 return Parser.Error(EqualLoc, "invalid assignment to '" + Name + "'");
6059 return Parser.Error(EqualLoc,
lib/MC/MCParser/MCAsmParser.cpp 44 return Error(getTok().getLoc(), Msg);
53 return Error(getTok().getLoc(), Msg);
79 return Error(Loc, Msg);
84 return Error(getLexer().getLoc(), Msg, Range);
lib/MC/MCParser/WasmAsmParser.cpp 71 return Parser->Error(Tok.getLoc(), Msg + Tok.getString());
129 return Parser->Error(Lexer->getLoc(), "unknown section kind: " + Name);
140 return Parser->Error(getTok().getLoc(),
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 3596 return getParser().Error(TargetRange.Start, "target must match options",
3604 return getParser().Error(Range.Start, "value out of range", Range);
3761 return getParser().Error(IDRange.Start, "directive requires gfx10+",
3804 return getParser().Error(IDRange.Start, "directive requires gfx7+",
3811 return getParser().Error(IDRange.Start, "directive requires gfx8+",
3837 return getParser().Error(IDRange.Start, "directive requires gfx9+",
3843 return getParser().Error(IDRange.Start, "directive requires gfx10+",
3849 return getParser().Error(IDRange.Start, "directive requires gfx10+",
3855 return getParser().Error(IDRange.Start, "directive requires gfx10+",
3890 return getParser().Error(IDRange.Start,
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 386 return getParser().Error(L, Msg, Range);
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp 115 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); }
520 return getParser().Error(IDLoc, MemNoShuffMsg);
522 return getParser().Error(IDLoc, llvm::Twine("'") + Option +
619 getParser().Error(IDLoc, "Already in a packet");
629 getParser().Error(IDLoc, "Not in a packet");
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp 219 return Parser.Error(Tok.getLoc(), Msg + Tok.getString());
223 return Parser.Error(Lexer.getTok().getLoc(), Msg);
810 return Parser.Error(
813 return Parser.Error(IDLoc, "invalid instruction");
815 return Parser.Error(IDLoc, "ambiguous instruction");
821 return Parser.Error(IDLoc, "too few operands for instruction");
826 return Parser.Error(ErrorLoc, "invalid operand for instruction");
lib/Target/X86/AsmParser/X86AsmParser.cpp 812 return Parser.Error(L, Msg, Range);