Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp367 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction() local
369 return Error(ExprLoc, "expected expression operand"); in parseJccInstruction()
374 return Error(ExprLoc, "invalid jump offset"); in parseJccInstruction()
376 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3137 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc() local
3164 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue() local
3175 getStreamer().emitValue(Value, Size, ExprLoc); in parseDirectiveValue()
3186 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3315 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill() local
3322 ExprLoc = getTok().getLoc(); in parseDirectiveFill()
4772 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode() local
4857 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB() local
4871 getStreamer().emitValue(Value, Size, ExprLoc); in parseDirectiveDCB()
5770 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
[all …]
H A DMasmParser.cpp3852 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local
3856 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta()
7189 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local
7194 return Error(ExprLoc, "unexpected expression in _emit"); in parseDirectiveMSEmit()
7197 return Error(ExprLoc, "literal value out of range for directive"); in parseDirectiveMSEmit()
7205 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign() local
7210 return Error(ExprLoc, "unexpected expression in align"); in parseDirectiveMSAlign()
7213 return Error(ExprLoc, "literal value not a power of two greater then zero"); in parseDirectiveMSAlign()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1598 SourceLocation ExprLoc = E->getBeginLoc(); in castForMoving() local
1600 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving()
1603 .BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in castForMoving()
1604 SourceRange(ExprLoc, ExprLoc), E->getSourceRange()) in castForMoving()
H A DSemaStmt.cpp232 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult() local
239 SourceMgr.isMacroBodyExpansion(ExprLoc) || in DiagnoseUnusedExprResult()
240 SourceMgr.isInSystemMacro(ExprLoc); in DiagnoseUnusedExprResult()
H A DSemaExpr.cpp17819 VarDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable() argument
17872 ExprLoc, in tryCaptureVariable()
17904 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
17909 diagnoseUncapturableValueReference(*this, ExprLoc, Var, DC); in tryCaptureVariable()
17984 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable()
18026 !isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this); in tryCaptureVariable()
18034 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
18039 RSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, DeclRefType, Nested, in tryCaptureVariable()
18045 !captureInLambda(LSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
H A DSemaExprCXX.cpp8036 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local
8037 if (S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
8043 S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
H A DSemaDeclCXX.cpp4597 SourceLocation ExprLoc = E->getBeginLoc(); in CastForMoving() local
4599 TargetType, ExprLoc); in CastForMoving()
4601 return SemaRef.BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in CastForMoving()
4602 SourceRange(ExprLoc, ExprLoc), in CastForMoving()
H A DSemaChecking.cpp12478 SourceLocation ExprLoc = E->getExprLoc(); in DiagnoseIntInBoolContext() local
12488 S.Diag(ExprLoc, diag::warn_left_shift_always) << 0; in DiagnoseIntInBoolContext()
12492 S.Diag(ExprLoc, diag::warn_left_shift_always) in DiagnoseIntInBoolContext()
12495 S.Diag(ExprLoc, diag::warn_left_shift_in_bool_context) << E; in DiagnoseIntInBoolContext()
12509 S.Diag(ExprLoc, diag::warn_integer_constants_in_conditional_always_true); in DiagnoseIntInBoolContext()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp707 SMLoc ExprLoc = L; in ParseDirectiveFalign() local
715 return Error(ExprLoc, "literal value out of range (256) for falign"); in ParseDirectiveFalign()
719 return Error(ExprLoc, "not a valid expression for falign directive"); in ParseDirectiveFalign()
1152 SMLoc ExprLoc = Lexer.getLoc(); in parseInstruction() local
1216 HexagonOperand::CreateImm(getContext(), Expr, ExprLoc, ExprLoc); in parseInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1607 SMLoc ExprLoc = getParser().getTok().getLoc(); in ParseDirectiveWord() local
1614 return Error(ExprLoc, "literal value out of range for '" + in ParseDirectiveWord()
1618 getStreamer().emitValue(Value, Size, ExprLoc); in ParseDirectiveWord()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp3465 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand() local
3471 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarrierOperand()
3483 Error(ExprLoc, "barrier operand out of range"); in tryParseBarrierOperand()
3488 ExprLoc, getContext(), in tryParseBarrierOperand()
3539 SMLoc ExprLoc = getLoc(); in tryParseBarriernXSOperand() local
3544 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarriernXSOperand()
3551 Error(ExprLoc, "barrier operand out of range"); in tryParseBarriernXSOperand()
3556 ExprLoc, getContext(), in tryParseBarriernXSOperand()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11937 SourceLocation ExprLoc; in emitDeclareSimdFunction() local
11941 ExprLoc = VLENExpr->getExprLoc(); in emitDeclareSimdFunction()
11951 MangledName, 's', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
11954 MangledName, 'n', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp7801 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveCPSetup() local
7805 reportParseError(ExprLoc, "expected save register or stack offset"); in parseDirectiveCPSetup()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp11364 static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc, in determineEndOffset() argument
11372 return HandleSizeof(Info, ExprLoc, Ty, Result); in determineEndOffset()