Home
last modified time | relevance | path

Searched refs:isLValue (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp880 if (isLValue() && isNullPointer()) { in toIntegralConstant()
885 if (isLValue() && !getLValueBase()) { in toIntegralConstant()
894 assert(isLValue() && "Invalid accessor"); in getLValueBase()
899 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd()
904 assert(isLValue() && "Invalid accessor"); in getLValueOffset()
909 assert(isLValue() && "Invalid accessor"); in hasLValuePath()
920 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex()
925 assert(isLValue() && "Invalid accessor"); in getLValueVersion()
930 assert(isLValue() && "Invalid usage"); in isNullPointer()
936 assert(isLValue() && "Invalid accessor"); in setLValue()
[all …]
H A DExprClassification.cpp57 assert(isLValue()); in ClassifyImpl()
156 return !E->isLValue() ? ClassifyTemporary(E->getType()) : Cl::CL_LValue; in ClassifyInternal()
632 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
H A DExprConstant.cpp1576 assert(V.isLValue() && "Setting LValue from a non-LValue?"); in setFrom()
1994 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
2396 if (Value.isLValue() && in CheckEvaluationResult()
2967 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
5707 assert(Result.isLValue() && in HandleCovariantReturnAdjustment()
6006 if (NonNull && V.isLValue() && V.isNullPointer()) { in EvaluateCallArg()
7230 assert(SourceValue.isLValue() && in handleLValueToRValueBitCast()
11570 if (Src.isLValue()) { in VisitBuiltinCallExpr()
12421 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp()
12427 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { in VisitBinOp()
[all …]
H A DComputeDependence.cpp62 Result.Val.isLValue()) { in computeDependence()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
H A DSemaStmtAsm.cpp94 if (E->isLValue()) in CheckAsmLValue()
100 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
H A DSemaCast.cpp819 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1503 msg = SrcExpr->isLValue() ? diag::err_bad_lvalue_to_rvalue_cast in TryLValueToRValueCast()
1543 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1901 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
H A DSemaInit.cpp4811 if (InitCategory.isLValue() && !isNonReferenceableGLValue(Initializer) && in TryReferenceInitializationCore()
4884 else if (!InitCategory.isLValue()) in TryReferenceInitializationCore()
5010 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
5078 InitCategory.isLValue()) { in TryReferenceInitializationCore()
8398 assert(CurInit.get()->isLValue() && in Perform()
9208 << OnlyArg->isLValue() in Diagnose()
9219 << OnlyArg->isLValue() in Diagnose()
H A DSemaStmt.cpp149 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
172 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
2297 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
H A DSemaExprCXX.cpp5686 case ET_IsLValueExpr: return E->isLValue(); in EvaluateExpressionTrait()
5826 if (!isIndirect && !LHS.get()->Classify(Context).isLValue()) { in CheckPointerToMemberOperands()
5893 if (To->isLValue() || To->isXValue()) { in TryClassUnification()
5894 QualType T = To->isLValue() ? Self.Context.getLValueReferenceType(ToType) in TryClassUnification()
H A DSemaOpenMP.cpp10778 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective()
10779 const Expr *NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective()
10841 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective()
18133 if (!Depobj->isLValue()) { in ActOnOpenMPDepobjClause()
18302 if (!RefExpr->isLValue()) { in ActOnOpenMPDependClause()
18349 if (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause()
18828 if (SemaRef.getLangOpts().OpenMP < 50 || !UO->isLValue() || in VisitUnaryOperator()
19386 if (!RE->isLValue()) { in checkMappableExpressionList()
21139 !AllocatorExpr->isLValue()))) { in ActOnOpenMPUsesAllocatorClause()
21233 if (!SimpleExpr->isLValue()) { in ActOnOpenMPAffinityClause()
H A DSemaOverload.cpp4802 if (InitCategory.isLValue() && RefRelationship == Sema::Ref_Compatible) { in TryReferenceInit()
4853 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4934 Init->Classify(S.Context).isLValue()) { in TryReferenceInit()
5317 assert(FromClassification.isLValue()); in TryObjectArgumentInitialization()
5381 if (!FromClassification.isLValue() && !Quals.hasOnlyConst()) { in TryObjectArgumentInitialization()
H A DSemaExpr.cpp528 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) { in DefaultFunctionArrayConversion()
4058 !E->isLValue() && ExprTy->hasFloatingRepresentation()) in ActOnParenExpr()
5484 if (Op->getType()->isArrayType() && !Op->isLValue()) in CreateBuiltinArraySubscriptExpr()
10162 if (LHS.get()->isLValue() || in CheckVectorOperands()
12703 assert(E->isLValue() && E->getType().isConstQualified()); in isReferenceToNonConstCapture()
19376 if (E->isLValue()) { in VisitCallExpr()
H A DSemaTemplateInstantiate.cpp1532 if (argExpr->isLValue()) { in transformNonTypeTemplateParmRef()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp51 if (!Ex->isLValue()) in isInterestingLValueExpr()
H A DBugReporterVisitors.cpp1937 if (UO->getOpcode() == UO_AddrOf && UO->getSubExpr()->isLValue()) in peelOffOuterExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp425 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
H A DBodyFarm.cpp443 assert(Deref->isLValue()); in create_call_once()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h398 bool isLValue() const { return Kind == LValue; }
H A DExpr.h270 bool isLValue() const { return getValueKind() == VK_LValue; } in isLValue() function
373 bool isLValue() const { return Kind == CL_LValue; } in isLValue() function
H A DExprCXX.h4531 bool isBoundToLvalueReference() const { return isLValue(); } in isBoundToLvalueReference()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp5422 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
5423 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
5453 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in emitOMPAtomicWriteExpr()
5607 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in emitOMPAtomicUpdateExpr()
5665 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
5666 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
H A DCGOpenMPRuntimeGPU.cpp430 if (Arg->isLValue()) { in VisitCallExpr()
481 if (!E->isLValue()) in VisitExpr()
H A DCGDecl.cpp717 if (srcExpr->isLValue()) { in tryEmitARCCopyWeakInit()

12