/external/llvm/lib/TableGen/ |
D | Error.cpp | 53 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() argument 54 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError() 70 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError() argument 71 PrintError(ErrorLoc, Msg); in PrintFatalError()
|
/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/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 3377 SourceLocation ErrorLoc, NoteLoc; in checkBinaryOperation() local 3407 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation() 3414 ErrorLoc = AtomicInnerBinOp->getExprLoc(); in checkBinaryOperation() 3421 NoteLoc = ErrorLoc = AtomicBinOp->getRHS()->getExprLoc(); in checkBinaryOperation() 3426 ErrorLoc = AtomicBinOp->getExprLoc(); in checkBinaryOperation() 3433 SemaRef.Diag(ErrorLoc, DiagId) << ErrorRange; in checkBinaryOperation() 3444 SourceLocation ErrorLoc, NoteLoc; in checkStatement() local 3484 ErrorLoc = AtomicUnaryOp->getExprLoc(); in checkStatement() 3491 NoteLoc = ErrorLoc = AtomicBody->getExprLoc(); in checkStatement() 3496 NoteLoc = ErrorLoc = AtomicBody->getLocStart(); in checkStatement() [all …]
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 746 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 751 ErrorLoc = ((SystemZOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 752 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 753 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 755 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 407 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 412 ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 413 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 414 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 417 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/R600/AsmParser/ |
D | AMDGPUAsmParser.cpp | 525 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 531 ErrorLoc = ((AMDGPUOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 532 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 533 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 535 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 3872 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 3877 ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 3878 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 3879 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 3887 return showMatchError(ErrorLoc, MatchResult); in MatchAndEmitInstruction() 3940 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local 3941 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 3942 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 3943 return showMatchError(ErrorLoc, MatchResult); in MatchAndEmitInstruction()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 32 bool LLLexer::Error(LocTy ErrorLoc, const Twine &Msg) const { in Error() argument 33 ErrorInfo = SM.GetMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in Error()
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 8643 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 8648 ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 8649 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 8652 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction() 8666 SMLoc ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local 8667 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 8668 return Error(ErrorLoc, "immediate operand must be in the range [0,15]"); in MatchAndEmitInstruction() 8671 SMLoc ErrorLoc = ((ARMOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() local 8672 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 8673 return Error(ErrorLoc, "immediate operand must be in the range [0,239]"); in MatchAndEmitInstruction() [all …]
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 1147 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 1152 ErrorLoc = ((PPCOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 1153 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction() 1156 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2185 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction() local 2190 ErrorLoc = ((MipsOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction() 2191 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction() 2192 ErrorLoc = IDLoc; in MatchAndEmitInstruction() 2195 return Error(ErrorLoc, "invalid operand for instruction"); in MatchAndEmitInstruction()
|