Searched refs:ErrorLoc (Results 1 - 9 of 9) sorted by relevance

/external/llvm/include/llvm/TableGen/
H A DError.h26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
31 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
/external/llvm/lib/TableGen/
H A DError.cpp53 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { argument
54 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
70 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { argument
71 PrintError(ErrorLoc, Msg);
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp410 SMLoc ErrorLoc = IDLoc; local
415 ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc();
416 if (ErrorLoc == SMLoc())
417 ErrorLoc = IDLoc;
420 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp711 SMLoc ErrorLoc = IDLoc; local
716 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc();
717 if (ErrorLoc == SMLoc())
718 ErrorLoc = IDLoc;
720 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3842 SMLoc ErrorLoc = IDLoc; local
3847 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
3848 if (ErrorLoc == SMLoc())
3849 ErrorLoc = IDLoc;
3857 return showMatchError(ErrorLoc, MatchResult);
3910 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
3911 if (ErrorLoc == SMLoc())
3912 ErrorLoc = IDLoc;
3913 return showMatchError(ErrorLoc, MatchResult);
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp8099 SMLoc ErrorLoc = IDLoc; local
8104 ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc();
8105 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
8108 return Error(ErrorLoc, "invalid operand for instruction");
8122 SMLoc ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc(); local
8123 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
8124 return Error(ErrorLoc, "immediate operand must be in the range [0,15]");
8127 SMLoc ErrorLoc local
8143 SMLoc ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getAlignmentLoc(); local
[all...]
/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/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1406 SMLoc ErrorLoc = IDLoc; local
1411 ErrorLoc = ((MipsOperand &)*Operands[ErrorInfo]).getStartLoc();
1412 if (ErrorLoc == SMLoc())
1413 ErrorLoc = IDLoc;
1416 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp941 SMLoc ErrorLoc = IDLoc; local
946 ErrorLoc = ((PPCOperand &)*Operands[ErrorInfo]).getStartLoc();
947 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
950 return Error(ErrorLoc, "invalid operand for instruction");

Completed in 467 milliseconds