Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvaluationResult.h60 assert(!V.isLValue()); in setValue()
88 bool isLValue() const { return Kind == LValue; } in isLValue() function
H A DEvaluationResult.cpp137 assert(isLValue()); in checkFullyInitialized()
H A DContext.cpp117 assert(Res.isLValue()); in evaluateAsInitializer()
H A DByteCodeExprGen.cpp1758 assert(Val.isLValue()); in VisitSourceLocExpr()
2459 if (Val.isLValue()) { in visitAPValue()
2822 if (!SubExpr->isLValue()) in VisitUnaryOperator()
2994 if (!SubExpr->isLValue()) in emitComplexReal()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp957 if (isLValue() && isNullPointer()) { in toIntegralConstant()
962 if (isLValue() && !getLValueBase()) { in toIntegralConstant()
971 assert(isLValue() && "Invalid accessor"); in getLValueBase()
976 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd()
981 assert(isLValue() && "Invalid accessor"); in getLValueOffset()
986 assert(isLValue() && "Invalid accessor"); in hasLValuePath()
997 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex()
1002 assert(isLValue() && "Invalid accessor"); in getLValueVersion()
1007 assert(isLValue() && "Invalid usage"); in isNullPointer()
1013 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()
647 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
H A DTemplateBase.cpp229 if (V.isLValue() && V.hasLValuePath() && V.getLValuePath().empty() && in getAsSimpleValueDeclRef()
241 else if ((V.isLValue() && V.isNullPointer()) || in TemplateArgument()
H A DExprConstant.cpp2073 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
2501 if (Value.isLValue() && in CheckEvaluationResult()
3027 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
5882 assert(Result.isLValue() && in HandleCovariantReturnAdjustment()
6188 if (NonNull && V.isLValue() && V.isNullPointer()) { in EvaluateCallArg()
7578 assert(SourceValue.isLValue() && in handleLValueToRValueBitCast()
10886 if (SubExprValue.isLValue()) in VisitUnaryOperator()
12199 if (Src.isLValue()) { in VisitBuiltinCallExpr()
13056 RHSVal.isLValue() && LHSVal.isInt()) { in VisitBinOp()
13062 if (E->getOpcode() == BO_Sub && LHSVal.isLValue() && RHSVal.isLValue()) { in VisitBinOp()
[all …]
H A DComputeDependence.cpp64 Result.Val.isLValue()) { in computeDependence()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
H A DSemaStmtAsm.cpp96 if (E->isLValue()) in CheckAsmLValue()
102 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
H A DSemaCast.cpp843 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1552 msg = SrcExpr->isLValue() ? diag::err_bad_lvalue_to_rvalue_cast in TryLValueToRValueCast()
1592 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1950 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
H A DSemaInit.cpp5006 if (InitCategory.isLValue() && !isNonReferenceableGLValue(Initializer) && in TryReferenceInitializationCore()
5079 else if (!InitCategory.isLValue()) in TryReferenceInitializationCore()
5205 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
5274 InitCategory.isLValue()) { in TryReferenceInitializationCore()
8972 assert(CurInit.get()->isLValue() && in Perform()
9795 << OnlyArg->isLValue() in Diagnose()
9806 << OnlyArg->isLValue() in Diagnose()
H A DSemaStmt.cpp150 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
173 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
2347 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
H A DSemaAttr.cpp408 if (E->isLValue()) in ConstantFoldAttrArgs()
H A DSemaOpenMP.cpp11970 if (ShouldBeLValue && !E->isLValue()) { in CheckValue()
12828 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective()
12829 const Expr *NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective()
12891 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective()
20847 if (!Depobj->isLValue()) { in ActOnOpenMPDepobjClause()
21076 if (!RefExpr->isLValue()) { in ActOnOpenMPDependClause()
21116 (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause()
21613 if (SemaRef.getLangOpts().OpenMP < 50 || !UO->isLValue() || in VisitUnaryOperator()
22173 if (!RE->isLValue()) { in checkMappableExpressionList()
24178 !AllocatorExprType.isConstant(Context) && AllocatorExpr->isLValue(); in ActOnOpenMPUsesAllocatorClause()
[all …]
H A DSemaTemplate.cpp6707 if ((EvalResult.Val.isLValue() && EvalResult.Val.isNullPointer()) || in isNullPointerValueTemplateArgument()
6725 if (EvalResult.Val.isLValue() && !EvalResult.Val.getLValueBase()) { in isNullPointerValueTemplateArgument()
7448 if (Value.isLValue()) { in CheckTemplateArgument()
8043 assert(ParamType->isReferenceType() == RefExpr.get()->isLValue() && in BuildExpressionFromDeclTemplateArgument()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp51 if (!Ex->isLValue()) in isInterestingLValueExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h406 bool isLValue() const { return Kind == LValue; }
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp447 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
H A DBodyFarm.cpp475 assert(Deref->isLValue()); in create_call_once()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp570 if (DesugaredTy->isRecordType() && E->isLValue()) { in getCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6040 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
6041 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
6071 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in emitOMPAtomicWriteExpr()
6250 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in emitOMPAtomicUpdateExpr()
6308 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
6309 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
H A DCGOpenMPRuntimeGPU.cpp399 if (Arg->isLValue()) { in VisitCallExpr()
449 if (!E->isLValue()) in VisitExpr()

12