Home
last modified time | relevance | path

Searched refs:ErrorInfo (Results 1 – 25 of 75) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp52 uint64_t &ErrorInfo,
355 uint64_t ErrorInfo) { in RefineErrorLoc() argument
356 if (ErrorInfo != ~0ULL && ErrorInfo < Operands.size()) { in RefineErrorLoc()
357 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in RefineErrorLoc()
431 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
435 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
451 if (ErrorInfo != ~0U) { in MatchAndEmitInstruction()
452 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
455 ErrorLoc = ((XtensaOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
462 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo), in MatchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp55 uint64_t &ErrorInfo,
63 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
1485 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
1487 SMLoc ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1494 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
1499 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in MatchAndEmitInstruction()
1527 if (ErrorInfo != ~0ULL) { in MatchAndEmitInstruction()
1528 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
1531 ErrorLoc = ((LoongArchOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1544 if (ErrorInfo != ~0ULL && ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp64 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
72 uint64_t &ErrorInfo,
653 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
655 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
662 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
667 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in MatchAndEmitInstruction()
695 if (ErrorInfo != ~0U) { in MatchAndEmitInstruction()
696 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
699 ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
712 if (ErrorInfo != ~0U && ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewError.h41 class CodeViewError : public ErrorInfo<CodeViewError, StringError> {
43 using ErrorInfo<CodeViewError,
44 StringError>::ErrorInfo; // inherit constructors
45 CodeViewError(const Twine &S) : ErrorInfo(S, cv_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAError.h42 class DIAError : public ErrorInfo<DIAError, StringError> {
44 using ErrorInfo<DIAError, StringError>::ErrorInfo;
45 DIAError(const Twine &S) : ErrorInfo(S, dia_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DGenericError.h42 class PDBError : public ErrorInfo<PDBError, StringError> {
44 using ErrorInfo<PDBError, StringError>::ErrorInfo; // inherit constructors
45 PDBError(const Twine &S) : ErrorInfo(S, pdb_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawError.h48 class RawError : public ErrorInfo<RawError, StringError> {
50 using ErrorInfo<RawError, StringError>::ErrorInfo; // inherit constructors
51 RawError(const Twine &S) : ErrorInfo(S, raw_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DMSFError.h46 class MSFError : public ErrorInfo<MSFError, StringError> {
48 using ErrorInfo<MSFError, StringError>::ErrorInfo; // inherit constructors
49 MSFError(const Twine &S) : ErrorInfo(S, msf_error_code::unspecified) {}
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp102 bool generateImmOutOfRangeError(OperandVector &Operands, uint64_t ErrorInfo,
110 uint64_t &ErrorInfo,
1383 OperandVector &Operands, uint64_t ErrorInfo, int64_t Lower, int64_t Upper, in generateImmOutOfRangeError() argument
1385 SMLoc ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
1392 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
1397 auto Result = MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures, in MatchAndEmitInstruction()
1427 if (ErrorInfo != ~0ULL) { in MatchAndEmitInstruction()
1428 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
1431 ErrorLoc = ((RISCVOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
1444 if (ErrorInfo != ~0ULL && ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp11594 bool checkStmt(Stmt *S, ErrorInfoTy &ErrorInfo);
11622 bool checkCondUpdateStmt(IfStmt *S, ErrorInfoTy &ErrorInfo);
11625 bool checkCondExprStmt(Stmt *S, ErrorInfoTy &ErrorInfo);
11628 bool checkType(ErrorInfoTy &ErrorInfo) const;
11630 static bool CheckValue(const Expr *E, ErrorInfoTy &ErrorInfo, in CheckValue() argument
11636 ErrorInfo.Error = ErrorTy::XNotLValue; in CheckValue()
11637 ErrorInfo.ErrorLoc = ErrorInfo.NoteLoc = E->getExprLoc(); in CheckValue()
11638 ErrorInfo.ErrorRange = ErrorInfo.NoteRange = E->getSourceRange(); in CheckValue()
11644 ErrorInfo.Error = ErrorTy::NotScalar; in CheckValue()
11645 ErrorInfo.ErrorLoc = ErrorInfo.NoteLoc = E->getExprLoc(); in CheckValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp39 uint64_t &ErrorInfo,
309 MCStreamer &Out, uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
317 switch (MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm)) { in MatchAndEmitInstruction()
331 if (ErrorInfo != ~0U) { in MatchAndEmitInstruction()
332 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
335 ErrorLoc = ((BPFOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
343 return Error(Operands[ErrorInfo]->getStartLoc(), in MatchAndEmitInstruction()
346 return Error(Operands[ErrorInfo]->getStartLoc(), in MatchAndEmitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp56 uint64_t &ErrorInfo,
89 uint64_t const &ErrorInfo);
90 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo);
287 uint64_t const &ErrorInfo) { in invalidOperand() argument
291 if (ErrorInfo != ~0U) { in invalidOperand()
292 if (ErrorInfo >= Operands.size()) { in invalidOperand()
295 AVROperand const &Op = (AVROperand const &)*Operands[ErrorInfo]; in invalidOperand()
312 uint64_t const &ErrorInfo) { in missingFeature() argument
325 MCStreamer &Out, uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
329 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DOrcError.h47 class DuplicateDefinition : public ErrorInfo<DuplicateDefinition> {
59 class JITSymbolNotFound : public ErrorInfo<JITSymbolNotFound> {
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp43 const uint64_t &ErrorInfo);
44 bool missingFeature(const SMLoc &Loc, const uint64_t &ErrorInfo);
76 uint64_t &ErrorInfo,
992 uint64_t const &ErrorInfo) { in invalidOperand() argument
996 if (ErrorInfo != ~0U) { in invalidOperand()
997 if (ErrorInfo >= Operands.size()) { in invalidOperand()
1000 auto const &Op = (M68kOperand const &)*Operands[ErrorInfo]; in invalidOperand()
1015 uint64_t const &ErrorInfo) { in missingFeature() argument
1030 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
1034 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DError.h52 class BinaryError : public ErrorInfo<BinaryError, ECError> {
66 class GenericBinaryError : public ErrorInfo<GenericBinaryError, BinaryError> {
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/fuzz/
H A Dget_error_info_fuzzer.cpp46 scudo_error_info ErrorInfo; in LLVMFuzzerTestOneInput() local
47 AllocatorT::getErrorInfo(&ErrorInfo, FaultAddr, StackDepotBytes.data(), in LLVMFuzzerTestOneInput()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h54 const ErrorInfoBase &ErrorInfo) = 0;
101 const ErrorInfoBase &ErrorInfo) override;
153 const ErrorInfoBase &ErrorInfo) override;
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp45 uint64_t &ErrorInfo,
258 uint64_t &ErrorInfo, in MatchAndEmitInstruction() argument
262 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
273 if (ErrorInfo != ~0U) { in MatchAndEmitInstruction()
274 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
277 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp49 [&](const llvm::ErrorInfoBase &ErrorInfo, llvm::StringRef ErrorBanner) { in symbolize_error_handler()
51 ErrorInfo.log(OS); in symbolize_error_handler()
47 __anonc0ff35280102(const llvm::ErrorInfoBase &ErrorInfo, llvm::StringRef ErrorBanner) symbolize_error_handler() argument
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h105 class OverflowError : public ErrorInfo<OverflowError> {
167 class UndefVarError : public ErrorInfo<UndefVarError> {
487 class ErrorDiagnostic : public ErrorInfo<ErrorDiagnostic> {
521 class NotFoundError : public ErrorInfo<NotFoundError> { in ErrorDiagnostic()
545 class ErrorReported final : public ErrorInfo<ErrorReported> {
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp275 const ErrorInfoBase &ErrorInfo) { in toHex()
276 ErrHandler(ErrorInfo, Request.ModuleName); in toHex()
392 const ErrorInfoBase &ErrorInfo) { in listEnd()
393 json::Object Json = toJSON(Request, ErrorInfo.message()); in listEnd()
269 printError(const Request & Request,const ErrorInfoBase & ErrorInfo) printError() argument
378 printError(const Request & Request,const ErrorInfoBase & ErrorInfo) printError() argument
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DUnimplementedError.h16 class UnimplementedError : public llvm::ErrorInfo<UnimplementedError> {
/freebsd/contrib/llvm-project/llvm/include/llvm/DWP/
H A DDWPError.h9 class DWPError : public ErrorInfo<DWPError> {
/freebsd/contrib/llvm-project/llvm/include/llvm/WindowsManifest/
H A DWindowsManifestMerger.h39 class WindowsManifestError : public ErrorInfo<WindowsManifestError, ECError> {
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamError.h27 class BinaryStreamError : public ErrorInfo<BinaryStreamError> {

123