| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | Transfer.cpp | 229 auto &ExprLoc = Env.createStorageLocation(*S); in VisitImplicitCastExpr() local 230 Env.setStorageLocation(*S, ExprLoc); in VisitImplicitCastExpr() 231 Env.setValue(ExprLoc, *SubExprVal); in VisitImplicitCastExpr() 312 auto &ExprLoc = Env.createStorageLocation(*S); in VisitUnaryOperator() local 313 Env.setStorageLocation(*S, ExprLoc); in VisitUnaryOperator() 314 Env.setValue(ExprLoc, Env.makeNot(*SubExprVal)); in VisitUnaryOperator()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExtractVariable.cpp | 235 SourceLocation ExprLoc; member 245 ExprLoc = Op->getExprLoc(); in parse() 256 ExprLoc = Op->getExprLoc(); in parse() 286 FileID F = SM.getFileID(ExprLoc); in crossesMacroBoundary()
|
| /llvm-project-15.0.7/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 369 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction() local 371 return Error(ExprLoc, "expected expression operand"); in parseJccInstruction() 376 return Error(ExprLoc, "invalid jump offset"); in parseJccInstruction() 378 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 2940 SMLoc ExprLoc = getTok().getLoc(); in parseAssignment() local 2969 return Error(ExprLoc, "expected identifier"); in parseAssignment() 3167 SMLoc ExprLoc = Lexer.getLoc(); in parseDirectiveReloc() local 3194 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveValue() local 3216 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local 3345 SMLoc SizeLoc, ExprLoc; in parseDirectiveFill() local 3352 ExprLoc = getTok().getLoc(); in parseDirectiveFill() 4803 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveBundleAlignMode() local 4888 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveDCB() local 5795 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local [all …]
|
| H A D | MasmParser.cpp | 3815 SMLoc ExprLoc = Asm.getTok().getLoc(); in parseHexOcta() local 3819 return Asm.Error(ExprLoc, "out of range literal value"); in parseHexOcta() 7154 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSEmit() local 7159 return Error(ExprLoc, "unexpected expression in _emit"); in parseDirectiveMSEmit() 7162 return Error(ExprLoc, "literal value out of range for directive"); in parseDirectiveMSEmit() 7170 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveMSAlign() local 7175 return Error(ExprLoc, "unexpected expression in align"); in parseDirectiveMSAlign() 7178 return Error(ExprLoc, "literal value not a power of two greater then zero"); in parseDirectiveMSAlign()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 362 auto &ExprLoc = State.Env.createStorageLocation(*ValueOrPredExpr); in transferValueOrImpl() local 364 State.Env.setValue(ExprLoc, *ExprValue); in transferValueOrImpl() 365 State.Env.setStorageLocation(*ValueOrPredExpr, ExprLoc); in transferValueOrImpl()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 1642 SourceLocation ExprLoc = E->getBeginLoc(); in castForMoving() local 1644 S.Context.getTrivialTypeSourceInfo(TargetType, ExprLoc); in castForMoving() 1647 .BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in castForMoving() 1648 SourceRange(ExprLoc, ExprLoc), E->getSourceRange()) in castForMoving()
|
| H A D | SemaStmt.cpp | 232 SourceLocation ExprLoc = E->IgnoreParenImpCasts()->getExprLoc(); in DiagnoseUnusedExprResult() local 239 SourceMgr.isMacroBodyExpansion(ExprLoc) || in DiagnoseUnusedExprResult() 240 SourceMgr.isInSystemMacro(ExprLoc); in DiagnoseUnusedExprResult()
|
| H A D | SemaExpr.cpp | 18715 VarDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind, in tryCaptureVariable() argument 18768 ExprLoc, in tryCaptureVariable() 18800 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable() 18805 diagnoseUncapturableValueReference(*this, ExprLoc, Var); in tryCaptureVariable() 18880 Diag(ExprLoc, diag::err_lambda_impcap) << Var; in tryCaptureVariable() 18922 !isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this); in tryCaptureVariable() 18930 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable() 18935 RSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, DeclRefType, Nested, in tryCaptureVariable() 18941 !captureInLambda(LSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()
|
| H A D | SemaExprCXX.cpp | 8291 SourceLocation ExprLoc = VarExpr->getExprLoc(); in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() local 8292 if (S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() 8298 S.tryCaptureVariable(Var, ExprLoc, S.TryCapture_Implicit, in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
|
| H A D | SemaDeclCXX.cpp | 4677 SourceLocation ExprLoc = E->getBeginLoc(); in CastForMoving() local 4679 TargetType, ExprLoc); in CastForMoving() 4681 return SemaRef.BuildCXXNamedCast(ExprLoc, tok::kw_static_cast, TargetLoc, E, in CastForMoving() 4682 SourceRange(ExprLoc, ExprLoc), in CastForMoving()
|
| H A D | SemaChecking.cpp | 13517 SourceLocation ExprLoc = E->getExprLoc(); in DiagnoseIntInBoolContext() local 13527 S.Diag(ExprLoc, diag::warn_left_shift_always) << 0; in DiagnoseIntInBoolContext() 13531 S.Diag(ExprLoc, diag::warn_left_shift_always) in DiagnoseIntInBoolContext() 13534 S.Diag(ExprLoc, diag::warn_left_shift_in_bool_context) << E; in DiagnoseIntInBoolContext() 13548 S.Diag(ExprLoc, diag::warn_integer_constants_in_conditional_always_true); in DiagnoseIntInBoolContext()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 696 SMLoc ExprLoc = L; in ParseDirectiveFalign() local 704 return Error(ExprLoc, "literal value out of range (256) for falign"); in ParseDirectiveFalign() 708 return Error(ExprLoc, "not a valid expression for falign directive"); in ParseDirectiveFalign() 1141 SMLoc ExprLoc = Lexer.getLoc(); in parseInstruction() local 1205 HexagonOperand::CreateImm(getContext(), Expr, ExprLoc, ExprLoc); in parseInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/AsmParser/ |
| H A D | PPCAsmParser.cpp | 1606 SMLoc ExprLoc = getParser().getTok().getLoc(); in ParseDirectiveWord() local 1613 return Error(ExprLoc, "literal value out of range for '" + in ParseDirectiveWord() 1617 getStreamer().emitValue(Value, Size, ExprLoc); in ParseDirectiveWord()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 3475 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand() local 3481 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarrierOperand() 3493 Error(ExprLoc, "barrier operand out of range"); in tryParseBarrierOperand() 3498 ExprLoc, getContext(), in tryParseBarrierOperand() 3548 SMLoc ExprLoc = getLoc(); in tryParseBarriernXSOperand() local 3553 Error(ExprLoc, "immediate value expected for barrier operand"); in tryParseBarriernXSOperand() 3560 Error(ExprLoc, "barrier operand out of range"); in tryParseBarriernXSOperand() 3565 ExprLoc, getContext(), in tryParseBarriernXSOperand()
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 1112 SMLoc ExprLoc = Lex.getLoc(); in ParseOperation() local 1119 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation() 1125 Error(ExprLoc, in ParseOperation() 1133 Error(ExprLoc, "expected string type argument in !exists operator"); in ParseOperation()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 11925 SourceLocation ExprLoc; in emitDeclareSimdFunction() local 11929 ExprLoc = VLENExpr->getExprLoc(); in emitDeclareSimdFunction() 11939 MangledName, 's', 128, Fn, ExprLoc); in emitDeclareSimdFunction() 11942 MangledName, 'n', 128, Fn, ExprLoc); in emitDeclareSimdFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 7801 SMLoc ExprLoc = getLexer().getLoc(); in parseDirectiveCPSetup() local 7805 reportParseError(ExprLoc, "expected save register or stack offset"); in parseDirectiveCPSetup()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 11628 static bool determineEndOffset(EvalInfo &Info, SourceLocation ExprLoc, in determineEndOffset() argument 11636 return HandleSizeof(Info, ExprLoc, Ty, Result); in determineEndOffset()
|