Home
last modified time | relevance | path

Searched refs:ErrorLoc (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/lib/TableGen/
DError.cpp54 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() argument
55 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError()
73 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError() argument
74 PrintError(ErrorLoc, Msg); in PrintFatalError()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DError.cpp57 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() argument
58 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError()
74 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError() argument
75 PrintError(ErrorLoc, Msg); in PrintFatalError()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp288 SMLoc ErrorLoc; in MatchAndEmitInstruction() local
305 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
309 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
311 ErrorLoc = ((BPFOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
313 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
314 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
317 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp655 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local
656 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError()
676 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
679 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction()
681 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
682 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
683 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
685 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
689 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local
690 return Error(ErrorLoc, "operand must be a constant 64-bit integer"); in MatchAndEmitInstruction()
[all …]
/external/swiftshader/third_party/LLVM/lib/TableGen/
DError.cpp23 void PrintError(SMLoc ErrorLoc, const Twine &Msg) { in PrintError() argument
24 SrcMgr.PrintMessage(ErrorLoc, Msg, "error"); in PrintError()
/external/llvm/include/llvm/TableGen/
DError.h26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
31 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DError.h28 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
33 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp322 SMLoc ErrorLoc; in MatchAndEmitInstruction() local
337 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
342 ErrorLoc = ((MBlazeOperand*)Operands[ErrorInfo])->getStartLoc(); in MatchAndEmitInstruction()
343 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
346 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp537 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
541 ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in MatchAndEmitInstruction()
542 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
543 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
545 return Parser.Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp968 SMLoc ErrorLoc = Parser.getTok().getLoc(); in ParseDirectiveInsn() local
970 return Error(ErrorLoc, "expected instruction format"); in ParseDirectiveInsn()
981 return Error(ErrorLoc, "unrecognized format"); in ParseDirectiveInsn()
1208 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
1213 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1214 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
1215 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1217 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
DError.h32 void PrintError(SMLoc ErrorLoc, const Twine &Msg);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp655 SMLoc ErrorLoc; in MatchAndEmitInstruction() local
667 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
672 ErrorLoc = ((LanaiOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
673 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
674 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
676 return Error(ErrorLoc, "Invalid operand for instruction"); in MatchAndEmitInstruction()
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp638 SMLoc ErrorLoc; in MatchAndEmitInstruction() local
649 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
654 ErrorLoc = ((LanaiOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
655 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
656 ErrorLoc = IdLoc; in MatchAndEmitInstruction()
658 return Error(ErrorLoc, "Invalid operand for instruction"); in MatchAndEmitInstruction()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp818 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
823 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
824 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
825 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
827 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1086 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
1091 ErrorLoc = ((X86Operand*)Operands[OrigErrorInfo])->getStartLoc(); in MatchAndEmitInstruction()
1092 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
1095 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLLexer.h70 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp261 SMLoc ErrorLoc = Loc; in invalidOperand() local
272 ErrorLoc = Op.getStartLoc(); in invalidOperand()
281 return Error(ErrorLoc, Diag); in invalidOperand()
/external/clang/lib/Sema/
DSemaOpenMP.cpp6111 SourceLocation ErrorLoc, NoteLoc; in checkBinaryOperation() local
6141 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation()
6148 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation()
6155 NoteLoc = ErrorLoc = AtomicBinOp->getRHS()->getExprLoc(); in checkBinaryOperation()
6160 ErrorLoc = AtomicBinOp->getExprLoc(); in checkBinaryOperation()
6167 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation()
6178 SourceLocation ErrorLoc, NoteLoc; in checkStatement() local
6218 ErrorLoc = AtomicUnaryOp->getExprLoc(); in checkStatement()
6225 NoteLoc = ErrorLoc = AtomicBody->getExprLoc(); in checkStatement()
6230 NoteLoc = ErrorLoc = AtomicBody->getLocStart(); in checkStatement()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceScriptParser.h54 LocIter ErrorLoc, FileEnd; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp604 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
609 ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
610 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
611 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
614 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp574 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local
579 ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
580 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
581 ErrorLoc = IDLoc; in MatchAndEmitInstruction()
584 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLLexer.cpp31 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error() argument
32 ErrorInfo = SM.GetMessage(ErrorLoc, Msg, "error"); in Error()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp584 SMLoc ErrorLoc = IDLoc; in matchOneInstruction() local
589 ErrorLoc = (static_cast<HexagonOperand *>(InstOperands[ErrorInfo].get())) in matchOneInstruction()
591 if (ErrorLoc == SMLoc()) in matchOneInstruction()
592 ErrorLoc = IDLoc; in matchOneInstruction()
594 return Error(ErrorLoc, "invalid operand for instruction"); in matchOneInstruction()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp804 SMLoc ErrorLoc = IDLoc; in matchOneInstruction() local
809 ErrorLoc = (static_cast<HexagonOperand *>(InstOperands[ErrorInfo].get())) in matchOneInstruction()
811 if (ErrorLoc == SMLoc()) in matchOneInstruction()
812 ErrorLoc = IDLoc; in matchOneInstruction()
814 return Error(ErrorLoc, "invalid operand for instruction"); in matchOneInstruction()
/external/llvm/lib/AsmParser/
DLLLexer.cpp32 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error() argument
33 ErrorInfo = SM.GetMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in Error()

12