/external/llvm/lib/TableGen/ |
D | Error.cpp | 54 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-10.0/llvm/lib/TableGen/ |
D | Error.cpp | 58 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() argument 59 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError() 75 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError() argument 76 PrintError(ErrorLoc, Msg); in PrintFatalError()
|
/external/llvm-project/llvm/include/llvm/TableGen/ |
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,
|
/external/llvm-project/llvm/lib/TableGen/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/ |
D | RISCVAsmParser.cpp | 800 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local 801 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError() 844 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 847 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 849 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 850 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 851 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 853 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction() 861 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 863 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() [all …]
|
/external/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
D | RISCVAsmParser.cpp | 996 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError() local 997 return Error(ErrorLoc, Msg + " [" + Twine(Lower) + ", " + Twine(Upper) + "]"); in generateImmOutOfRangeError() 1042 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1045 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 1047 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 1048 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 1049 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1051 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction() 1059 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1061 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() [all …]
|
/external/llvm/include/llvm/TableGen/ |
D | Error.h | 26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 31 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
D | Error.h | 28 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 33 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
|
/external/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/ |
D | BPFAsmParser.cpp | 288 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-10.0/llvm/lib/Target/MSP430/AsmParser/ |
D | MSP430AsmParser.cpp | 269 SMLoc ErrorLoc = Loc; in MatchAndEmitInstruction() local 272 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 274 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 275 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 276 ErrorLoc = Loc; in MatchAndEmitInstruction() 278 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
D | MSP430AsmParser.cpp | 271 SMLoc ErrorLoc = Loc; in MatchAndEmitInstruction() local 274 return Error(ErrorLoc, "too few operands for instruction"); in MatchAndEmitInstruction() 276 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 277 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 278 ErrorLoc = Loc; in MatchAndEmitInstruction() 280 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 1031 SMLoc ErrorLoc = Parser.getTok().getLoc(); in ParseDirectiveInsn() local 1033 return Error(ErrorLoc, "expected instruction format"); in ParseDirectiveInsn() 1044 return Error(ErrorLoc, "unrecognized format"); in ParseDirectiveInsn() 1273 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1278 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 1279 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 1280 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1282 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/ |
D | WebAssemblyAsmParser.cpp | 854 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 858 ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in MatchAndEmitInstruction() 859 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 860 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 862 return Parser.Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 656 SMLoc ErrorLoc; in MatchAndEmitInstruction() local 668 ErrorLoc = IdLoc; in MatchAndEmitInstruction() 673 ErrorLoc = ((LanaiOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 674 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 675 ErrorLoc = IdLoc; in MatchAndEmitInstruction() 677 return Error(ErrorLoc, "Invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 638 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-project/llvm/lib/Target/Lanai/AsmParser/ |
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()
|
/external/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 1182 SMLoc ErrorLoc = Parser.getTok().getLoc(); in ParseDirectiveInsn() local 1184 return Error(ErrorLoc, "expected instruction format"); in ParseDirectiveInsn() 1195 return Error(ErrorLoc, "unrecognized format"); in ParseDirectiveInsn() 1455 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1460 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 1461 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 1462 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1464 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 818 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/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
D | WebAssemblyAsmParser.cpp | 953 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 957 ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in MatchAndEmitInstruction() 958 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 959 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 961 return Parser.Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLLexer.h | 69 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
|
/external/llvm-project/llvm/lib/AsmParser/ |
D | LLLexer.h | 69 bool Error(LocTy ErrorLoc, const Twine &Msg) const;
|
/external/llvm-project/llvm/tools/llvm-rc/ |
D | ResourceScriptParser.h | 53 LocIter ErrorLoc, FileEnd; variable
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 6111 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-10.0/llvm/lib/Target/AVR/AsmParser/ |
D | AVRAsmParser.cpp | 280 SMLoc ErrorLoc = Loc; in invalidOperand() local 291 ErrorLoc = Op.getStartLoc(); in invalidOperand() 300 return Error(ErrorLoc, Diag); in invalidOperand()
|