Home
last modified time | relevance | path

Searched refs:ExprLoc (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp366 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction() local
368 return Error(ExprLoc, "expected expression operand"); in parseJccInstruction()
373 return Error(ExprLoc, "invalid jump offset"); in parseJccInstruction()
375 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp2875 SMLoc ExprLoc = getTok().getLoc(); in parseAssignment() local
2904 return Error(ExprLoc, "expected identifier"); in parseAssignment()
3111 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc() local
3117 return Error(ExprLoc, "expression must be relocatable"); in parseDirectiveReloc()
3138 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue() local
3146 return Error(ExprLoc, "out of range literal value"); in parseDirectiveValue()
3149 getStreamer().emitValue(Value, Size, ExprLoc); in parseDirectiveValue()
3160 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3164 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
3289 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill() local
[all …]
H A DMasmParser.cpp5678 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
5683 return Error(ExprLoc, "unexpected expression in _emit"); in parseDirectiveMSEmit()
5686 return Error(ExprLoc, "literal value out of range for directive"); in parseDirectiveMSEmit()
5694 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign() local
5699 return Error(ExprLoc, "unexpected expression in align"); in parseDirectiveMSAlign()
5702 return Error(ExprLoc, "literal value not a power of two greater then zero"); in parseDirectiveMSAlign()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1928 SourceLocation ExprLoc = E->getBeginLoc(); in castForMoving() local
1930 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
1933 .BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in castForMoving()
1934 SourceRange(ExprLoc, ExprLoc), E->getSourceRange()) in castForMoving()
H A DSemaStmt.cpp242 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnused() local
248 bool ShouldSuppress = S.SourceMgr.isMacroBodyExpansion(ExprLoc) || in DiagnoseUnused()
249 S.SourceMgr.isInSystemMacro(ExprLoc); in DiagnoseUnused()
H A DSemaExpr.cpp19137 ValueDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable() argument
19244 : getParentOfCapturingContextOrNull(DC, Var, ExprLoc, in tryCaptureVariable()
19282 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
19287 diagnoseUncapturableValueReferenceOrBinding(*this, ExprLoc, Var); in tryCaptureVariable()
19311 Diag(ExprLoc, diag::err_capture_binding_openmp) << Var; in tryCaptureVariable()
19372 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
19414 !isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this); in tryCaptureVariable()
19422 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
19427 RSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, DeclRefType, Nested, in tryCaptureVariable()
19433 !captureInLambda(LSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
H A DSemaExprCXX.cpp7634 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
7635 if (S.tryCaptureVariable(Var, ExprLoc, TryCaptureKind::Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
7641 S.tryCaptureVariable(Var, ExprLoc, TryCaptureKind::Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaChecking.cpp11973 SourceLocation ExprLoc = E->getExprLoc(); in DiagnoseIntInBoolContext() local
11983 S.Diag(ExprLoc, diag::warn_left_shift_always) << 0; in DiagnoseIntInBoolContext()
11987 S.Diag(ExprLoc, diag::warn_left_shift_always) in DiagnoseIntInBoolContext()
11990 S.Diag(ExprLoc, diag::warn_left_shift_in_bool_context) in DiagnoseIntInBoolContext()
12007 S.Diag(ExprLoc, diag::warn_integer_constants_in_conditional_always_true); in DiagnoseIntInBoolContext()
H A DSemaDeclCXX.cpp4856 SourceLocation ExprLoc = E->getBeginLoc(); in CastForMoving() local
4858 TargetType, ExprLoc); in CastForMoving()
4860 return SemaRef.BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in CastForMoving()
4861 SourceRange(ExprLoc, ExprLoc), in CastForMoving()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp763 SMLoc ExprLoc = L; in ParseDirectiveFalign() local
771 return Error(ExprLoc, "literal value out of range (256) for falign"); in ParseDirectiveFalign()
775 return Error(ExprLoc, "not a valid expression for falign directive"); in ParseDirectiveFalign()
1212 SMLoc ExprLoc = Lexer.getLoc(); in parseInstruction() local
1276 HexagonOperand::CreateImm(getContext(), Expr, ExprLoc, ExprLoc); in parseInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1673 SMLoc ExprLoc = getParser().getTok().getLoc(); in parseDirectiveWord() local
1680 return Error(ExprLoc, "literal value out of range for '" + in parseDirectiveWord()
1684 getStreamer().emitValue(Value, Size, ExprLoc); in parseDirectiveWord()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1416 SMLoc ExprLoc = Lex.getLoc(); in ParseOperation() local
1423 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
1429 Error(ExprLoc, in ParseOperation()
1437 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp4071 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand() local
4077 return Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarrierOperand()
4087 return Error(ExprLoc, "barrier operand out of range"); in tryParseBarrierOperand()
4090 ExprLoc, getContext(), in tryParseBarrierOperand()
4135 SMLoc ExprLoc = getLoc(); in tryParseBarriernXSOperand() local
4140 return Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarriernXSOperand()
4145 return Error(ExprLoc, "barrier operand out of range"); in tryParseBarriernXSOperand()
4148 ExprLoc, getContext(), in tryParseBarriernXSOperand()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11155 SourceLocation ExprLoc; in emitDeclareSimdFunction() local
11159 ExprLoc = VLENExpr->getExprLoc(); in emitDeclareSimdFunction()
11169 MangledName, 's', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
11172 MangledName, 'n', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp7859 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveCPSetup() local
7863 reportParseError(ExprLoc, "expected save register or stack offset"); in parseDirectiveCPSetup()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp12799 static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc, in determineEndOffset() argument
12813 return HandleSizeof(Info, ExprLoc, Ty, Result); in determineEndOffset()