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.cpp2937 SMLoc ExprLoc = getTok().getLoc(); in parseAssignment() local
2966 return Error(ExprLoc, "expected identifier"); in parseAssignment()
3164 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc() local
3191 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue() local
3213 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3342 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill() local
3349 ExprLoc = getTok().getLoc(); in parseDirectiveFill()
4818 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode() local
4901 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB() local
5812 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
[all …]
H A DMasmParser.cpp3798 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3802 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
7141 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
7146 return Error(ExprLoc, "unexpected expression in _emit"); in parseDirectiveMSEmit()
7149 return Error(ExprLoc, "literal value out of range for directive"); in parseDirectiveMSEmit()
7157 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign() local
7162 return Error(ExprLoc, "unexpected expression in align"); in parseDirectiveMSAlign()
7165 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.cpp1933 SourceLocation ExprLoc = E->getBeginLoc(); in castForMoving() local
1935 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
1938 .BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in castForMoving()
1939 SourceRange(ExprLoc, ExprLoc), E->getSourceRange()) in castForMoving()
H A DSemaStmt.cpp233 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult() local
240 SourceMgr.isMacroBodyExpansion(ExprLoc) || in DiagnoseUnusedExprResult()
241 SourceMgr.isInSystemMacro(ExprLoc); in DiagnoseUnusedExprResult()
H A DSemaExpr.cpp19710 ValueDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable() argument
19797 : getParentOfCapturingContextOrNull(DC, Var, ExprLoc, in tryCaptureVariable()
19835 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
19840 diagnoseUncapturableValueReferenceOrBinding(*this, ExprLoc, Var); in tryCaptureVariable()
19915 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
19957 !isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this); in tryCaptureVariable()
19965 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
19970 RSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, DeclRefType, Nested, in tryCaptureVariable()
19976 !captureInLambda(LSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
H A DSemaExprCXX.cpp8377 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
8378 if (S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8384 S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaDeclCXX.cpp4910 SourceLocation ExprLoc = E->getBeginLoc(); in CastForMoving() local
4912 TargetType, ExprLoc); in CastForMoving()
4914 return SemaRef.BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in CastForMoving()
4915 SourceRange(ExprLoc, ExprLoc), in CastForMoving()
H A DSemaChecking.cpp15590 SourceLocation ExprLoc = E->getExprLoc(); in DiagnoseIntInBoolContext() local
15600 S.Diag(ExprLoc, diag::warn_left_shift_always) << 0; in DiagnoseIntInBoolContext()
15604 S.Diag(ExprLoc, diag::warn_left_shift_always) in DiagnoseIntInBoolContext()
15607 S.Diag(ExprLoc, diag::warn_left_shift_in_bool_context) << E; in DiagnoseIntInBoolContext()
15621 S.Diag(ExprLoc, diag::warn_integer_constants_in_conditional_always_true); in DiagnoseIntInBoolContext()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp704 SMLoc ExprLoc = L; in ParseDirectiveFalign() local
712 return Error(ExprLoc, "literal value out of range (256) for falign"); in ParseDirectiveFalign()
716 return Error(ExprLoc, "not a valid expression for falign directive"); in ParseDirectiveFalign()
1148 SMLoc ExprLoc = Lexer.getLoc(); in parseInstruction() local
1212 HexagonOperand::CreateImm(getContext(), Expr, ExprLoc, ExprLoc); in parseInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1759 SMLoc ExprLoc = getParser().getTok().getLoc(); in ParseDirectiveWord() local
1766 return Error(ExprLoc, "literal value out of range for '" + in ParseDirectiveWord()
1770 getStreamer().emitValue(Value, Size, ExprLoc); in ParseDirectiveWord()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3950 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand() local
3956 return Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarrierOperand()
3966 return Error(ExprLoc, "barrier operand out of range"); in tryParseBarrierOperand()
3969 ExprLoc, getContext(), in tryParseBarrierOperand()
4014 SMLoc ExprLoc = getLoc(); in tryParseBarriernXSOperand() local
4019 return Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarriernXSOperand()
4024 return Error(ExprLoc, "barrier operand out of range"); in tryParseBarriernXSOperand()
4027 ExprLoc, getContext(), in tryParseBarriernXSOperand()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1386 SMLoc ExprLoc = Lex.getLoc(); in ParseOperation() local
1393 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
1399 Error(ExprLoc, in ParseOperation()
1407 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11060 SourceLocation ExprLoc; in emitDeclareSimdFunction() local
11064 ExprLoc = VLENExpr->getExprLoc(); in emitDeclareSimdFunction()
11074 MangledName, 's', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
11077 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.cpp11992 static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc, in determineEndOffset() argument
12000 return HandleSizeof(Info, ExprLoc, Ty, Result); in determineEndOffset()