Searched refs:ErrorLoc (Results 1 - 12 of 12) 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.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/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp815 SMLoc ErrorLoc = IDLoc; local
820 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc();
821 if (ErrorLoc == SMLoc())
822 ErrorLoc = IDLoc;
824 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp540 SMLoc ErrorLoc = IDLoc; local
545 ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc();
546 if (ErrorLoc == SMLoc())
547 ErrorLoc = IDLoc;
550 return Error(ErrorLoc, "invalid operand for instruction");
/external/clang/lib/Sema/
H A DSemaOpenMP.cpp4720 SourceLocation ErrorLoc, NoteLoc;
4750 ErrorLoc = AtomicInnerBinOp->getExprLoc();
4757 ErrorLoc = AtomicInnerBinOp->getExprLoc();
4764 NoteLoc = ErrorLoc = AtomicBinOp->getRHS()->getExprLoc();
4769 ErrorLoc = AtomicBinOp->getExprLoc();
4776 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange;
4787 SourceLocation ErrorLoc, NoteLoc;
4827 ErrorLoc = AtomicUnaryOp->getExprLoc();
4834 NoteLoc = ErrorLoc = AtomicBody->getExprLoc();
4839 NoteLoc = ErrorLoc
[all...]
/external/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp632 SMLoc ErrorLoc = IDLoc; local
660 ErrorLoc = ((AMDGPUOperand &)*Operands[ErrorInfo]).getStartLoc();
661 if (ErrorLoc == SMLoc())
662 ErrorLoc = IDLoc;
664 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp8637 SMLoc ErrorLoc = IDLoc; local
8642 ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc();
8643 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
8646 return Error(ErrorLoc, "invalid operand for instruction");
8662 SMLoc ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc(); local
8663 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
8664 return Error(ErrorLoc, "immediate operand must be in the range [0,15]");
8667 SMLoc ErrorLoc local
8683 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/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp811 SMLoc ErrorLoc = IDLoc; local
816 ErrorLoc = (static_cast<HexagonOperand *>(InstOperands[ErrorInfo].get()))
818 if (ErrorLoc == SMLoc())
819 ErrorLoc = IDLoc;
821 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1214 SMLoc ErrorLoc = IDLoc; local
1219 ErrorLoc = ((PPCOperand &)*Operands[ErrorInfo]).getStartLoc();
1220 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc;
1223 return Error(ErrorLoc, "invalid operand for instruction");
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp4109 SMLoc ErrorLoc = IDLoc; local
4115 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
4116 if (ErrorLoc == SMLoc())
4117 ErrorLoc = IDLoc;
4125 return showMatchError(ErrorLoc, MatchResult);
4179 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc();
4180 if (ErrorLoc == SMLoc())
4181 ErrorLoc = IDLoc;
4182 return showMatchError(ErrorLoc, MatchResult);
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3572 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); local
3573 if (ErrorLoc == SMLoc())
3575 return ErrorLoc;
3603 SMLoc ErrorLoc = IDLoc; local
3608 ErrorLoc = Operands[ErrorInfo]->getStartLoc();
3609 if (ErrorLoc == SMLoc())
3610 ErrorLoc = IDLoc;
3613 return Error(ErrorLoc, "invalid operand for instruction");

Completed in 445 milliseconds