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.cpp2934 SMLoc ExprLoc = getTok().getLoc(); in parseAssignment() local
2963 return Error(ExprLoc, "expected identifier"); in parseAssignment()
3166 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc() local
3172 return Error(ExprLoc, "expression must be relocatable"); in parseDirectiveReloc()
3193 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue() local
3201 return Error(ExprLoc, "out of range literal value"); in parseDirectiveValue()
3204 getStreamer().emitValue(Value, Size, ExprLoc); in parseDirectiveValue()
3215 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3219 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
3344 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill() local
[all …]
H A DMasmParser.cpp3799 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3803 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
7142 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
7147 return Error(ExprLoc, "unexpected expression in _emit"); in parseDirectiveMSEmit()
7150 return Error(ExprLoc, "literal value out of range for directive"); in parseDirectiveMSEmit()
7158 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign() local
7163 return Error(ExprLoc, "unexpected expression in align"); in parseDirectiveMSAlign()
7166 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.cpp1843 SourceLocation ExprLoc = E->getBeginLoc(); in castForMoving() local
1845 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
1848 .BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in castForMoving()
1849 SourceRange(ExprLoc, ExprLoc), E->getSourceRange()) in castForMoving()
H A DSemaStmt.cpp238 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult() local
245 SourceMgr.isMacroBodyExpansion(ExprLoc) || in DiagnoseUnusedExprResult()
246 SourceMgr.isInSystemMacro(ExprLoc); in DiagnoseUnusedExprResult()
H A DSemaExpr.cpp18686 ValueDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable() argument
18783 : getParentOfCapturingContextOrNull(DC, Var, ExprLoc, in tryCaptureVariable()
18821 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
18826 diagnoseUncapturableValueReferenceOrBinding(*this, ExprLoc, Var); in tryCaptureVariable()
18850 Diag(ExprLoc, diag::err_capture_binding_openmp) << Var; in tryCaptureVariable()
18911 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
18953 !isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this); in tryCaptureVariable()
18961 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
18966 RSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, DeclRefType, Nested, in tryCaptureVariable()
18972 !captureInLambda(LSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
H A DSemaExprCXX.cpp8612 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
8613 if (S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8619 S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaChecking.cpp10699 SourceLocation ExprLoc = E->getExprLoc(); in DiagnoseIntInBoolContext() local
10709 S.Diag(ExprLoc, diag::warn_left_shift_always) << 0; in DiagnoseIntInBoolContext()
10713 S.Diag(ExprLoc, diag::warn_left_shift_always) in DiagnoseIntInBoolContext()
10716 S.Diag(ExprLoc, diag::warn_left_shift_in_bool_context) << E; in DiagnoseIntInBoolContext()
10730 S.Diag(ExprLoc, diag::warn_integer_constants_in_conditional_always_true); in DiagnoseIntInBoolContext()
H A DSemaDeclCXX.cpp4764 SourceLocation ExprLoc = E->getBeginLoc(); in CastForMoving() local
4766 TargetType, ExprLoc); in CastForMoving()
4768 return SemaRef.BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in CastForMoving()
4769 SourceRange(ExprLoc, ExprLoc), in CastForMoving()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp761 SMLoc ExprLoc = L; in ParseDirectiveFalign() local
769 return Error(ExprLoc, "literal value out of range (256) for falign"); in ParseDirectiveFalign()
773 return Error(ExprLoc, "not a valid expression for falign directive"); in ParseDirectiveFalign()
1205 SMLoc ExprLoc = Lexer.getLoc(); in parseInstruction() local
1269 HexagonOperand::CreateImm(getContext(), Expr, ExprLoc, ExprLoc); in parseInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1761 SMLoc ExprLoc = getParser().getTok().getLoc(); in ParseDirectiveWord() local
1768 return Error(ExprLoc, "literal value out of range for '" + in ParseDirectiveWord()
1772 getStreamer().emitValue(Value, Size, ExprLoc); in ParseDirectiveWord()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3978 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand() local
3984 return Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarrierOperand()
3994 return Error(ExprLoc, "barrier operand out of range"); in tryParseBarrierOperand()
3997 ExprLoc, getContext(), in tryParseBarrierOperand()
4042 SMLoc ExprLoc = getLoc(); in tryParseBarriernXSOperand() local
4047 return Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarriernXSOperand()
4052 return Error(ExprLoc, "barrier operand out of range"); in tryParseBarriernXSOperand()
4055 ExprLoc, getContext(), in tryParseBarriernXSOperand()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1392 SMLoc ExprLoc = Lex.getLoc(); in ParseOperation() local
1399 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
1405 Error(ExprLoc, in ParseOperation()
1413 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11088 SourceLocation ExprLoc; in emitDeclareSimdFunction() local
11092 ExprLoc = VLENExpr->getExprLoc(); in emitDeclareSimdFunction()
11102 MangledName, 's', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
11105 MangledName, 'n', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp7865 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveCPSetup() local
7869 reportParseError(ExprLoc, "expected save register or stack offset"); in parseDirectiveCPSetup()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp12249 static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc, in determineEndOffset() argument
12257 return HandleSizeof(Info, ExprLoc, Ty, Result); in determineEndOffset()