Searched defs:ErrorLoc (Results 1 - 17 of 17) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/TableGen/
H A DError.cpp23 void PrintError(SMLoc ErrorLoc, const Twine &Msg) { argument
24 SrcMgr.PrintMessage(ErrorLoc, Msg, "error");
/external/llvm/lib/TableGen/
H A DError.cpp54 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { argument
55 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
73 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { argument
74 PrintError(ErrorLoc, Msg);
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp32 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { argument
33 ErrorInfo = SM.GetMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
/external/swiftshader/third_party/LLVM/lib/AsmParser/
H A DLLLexer.cpp31 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { argument
32 ErrorInfo = SM.GetMessage(ErrorLoc, Msg, "error");
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp322 SMLoc ErrorLoc; local
337 ErrorLoc = IDLoc;
342 ErrorLoc = ((MBlazeOperand*)Operands[ErrorInfo])->getStartLoc();
343 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
346 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp638 SMLoc ErrorLoc; local
649 ErrorLoc = IdLoc;
654 ErrorLoc = ((LanaiOperand &)*Operands[ErrorInfo]).getStartLoc();
655 if (ErrorLoc == SMLoc())
656 ErrorLoc = IdLoc;
658 return Error(ErrorLoc, "Invalid operand for instruction");
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp574 SMLoc ErrorLoc = IDLoc; local
579 ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc();
580 if (ErrorLoc == SMLoc())
581 ErrorLoc = IDLoc;
584 return Error(ErrorLoc, "invalid operand for instruction");
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1086 SMLoc ErrorLoc = IDLoc; local
1091 ErrorLoc = ((X86Operand*)Operands[OrigErrorInfo])->getStartLoc();
1092 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
1095 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1250 SMLoc ErrorLoc = IDLoc; local
1255 ErrorLoc = ((PPCOperand &)*Operands[ErrorInfo]).getStartLoc();
1256 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
1259 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp818 SMLoc ErrorLoc = IDLoc; local
823 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc();
824 if (ErrorLoc == SMLoc())
825 ErrorLoc = IDLoc;
827 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1165 SMLoc ErrorLoc = IDLoc; local
1170 ErrorLoc = ((AMDGPUOperand &)*Operands[ErrorInfo]).getStartLoc();
1171 if (ErrorLoc == SMLoc())
1172 ErrorLoc = IDLoc;
1174 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp804 SMLoc ErrorLoc = IDLoc; local
809 ErrorLoc = (static_cast<HexagonOperand *>(InstOperands[ErrorInfo].get()))
811 if (ErrorLoc == SMLoc())
812 ErrorLoc = IDLoc;
814 return Error(ErrorLoc, "invalid operand for instruction");
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp4434 SMLoc ErrorLoc = IDLoc; local
4439 ErrorLoc = ((ARMOperand*)Operands[ErrorInfo])->getStartLoc();
4440 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
4443 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp4074 SMLoc ErrorLoc = IDLoc; local
4080 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
4081 if (ErrorLoc == SMLoc())
4082 ErrorLoc = IDLoc;
4090 return showMatchError(ErrorLoc, MatchResult);
4144 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
4145 if (ErrorLoc == SMLoc())
4146 ErrorLoc = IDLoc;
4147 return showMatchError(ErrorLoc, MatchResult);
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3747 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); local
3748 if (ErrorLoc == SMLoc())
3750 return ErrorLoc;
3775 SMLoc ErrorLoc = IDLoc; local
3780 ErrorLoc = Operands[ErrorInfo]->getStartLoc();
3781 if (ErrorLoc == SMLoc())
3782 ErrorLoc = IDLoc;
3785 return Error(ErrorLoc, "invalid operand for instruction");
/external/clang/lib/Sema/
H A DSemaChecking.cpp287 SourceLocation ErrorLoc; local
290 ErrorLoc = BD->getParamDecl(ArgCounter)->getLocStart();
292 ErrorLoc = cast<DeclRefExpr>(BlockArg)->getLocStart();
294 S.Diag(ErrorLoc,
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp8874 SMLoc ErrorLoc = IDLoc; local
8879 ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc();
8880 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
8883 return Error(ErrorLoc, "invalid operand for instruction");
8899 SMLoc ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc(); local
8900 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
8901 return Error(ErrorLoc, "immediate operand must be in the range [0,15]");
8904 SMLoc ErrorLoc local
8920 SMLoc ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getAlignmentLoc(); local
[all...]

Completed in 310 milliseconds