| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/AsmParser/ |
| H A D | CSKYAsmParser.cpp | 284 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local 285 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError() 325 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 328 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 330 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 331 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 332 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 334 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction() 342 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 344 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/ |
| H A D | Error.h | 26 LLVM_ATTRIBUTE_NORETURN void PrintFatalNote(ArrayRef<SMLoc> ErrorLoc, 38 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 44 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | Error.cpp | 103 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() argument 104 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError() 132 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError() argument 133 PrintError(ErrorLoc, Msg); in PrintFatalError()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 959 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local 960 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError() 1004 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1007 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1009 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 1010 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 1011 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1013 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction() 1021 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1023 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 290 SMLoc ErrorLoc; in MatchAndEmitInstruction() local 307 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 311 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 313 ErrorLoc = ((BPFOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 315 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 316 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 319 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 270 SMLoc ErrorLoc = Loc; in MatchAndEmitInstruction() local 273 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 275 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 276 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 277 ErrorLoc = Loc; in MatchAndEmitInstruction() 279 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 1224 SMLoc ErrorLoc = Parser.getTok().getLoc(); in ParseDirectiveInsn() local 1226 return Error(ErrorLoc, "expected instruction format"); in ParseDirectiveInsn() 1237 return Error(ErrorLoc, "unrecognized format"); in ParseDirectiveInsn() 1527 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1532 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 1533 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 1534 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1536 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 658 SMLoc ErrorLoc; in MatchAndEmitInstruction() local 670 ErrorLoc = IdLoc; in MatchAndEmitInstruction() 675 ErrorLoc = ((LanaiOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 676 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 677 ErrorLoc = IdLoc; in MatchAndEmitInstruction() 679 return Error(ErrorLoc, "Invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 1023 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1027 ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in MatchAndEmitInstruction() 1028 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 1029 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1031 return Parser.Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/ |
| H A D | LLLexer.h | 69 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 281 SMLoc ErrorLoc = Loc; in invalidOperand() local 292 ErrorLoc = Op.getStartLoc(); in invalidOperand() 301 return Error(ErrorLoc, Diag); in invalidOperand()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/ |
| H A D | ResourceScriptParser.h | 53 LocIter ErrorLoc, FileEnd; variable
|
| H A D | ResourceScriptParser.cpp | 36 : ErrorLoc(CurLoc), FileEnd(End) { in ParserError()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/AsmParser/ |
| H A D | M68kAsmParser.cpp | 786 SMLoc ErrorLoc = Loc; in invalidOperand() local 795 ErrorLoc = Op.getStartLoc(); in invalidOperand() 804 return Error(ErrorLoc, Diag); in invalidOperand()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 664 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 669 ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 670 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 671 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 674 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 778 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 783 ErrorLoc = ((VEOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 784 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 785 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 788 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/ |
| H A D | PPCAsmParser.cpp | 1173 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1178 ErrorLoc = ((PPCOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 1179 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1182 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 589 SMLoc ErrorLoc = IDLoc; in matchOneInstruction() local 594 ErrorLoc = (static_cast<HexagonOperand *>(InstOperands[ErrorInfo].get())) in matchOneInstruction() 596 if (ErrorLoc == SMLoc()) in matchOneInstruction() 597 ErrorLoc = IDLoc; in matchOneInstruction() 599 return Error(ErrorLoc, "invalid operand for instruction"); in matchOneInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 10462 SourceLocation ErrorLoc, NoteLoc; in checkBinaryOperation() local 10492 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation() 10499 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation() 10506 NoteLoc = ErrorLoc = AtomicBinOp->getRHS()->getExprLoc(); in checkBinaryOperation() 10511 ErrorLoc = AtomicBinOp->getExprLoc(); in checkBinaryOperation() 10518 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation() 10530 SourceLocation ErrorLoc, NoteLoc; in checkStatement() local 10570 ErrorLoc = AtomicUnaryOp->getExprLoc(); in checkStatement() 10577 NoteLoc = ErrorLoc = AtomicBody->getExprLoc(); in checkStatement() 10582 NoteLoc = ErrorLoc = AtomicBody->getBeginLoc(); in checkStatement() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 1882 SourceLocation ErrorLoc; in createSubstDiag() local 1888 ErrorLoc = PDA.first; in createSubstDiag() 1890 ErrorLoc = Info.getLocation(); in createSubstDiag() 1900 StringRef(EntityBuf, Entity.size()), ErrorLoc, in createSubstDiag()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 28 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error() argument 29 ErrorInfo = SM.GetMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in Error()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 4184 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitATTInstruction() local 4185 if (ErrorLoc == SMLoc()) in MatchAndEmitATTInstruction() 4186 ErrorLoc = IDLoc; in MatchAndEmitATTInstruction() 4187 return Error(ErrorLoc, "immediate must be an integer in range [0, 15]", in MatchAndEmitATTInstruction() 4587 SMLoc ErrorLoc = ((X86Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitIntelInstruction() local 4588 if (ErrorLoc == SMLoc()) in MatchAndEmitIntelInstruction() 4589 ErrorLoc = IDLoc; in MatchAndEmitIntelInstruction() 4590 return Error(ErrorLoc, "immediate must be an integer in range [0, 15]", in MatchAndEmitIntelInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 5092 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 5099 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 5100 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 5101 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 5109 return showMatchError(ErrorLoc, MatchResult, ErrorInfo, Operands); in MatchAndEmitInstruction() 5258 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local 5259 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 5260 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 5261 return showMatchError(ErrorLoc, MatchResult, ErrorInfo, Operands); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 5917 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in RefineErrorLoc() local 5918 if (ErrorLoc == SMLoc()) in RefineErrorLoc() 5920 return ErrorLoc; in RefineErrorLoc() 5943 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 5948 ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in MatchAndEmitInstruction() 5949 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 5950 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 5953 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 4373 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 4378 ErrorLoc = ((AMDGPUOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 4379 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 4380 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 4382 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|