reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/MC/MCParser/COFFAsmParser.cpp
  469     return Error(
  497       return Error(OffsetLoc, "invalid '.rva' directive offset, can't be less "
  591     return Error(Loc, "cannot make section associative with .linkonce");
  594     return Error(Loc, Twine("section '") + Current->getSectionName() +
  696     return Error(startLoc, "expected @unwind or @except");
  702     return Error(startLoc, "expected @unwind or @except");
lib/MC/MCParser/DarwinAsmParser.cpp
  559     return Error(Loc, "indirect symbol not in a symbol pointer or stub "
  669     return Error(Loc, "expected identifier after '.section' directive");
  697     return Error(Loc, ErrorStr);
  769     return Error(IDLoc, ".secure_log_unique specified multiple times");
  774     return Error(IDLoc, ".secure_log_unique used but AS_SECURE_LOG_FILE "
  784        return Error(IDLoc, Twine("can't open secure log file: ") +
  862     return Error(SizeLoc, "invalid '.tbss' directive size, can't be less than"
  867     return Error(Pow2AlignmentLoc, "invalid '.tbss' alignment, can't be less"
  871     return Error(IDLoc, "invalid symbol redefinition");
  947     return Error(SizeLoc, "invalid '.zerofill' directive size, can't be less "
  954     return Error(Pow2AlignmentLoc, "invalid '.zerofill' directive alignment, "
  958     return Error(IDLoc, "invalid symbol redefinition");
  989     return Error(Loc, "unknown region type in '.data_region' directive");
 1175     return Error(PlatformLoc, "unknown platform name");
lib/MC/MCParser/ELFAsmParser.cpp
  726     return Error(TypeLoc, "unsupported attribute in '.type' directive");
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2319     Error(S, "Expected cN operand where 0 <= N <= 15");
 2325     Error(S, "Expected cN operand where 0 <= N <= 15");
 2332     Error(S, "Expected cN operand where 0 <= N <= 15");
 2486       Error(S, "gotpage label reference not allowed an addend");
 2496       Error(S, "page or gotpage label reference expected");
 2537       Error(S, "unexpected adr label");
 2629     Error(Parser.getTok().getLoc(), "only 'lsl #+N' valid after immediate");
 2639     Error(Parser.getTok().getLoc(), "only 'lsl #+N' valid after immediate");
 2646     Error(Parser.getTok().getLoc(), "positive shift amount required");
 2784     Error(E, "expected integer shift amount");
 2794     Error(E, "expected constant '#imm' after shift specifier");
 2995       Error(ExprLoc, "immediate value expected for barrier operand");
 2999       Error(ExprLoc, "barrier operand out of range");
 3186     Error(S, "not expecting size suffix");
 3199     Error(getLoc(), "expecting 'm' or 'z' predication");
 3325       Error(Loc, "vector register expected");
 3362       Error(Loc, "mismatched register size suffix");
 3369       Error(Loc, "invalid number of vectors");
 3386         Error(Loc, "mismatched register size suffix");
 3393         Error(Loc, "registers must be sequential");
 3406     Error(S, "invalid number of vectors");
 3451     Error(getLoc(), "index must be absent or #0");
 3458     Error(getLoc(), "index must be absent or #0");
 3540   return Error(getLoc(), "expected 'vl' or '#<imm>'");
 3569       return Error(S, "invalid operand");
 3676       return Error(Loc, "Only valid when first operand is register");
 3704         return Error(Loc, "Immediate too large for register");
 3799       return Error(SuffixLoc, "invalid condition code");
 3910       return Error(IDLoc, "instruction is unpredictable when following a"
 3915       return Error(Loc[0], "instruction is unpredictable when following a"
 3923         return Error(Loc[0], "instruction is unpredictable when following a"
 3943         return Error(IDLoc, "instruction is unpredictable when following a"
 3948         return Error(IDLoc, "instruction is unpredictable when following a"
 3953         return Error(IDLoc, "instruction is unpredictable when following a"
 3971       return Error(Loc[0], "unpredictable LDP instruction, writeback base "
 3974       return Error(Loc[1], "unpredictable LDP instruction, writeback base "
 3987       return Error(Loc[1], "unpredictable LDP instruction, Rt2==Rt");
 4000       return Error(Loc[1], "unpredictable LDP instruction, Rt2==Rt");
 4017       return Error(Loc[0], "unpredictable STP instruction, writeback base "
 4020       return Error(Loc[1], "unpredictable STP instruction, writeback base "
 4049       return Error(Loc[0], "unpredictable LDR instruction, writeback base "
 4068       return Error(Loc[0], "unpredictable STR instruction, writeback base "
 4085       return Error(Loc[0],
 4099       return Error(Loc[0],
 4152         return Error(Loc.back(), "invalid immediate expression");
 4177       return Error(Loc, "operand must be 64-bit form of destination register");
 4179       return Error(Loc, "operand must be 32-bit form of destination register");
 4181       return Error(Loc, "operand must match destination register");
 4186     return Error(Loc,
 4189     return Error(Loc, "invalid operand for instruction");
 4191     return Error(Loc, "invalid type suffix for instruction");
 4193     return Error(Loc, "expected AArch64 condition code");
 4195     return Error(Loc,
 4198     return Error(Loc,
 4201     return Error(Loc,
 4204     return Error(Loc, "expected compatible register or logical immediate");
 4206     return Error(Loc, "expected 'lsl' with optional integer 0 or 16");
 4208     return Error(Loc, "expected 'lsl' with optional integer 0, 16, 32 or 48");
 4210     return Error(Loc,
 4213     return Error(Loc,
 4216     return Error(Loc,
 4219     return Error(Loc, "index must be an integer in range [-32, 31].");
 4221     return Error(Loc, "index must be an integer in range [-16, 15].");
 4223     return Error(Loc, "index must be an integer in range [-8, 7].");
 4225     return Error(Loc, "index must be a multiple of 2 in range [-16, 14].");
 4227     return Error(Loc, "index must be a multiple of 3 in range [-24, 21].");
 4229     return Error(Loc, "index must be a multiple of 4 in range [-32, 28].");
 4231     return Error(Loc, "index must be a multiple of 16 in range [-128, 112].");
 4233     return Error(Loc, "index must be an integer in range [-32, 31].");
 4235     return Error(Loc, "index must be an integer in range [-128, 127].");
 4237     return Error(Loc, "index must be an integer in range [-256, 255].");
 4239     return Error(Loc, "index must be a multiple of 16 in range [-4096, 4080].");
 4241     return Error(Loc, "index must be a multiple of 8 in range [-4096, 4088].");
 4243     return Error(Loc, "index must be a multiple of 4 in range [-256, 252].");
 4245     return Error(Loc, "index must be a multiple of 8 in range [-512, 504].");
 4247     return Error(Loc, "index must be a multiple of 16 in range [-1024, 1008].");
 4249     return Error(Loc, "index must be a multiple of 8 in range [0, 248].");
 4251     return Error(Loc, "index must be a multiple of 4 in range [0, 124].");
 4253     return Error(Loc, "index must be a multiple of 2 in range [0, 62].");
 4255     return Error(Loc, "index must be a multiple of 8 in range [0, 504].");
 4257     return Error(Loc, "index must be a multiple of 16 in range [0, 1008].");
 4259     return Error(Loc, "index must be a multiple of 4 in range [0, 252].");
 4261     return Error(Loc, "index must be a multiple of 2 in range [0, 126].");
 4263     return Error(Loc, "index must be in range [0, 63].");
 4265     return Error(Loc,
 4268     return Error(Loc,
 4271     return Error(Loc,
 4274     return Error(Loc,
 4277     return Error(Loc,
 4280     return Error(Loc,
 4283     return Error(Loc,
 4286     return Error(Loc,
 4289     return Error(Loc,
 4292     return Error(Loc,
 4295     return Error(Loc, "index must be an integer in range [0, 4095].");
 4297     return Error(Loc, "index must be a multiple of 2 in range [0, 8190].");
 4299     return Error(Loc, "index must be a multiple of 4 in range [0, 16380].");
 4301     return Error(Loc, "index must be a multiple of 8 in range [0, 32760].");
 4303     return Error(Loc, "index must be a multiple of 16 in range [0, 65520].");
 4305     return Error(Loc, "immediate must be an integer in range [0, 1].");
 4307     return Error(Loc, "immediate must be an integer in range [0, 7].");
 4309     return Error(Loc, "immediate must be an integer in range [0, 15].");
 4311     return Error(Loc, "immediate must be an integer in range [0, 31].");
 4313     return Error(Loc, "immediate must be an integer in range [0, 63].");
 4315     return Error(Loc, "immediate must be an integer in range [0, 127].");
 4317     return Error(Loc, "immediate must be an integer in range [0, 255].");
 4319     return Error(Loc, "immediate must be an integer in range [0, 65535].");
 4321     return Error(Loc, "immediate must be an integer in range [1, 8].");
 4323     return Error(Loc, "immediate must be an integer in range [1, 16].");
 4325     return Error(Loc, "immediate must be an integer in range [1, 32].");
 4327     return Error(Loc, "immediate must be an integer in range [1, 64].");
 4329     return Error(Loc, "immediate must be an integer in range [0, 255]"
 4334     return Error(Loc, "immediate must be an integer in range [0, 255] or a "
 4337     return Error(Loc, "immediate must be an integer in range [-128, 255]"
 4340     return Error(Loc, "immediate must be an integer in range [-128, 127] or a "
 4344     return Error(Loc, "immediate must be an integer in range [-128, 127] or a "
 4347     return Error(Loc, "expected lane specifier '[1]'");
 4349     return Error(Loc, "vector lane must be an integer in range [0, 15].");
 4351     return Error(Loc, "vector lane must be an integer in range [0, 7].");
 4353     return Error(Loc, "vector lane must be an integer in range [0, 3].");
 4355     return Error(Loc, "vector lane must be an integer in range [0, 1].");
 4357     return Error(Loc, "vector lane must be an integer in range [0, 63].");
 4359     return Error(Loc, "vector lane must be an integer in range [0, 31].");
 4361     return Error(Loc, "vector lane must be an integer in range [0, 15].");
 4363     return Error(Loc, "vector lane must be an integer in range [0, 7].");
 4365     return Error(Loc, "vector lane must be an integer in range [0, 3].");
 4367     return Error(Loc, "expected label or encodable integer pc offset");
 4369     return Error(Loc, "expected readable system register");
 4371     return Error(Loc, "expected writable system register or pstate");
 4373     return Error(Loc, "complex rotation must be 0, 90, 180 or 270.");
 4375     return Error(Loc, "complex rotation must be 90 or 270.");
 4380     return Error(Loc, "unrecognized instruction mnemonic" + Suggestion);
 4383     return Error(Loc, "register must be x0..x30 or xzr, without shift");
 4385     return Error(Loc, "register must be x0..x30 or xzr, with required shift 'lsl #1'");
 4387     return Error(Loc, "register must be x0..x30 or xzr, with required shift 'lsl #2'");
 4389     return Error(Loc, "register must be x0..x30 or xzr, with required shift 'lsl #3'");
 4391     return Error(Loc, "register must be x0..x30 without shift");
 4393     return Error(Loc, "register must be x0..x30 with required shift 'lsl #1'");
 4395     return Error(Loc, "register must be x0..x30 with required shift 'lsl #2'");
 4397     return Error(Loc, "register must be x0..x30 with required shift 'lsl #3'");
 4400     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s, (uxtw|sxtw)'");
 4403     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s, (uxtw|sxtw) #1'");
 4406     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s, (uxtw|sxtw) #2'");
 4409     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s, (uxtw|sxtw) #3'");
 4412     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d, (uxtw|sxtw)'");
 4415     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d, (lsl|uxtw|sxtw) #1'");
 4418     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d, (lsl|uxtw|sxtw) #2'");
 4421     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d, (lsl|uxtw|sxtw) #3'");
 4423     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s'");
 4425     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s, lsl #1'");
 4427     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s, lsl #2'");
 4429     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].s, lsl #3'");
 4431     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d'");
 4433     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d, lsl #1'");
 4435     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d, lsl #2'");
 4437     return Error(Loc, "invalid shift/extend specified, expected 'z[0..31].d, lsl #3'");
 4439     return Error(Loc, "expected register without element width suffix");
 4445     return Error(Loc, "invalid element width");
 4447     return Error(Loc, "Invalid restricted vector register, expected z0.b..z7.b");
 4449     return Error(Loc, "Invalid restricted vector register, expected z0.h..z7.h");
 4451     return Error(Loc, "Invalid restricted vector register, expected z0.s..z7.s");
 4453     return Error(Loc, "Invalid restricted vector register, expected z0.h..z15.h");
 4455     return Error(Loc, "Invalid restricted vector register, expected z0.s..z15.s");
 4457     return Error(Loc, "Invalid restricted vector register, expected z0.d..z15.d");
 4459     return Error(Loc, "invalid predicate pattern");
 4465     return Error(Loc, "invalid predicate register.");
 4467     return Error(Loc, "invalid restricted predicate register, expected p0..p7 (without element suffix)");
 4469     return Error(Loc, "invalid restricted predicate register, expected p0.b..p7.b");
 4471     return Error(Loc, "invalid restricted predicate register, expected p0.h..p7.h");
 4473     return Error(Loc, "invalid restricted predicate register, expected p0.s..p7.s");
 4475     return Error(Loc, "invalid restricted predicate register, expected p0.d..p7.d");
 4477     return Error(Loc, "Invalid floating point constant, expected 0.5 or 1.0.");
 4479     return Error(Loc, "Invalid floating point constant, expected 0.5 or 2.0.");
 4481     return Error(Loc, "Invalid floating point constant, expected 0.0 or 1.0.");
 4552           return Error(LSBOp.getStartLoc(),
 4555           return Error(WidthOp.getStartLoc(),
 4567           return Error(WidthOp.getStartLoc(),
 4608             return Error(Op3.getStartLoc(),
 4611             return Error(Op4.getStartLoc(),
 4623             return Error(Op4.getStartLoc(),
 4672             return Error(Op3.getStartLoc(),
 4675             return Error(Op4.getStartLoc(),
 4681             return Error(Op4.getStartLoc(),
 4835     return Error(IDLoc, Msg);
 4844         return Error(IDLoc, "too few operands for instruction",
 5002       return Error(IDLoc, "too few operands for instruction", SMRange(IDLoc, (*Operands.back()).getEndLoc()));
 5112     return Error(ArchLoc, "unknown arch name");
 5185       return Error(ExtLoc, "unsupported architectural extension: " + Name);
 5196   return Error(ExtLoc, "unknown architectural extension: " + Name);
 5222     Error(CurLoc, "unknown CPU name");
 5264       Error(CurLoc, "unsupported architectural extension");
 5275     return Error(Loc, "expected expression following '.inst' directive");
 5394       return Error(SRegLoc, "vector register without type specifier expected");
 5407       return Error(SRegLoc,
 5420       return Error(SRegLoc,
 5425     return Error(SRegLoc, "register name or alias expected");
 5594     Error(S, "expected register");
 5611     Error(S, "expected first even register of a "
 5620     Error(S, "expected first even register of a "
 5626     Error(getLoc(), "expected comma");
 5641     Error(E,"expected second odd register of a "
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 2303     return !Error(getParser().getTok().getLoc(),
 2306     return !Error(
 2325     Error(StartLoc, "not a valid operand.");
 2534     Error(getLoc(), "invalid syntax, expected 'neg' modifier");
 2543     Error(Loc, "expected register or immediate");
 2556     Error(Loc, "expected register or immediate");
 2584       Error(Op.getStartLoc(), "expected an absolute expression");
 2618       Error(Op.getStartLoc(), "expected an absolute expression");
 3274     Error(getFlatOffsetLoc(Operands),
 3285       Error(getFlatOffsetLoc(Operands),
 3292       Error(getFlatOffsetLoc(Operands),
 3408     Error(IDLoc,
 3413     Error(IDLoc,
 3418     Error(IDLoc,
 3423     Error(IDLoc,
 3428     Error(IDLoc,
 3433     Error(IDLoc,
 3438     Error(IDLoc,
 3444     Error(IDLoc,
 3449     Error(IDLoc, "dim modifier is required on this GPU");
 3453     Error(IDLoc,
 3458     Error(IDLoc,
 3463     Error(IDLoc,
 3468     Error(IDLoc,
 3523     return Error(IDLoc, "instruction not supported on this GPU");
 3529     return Error(IDLoc, "invalid instruction" + Suggestion,
 3537         return Error(IDLoc, "too few operands for instruction");
 3543     return Error(ErrorLoc, "invalid operand for instruction");
 3547     return Error(IDLoc, "internal error: instruction without _e64 suffix "
 4100     return Error(getParser().getTok().getLoc(),
 4112     return Error(getParser().getTok().getLoc(),
 4134     return Error(getParser().getTok().getLoc(),
 4146       return Error(getParser().getTok().getLoc(), "invalid HSA metadata");
 4149       return Error(getParser().getTok().getLoc(), "invalid HSA metadata");
 4207     return Error(getParser().getTok().getLoc(), "invalid PAL metadata");
 4214     return Error(getParser().getTok().getLoc(),
 4266     return Error(SizeLoc, "size must be non-negative");
 4268     return Error(SizeLoc, "size is too large");
 4277       return Error(AlignLoc, "alignment must be a power of two");
 4283       return Error(AlignLoc, "alignment is too large");
 4292     return Error(NameLoc, "invalid symbol redefinition");
 4504         Error(getLexer().getLoc(), "failed parsing operand.");
 4511         Error(getLexer().getLoc(), "not a valid operand.");
 4547     Error(S, "invalid " + StringRef(Prefix) + " value.");
 4578       Error(Loc, "invalid " + StringRef(Prefix) + " value.");
 4588       Error(getLoc(), "expected a closing square bracket");
 4614             Error(S, "r128 modifier is not supported on this GPU");
 4616             Error(S, "a16 modifier is not supported on this GPU");
 4692           Error(Parser.getTok().getLoc(), "out of range dfmt");
 4706           Error(Parser.getTok().getLoc(), "out of range nfmt");
 4901     Error(CntLoc, "invalid counter name " + CntName);
 4906     Error(ValLoc, "too large value for " + CntName);
 4915       Error(getLoc(), "expected a counter name");
 4986     Error(Loc, "specified hardware register is not supported on this GPU");
 4989     Error(Loc, "invalid code of hardware register: only 6-bit values are legal");
 4992     Error(Loc, "invalid bit offset: only 5-bit values are legal");
 4995     Error(Loc, "invalid bitfield width: only values from 1 to 32 are legal");
 5020       Error(Loc, "invalid immediate: only 16-bit values are legal");
 5080     Error(S, "invalid message id");
 5083     Error(S, Op.IsDefined ?
 5088     Error(S, "invalid operation id");
 5091     Error(S, "message operation does not support streams");
 5094     Error(S, "invalid message stream id");
 5119       Error(Loc, "invalid immediate: only 16-bit values are legal");
 5182     Error(S, "out of bounds attr");
 5200   Error(Parser.getTok().getLoc(), "invalid exp target");
 5334     Error(getLoc(), ErrMsg);
 5369     Error(getLoc(), ErrMsg);
 5443       Error(ExprLoc, ErrMsg);
 5481     Error(S, "group size must be a power of two");
 5505     Error(S, "group size must be a power of two");
 5525     Error(S, "group size must be a power of two");
 5547     Error(StrLoc, "expected a 5-character mask");
 5559       Error(StrLoc, "invalid mask");
 5589     Error(OffsetLoc, "expected a 16-bit offset");
 5615       Error(ModeLoc, "expected a swizzle mode");
 5681       Error(S, (Imm == 0)?
 5688       Error(S, "duplicate VGPR index mode");
 5724       Error(S, "invalid immediate: only 4-bit values are legal");
 5759       Error(Loc, "expected an absolute expression or a label");
 5761       Error(Loc, "expected a 16-bit signed jump offset");
 7022     Error(S, "expected a 16-bit value");
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  300   return Error(ErrorLoc, Diag);
  305   return Error(Loc, "instruction requires a CPU feature not currently enabled");
  327   case Match_MnemonicFail:   return Error(Loc, "invalid instruction");
  470     return Error(Parser.getTok().getLoc(), "unknown modifier");
  508     return Error(Parser.getTok().getLoc(), "unexpected token in operand");
  618       return Error(Loc, "failed to parse register and immediate pair");
  624       return Error(Loc, "unexpected token in argument list");
  667       return Error(Parser.getTok().getLoc(), "unknown modifier");
lib/Target/BPF/AsmParser/BPFAsmParser.cpp
  291     return Error(IDLoc, "additional inst constraint not met");
  301     return Error(IDLoc, "instruction use requires an option to be enabled");
  303     return Error(IDLoc, "unrecognized instruction mnemonic");
  309         return Error(ErrorLoc, "too few operands for instruction");
  317     return Error(ErrorLoc, "invalid operand for instruction");
  336   return Error(StartLoc, "invalid register name");
  463     return Error(NameLoc, "invalid register/token name");
  477       return Error(Loc, "unexpected token");
  486     return Error(Loc, "unexpected token");
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
  664     return Error(IdLoc, "Instruction use requires option to be enabled");
  666     return Error(IdLoc, "Unrecognized instruction mnemonic");
  671         return Error(IdLoc, "Too few operands for instruction");
  677     return Error(ErrorLoc, "Invalid operand for instruction");
  742       Error(Lexer.getLoc(), "Expected '('");
  759       Error(Lexer.getLoc(), "Expected ')'");
  810     Error(Parser.getTok().getLoc(), "Can't parse ALU operator");
  926             Error(Parser.getTok().getLoc(),
  938     Error(Parser.getTok().getLoc(),
  961       Error(Parser.getTok().getLoc(), "Expected ']'");
  971       Error(Parser.getTok().getLoc(), "Expected ']'");
  983     Error(Parser.getTok().getLoc(),
 1022     Error(Parser.getTok().getLoc(), "Unknown operand");
 1205     Error(Parser.getTok().getLoc(),
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  267     return Error(Loc, "invalid instruction mnemonic");
  272         return Error(ErrorLoc, "too few operands for instruction");
  278     return Error(ErrorLoc, "invalid operand for instruction");
  308   return Error(StartLoc, "invalid register name");
  336     return Error(NameLoc, "unknown instruction");
  353     return Error(ExprLoc, "expected expression operand");
  358       return Error(ExprLoc, "invalid jump offset");
  366     return Error(Loc, "unexpected token");
  404     return Error(Loc, "unexpected token");
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 1110       AsmParser.Error(StartLoc, "-mno-odd-spreg prohibits the use of odd FPU "
 1812         return Error(IDLoc, "branch target out of range");
 1815         return Error(IDLoc, "branch to misaligned address");
 1842         return Error(IDLoc, "branch target out of range");
 1845         return Error(IDLoc, "branch to misaligned address");
 1858         return Error(IDLoc, "branch target out of range");
 1860         return Error(IDLoc, "branch to misaligned address");
 1871         return Error(IDLoc, "branch target out of range");
 1873         return Error(IDLoc, "branch to misaligned address");
 1882         return Error(IDLoc, "branch target out of range");
 1884         return Error(IDLoc, "branch to misaligned address");
 1895         return Error(IDLoc, "branch target out of range");
 1897         return Error(IDLoc, "branch to misaligned address");
 1927           return Error(IDLoc, "expected immediate operand kind");
 1931           return Error(IDLoc, "immediate operand value out of range");
 1944           return Error(IDLoc, "expected immediate operand kind");
 1947           return Error(IDLoc, "immediate operand value out of range");
 2028       return Error(IDLoc, "jal doesn't support multiple symbols in PIC mode");
 2141           return Error(IDLoc, "expected immediate operand kind");
 2145           return Error(IDLoc, "immediate operand value out of range");
 2151           return Error(IDLoc, "expected immediate operand kind");
 2154           return Error(IDLoc, "immediate operand value out of range");
 2159           return Error(IDLoc, "expected immediate operand kind");
 2162           return Error(IDLoc, "immediate operand value out of range");
 2167           return Error(IDLoc, "expected immediate operand kind");
 2171           return Error(IDLoc, "immediate operand value out of range");
 2176           return Error(IDLoc, "expected immediate operand kind");
 2181           return Error(IDLoc, "immediate operand value out of range");
 2186           return Error(IDLoc, "expected immediate operand kind");
 2189           return Error(IDLoc, "immediate operand value out of range");
 2195           return Error(IDLoc, "expected immediate operand kind");
 2198           return Error(IDLoc, "immediate operand value out of range");
 2205           return Error(IDLoc, "expected immediate operand kind");
 2208           return Error(IDLoc, "immediate operand value out of range");
 2215           return Error(IDLoc, "expected immediate operand kind");
 2218           return Error(IDLoc, "immediate operand value out of range");
 2223           return Error(IDLoc, "expected immediate operand kind");
 2226           return Error(IDLoc, "immediate operand value out of range");
 2231           return Error(IDLoc, "invalid operand for instruction");
 2246           return Error(IDLoc, "invalid operand for instruction");
 2621     Error(IDLoc, "instruction requires a 64-bit architecture");
 2632       Error(IDLoc, "instruction requires a 32-bit immediate");
 2722       Error(IDLoc, "instruction requires a 32-bit immediate");
 2802     Error(IDLoc, "la used to load 64-bit address");
 2810     Error(IDLoc, "instruction requires a 64-bit architecture");
 2840       Error(IDLoc, "expected relocatable expression");
 2844       Error(IDLoc, "expected relocatable expression with only one symbol");
 2953           Error(IDLoc, "macro instruction uses large offset, which is not "
 3509         return Error(IDLoc, "branch target out of range");
 3511         return Error(IDLoc, "branch to misaligned address");
 3678         Error(IDLoc, "expected relocatable expression");
 3682         Error(IDLoc, "expected relocatable expression with only one symbol");
 4228     return Error(IDLoc, "instruction not supported on mips32r6 or mips64r6");
 4280     return Error(IDLoc, "instruction not supported on mips32r6 or mips64r6");
 4331     return Error(IDLoc, "instruction not supported on mips32r6 or mips64r6");
 5596     Error(IDLoc, "instruction requires a CPU feature not currently enabled");
 5602         return Error(IDLoc, "too few operands for instruction");
 5609     return Error(ErrorLoc, "invalid operand for instruction");
 5612     return Error(IDLoc,
 5615     return Error(IDLoc, "selector must be zero for pre-MIPS32 ISAs");
 5617     return Error(IDLoc, "invalid instruction");
 5619     return Error(IDLoc, "source and destination must be different");
 5621     return Error(IDLoc, "registers must be different");
 5623     return Error(IDLoc, "invalid operand ($zero) for instruction");
 5625     return Error(IDLoc, "source and destination must match");
 5627     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5630     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), "expected '0'");
 5632     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5635     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5638     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5641     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5644     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5647     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5650     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5653     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5656     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5659     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5662     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5667     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5670     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5673     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5676     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5679     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5682     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5685     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5688     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5691     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5694     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5697     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5700     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5703     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5708     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5712     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5715     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5718     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5721     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5725     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5728     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5731     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5734     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5737     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5740     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5743     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5746     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5749     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5752     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5755     return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
 5760     return Error(ErrorStart, "size plus position are not in the range 0 .. 32",
 5766     return Error(ErrorStart, "size plus position are not in the range 1 .. 63",
 5772     return Error(ErrorStart, "size plus position are not in the range 33 .. 64",
 6193         Error(Parser.getTok().getLoc(), "'(' or expression expected");
 6210     Error(Parser.getTok().getLoc(), "')' expected");
 6361       Error(getLexer().getLoc(), "invalid register number");
 6486             Error(E, "invalid register operand");
 6500         Error(E, "$16 or $31 expected");
 6508         Error(E, "invalid register operand");
 6514         Error(E, "consecutive register numbers expected");
 6526       Error(E, "',' or '-' expected");
 6556       return Error(Loc, "unexpected token in argument list");
 6560       return Error(Loc, "unexpected token, expected ')'");
 6584       return Error(Loc, "unexpected token in argument list");
 6588       return Error(Loc, "unexpected token, expected ']'");
 6612     return Error(NameLoc, "unknown instruction" + Suggestion);
 6622       return Error(Loc, "unexpected token in argument list");
 6633         return Error(Loc, "unexpected token in argument list");
 6646     return Error(Loc, "unexpected token in argument list");
 6656   return Error(Loc, ErrorMsg);
 6660   return Error(Loc, ErrorMsg);
 7270     return Error(Loc, ErrorStr);
 7545       Error(Loc, ".set micromips directive is not supported with MIPS64R6");
 7582       Error(Loc, "MIPS64R6 is not supported with microMIPS");
 7634     return Error(getLexer().getLoc(),
 7652     return Error(getLexer().getLoc(),
 7670     return Error(getLexer().getLoc(),
 7688     return Error(getLexer().getLoc(),
 7706     return Error(getLexer().getLoc(),
 7724     return Error(getLexer().getLoc(),
 7736     return Error(Parser.getTok().getLoc(),
 7749       return Error(Parser.getTok().getLoc(),
 7762       return Error(Parser.getTok().getLoc(),
 7878       return Error(L, "'.module nooddspreg' requires the O32 ABI");
 8073     return Error(L, "'" + Twine(Option) + "' is not a valid .module option.");
 8460       Error(Parser.getTok().getLoc(),
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 1148     return Error(IDLoc, "instruction use requires an option to be enabled");
 1153     return Error(IDLoc, "invalid instruction" + Suggestion,
 1160         return Error(IDLoc, "too few operands for instruction");
 1166     return Error(ErrorLoc, "invalid operand for instruction");
 1417         return Error(Parser.getTok().getLoc(), "expected '('");
 1428       return Error(Parser.getTok().getLoc(), "expected ')'");
 1453       return Error(S, "invalid register name");
 1486     return Error(S, "unknown operand");
 1503       return Error(S, "invalid TLS call expression");
 1505       return Error(Parser.getTok().getLoc(), "missing ')'");
 1523         return Error(S, "invalid register name");
 1528         return Error(S, "unexpected integer value");
 1531         return Error(S, "invalid register number");
 1543       return Error(S, "invalid memory operand");
 1659         return Error(ExprLoc, "literal value out of range for '" +
 1696     return Error(L, "unexpected token in '.machine' directive");
 1727     return Error(L, "unexpected token in directive");
 1768     return Error(L, "expected identifier in '.localentry' directive");
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  775   return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]");
  793     return Error(IDLoc, "instruction use requires an option to be enabled");
  795     return Error(IDLoc, "unrecognized instruction mnemonic");
  800         return Error(ErrorLoc, "too few operands for instruction");
  806     return Error(ErrorLoc, "invalid operand for instruction");
  816         return Error(ErrorLoc, "too few operands for instruction");
  825       return Error(ErrorLoc, "operand must be a constant 64-bit integer");
  832     return Error(ErrorLoc, "immediate must be zero");
  918     return Error(
  924     return Error(
  930     return Error(ErrorLoc, "operand must be a bare symbol name");
  934     return Error(ErrorLoc, "operand must be a bare symbol name");
  938     return Error(ErrorLoc, "operand must be a symbol with %tprel_add modifier");
  973     return Error(StartLoc, "invalid register name");
 1060     Error(S, Msg + " [" + Twine(0) + ", " + Twine((1 << 12) - 1) + "]");
 1072         Error(S, "system register use requires an option to be enabled");
 1082     Error(S, Msg + " [" + Twine(0) + ", " + Twine((1 << 12) - 1) + "]");
 1088     Error(S, Msg + " [" + Twine(0) + ", " + Twine((1 << 12) - 1) + "]");
 1130     Error(getLoc(), "expected '%' for operand modifier");
 1137     Error(getLoc(), "expected valid identifier for operand modifier");
 1143     Error(getLoc(), "unrecognized operand modifier");
 1149     Error(getLoc(), "expected '('");
 1179     Error(getLoc(), "'@plt' operand not valid for instruction");
 1263     Error(getLoc(), "expected '('");
 1271     Error(getLoc(), "expected register");
 1276     Error(getLoc(), "expected ')'");
 1326     Error(getLoc(), OptionalImmOp ? "expected '(' after optional integer offset"
 1333     Error(getLoc(), "expected register");
 1338     Error(getLoc(), "expected ')'");
 1345     Error(OptionalImmOp->getStartLoc(), "optional integer offset must be 0",
 1379   Error(getLoc(), "unknown operand");
 1428     return Error(Loc, "unexpected token");
 1499     return Error(Parser.getTok().getLoc(),
 1509       return Error(Parser.getTok().getLoc(),
 1522       return Error(Parser.getTok().getLoc(),
 1526       return Error(StartLoc, ".option pop with no .option push");
 1536       return Error(Parser.getTok().getLoc(),
 1548       return Error(Parser.getTok().getLoc(),
 1560       return Error(Parser.getTok().getLoc(),
 1572       return Error(Parser.getTok().getLoc(),
 1737     return Error(ErrorLoc, "the second input operand must be tp/x4 when using "
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  519     return Error(IDLoc,
  609     return Error(IDLoc,
  616         return Error(IDLoc, "too few operands for instruction");
  623     return Error(ErrorLoc, "invalid operand for instruction");
  626     return Error(IDLoc, "invalid instruction mnemonic");
  646   return Error(StartLoc, "invalid register name");
  668         return Error(Loc, "unexpected token");
  673       return Error(Loc, "unexpected token");
  685         return Error(Loc, "unexpected token");
  691     return Error(Loc, "unexpected token");
  764       Error(S, "invalid membar mask number");
  785       Error(TagStart, "unknown membar tag");
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  699     return Error(Parser.getTok().getLoc(), "register expected");
  704     return Error(Reg.StartLoc, "invalid register");
  709     return Error(Reg.StartLoc, "invalid register");
  714     return Error(Reg.StartLoc, "invalid register");
  728     return Error(Reg.StartLoc, "invalid register");
  746     return Error(Reg.StartLoc, "invalid operand for instruction");
  748     return Error(Reg.StartLoc, "invalid register pair");
  750     return Error(Reg.StartLoc, "%r0 used in an address");
  786         Error(StartLoc, "invalid register");
  871       return Error(Parser.getTok().getLoc(), "unexpected token in address");
  881     Error(Reg.StartLoc, "invalid use of vector addressing");
  884     Error(Reg.StartLoc, "invalid address register");
  887     Error(Reg.StartLoc, "%r0 used in an address");
  917       Error(StartLoc, "invalid use of length addressing");
  921       Error(StartLoc, "invalid use of indexed addressing");
  945       Error(StartLoc, "invalid use of length addressing");
  958       Error(StartLoc, "invalid use of indexed addressing");
  963       Error(StartLoc, "missing length in address");
  970       Error(StartLoc, "invalid operand for instruction");
  982       Error(StartLoc, "invalid use of length addressing");
  989       Error(StartLoc, "vector index required in address");
 1001       Error(StartLoc, "invalid use of length addressing");
 1033     return Error(ErrorLoc, "expected instruction format");
 1044     return Error(ErrorLoc, "unrecognized format");
 1059       return Error(StartLoc, "unexpected token in directive");
 1081         return Error(StartLoc, "unexpected token in directive");
 1104       return Error(Operand.getStartLoc(), "unexpected operand type");
 1167       return Error(Loc, "unexpected token in argument list");
 1269     return Error(IDLoc, Msg);
 1276         return Error(IDLoc, "too few operands for instruction");
 1282     return Error(ErrorLoc, "invalid operand for instruction");
 1289     return Error(IDLoc, "invalid instruction" + Suggestion,
 1312       Error(StartLoc, "offset out of range");
 1328       Error(Parser.getTok().getLoc(), "unexpected token");
 1339       Error(Parser.getTok().getLoc(), "unknown TLS tag");
 1345       Error(Parser.getTok().getLoc(), "unexpected token");
 1351       Error(Parser.getTok().getLoc(), "unexpected token");