Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp970 if (isLValue() && isNullPointer()) { in toIntegralConstant()
975 if (isLValue() && !getLValueBase()) { in toIntegralConstant()
984 assert(isLValue() && "Invalid accessor"); in getLValueBase()
989 assert(isLValue() && "Invalid accessor"); in isLValueOnePastTheEnd()
994 assert(isLValue() && "Invalid accessor"); in getLValueOffset()
999 assert(isLValue() && "Invalid accessor"); in hasLValuePath()
1004 assert(isLValue() && hasLValuePath() && "Invalid accessor"); in getLValuePath()
1010 assert(isLValue() && "Invalid accessor"); in getLValueCallIndex()
1015 assert(isLValue() && "Invalid accessor"); in getLValueVersion()
1020 assert(isLValue() && "Invalid usage"); in isNullPointer()
[all …]
H A DExprClassification.cpp57 assert(isLValue()); in ClassifyImpl()
153 return E->isLValue() ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal()
163 assert(!SL || SL->isLValue()); in ClassifyInternal()
170 return !E->isLValue() ? ClassifyTemporary(E->getType()) : Cl::CL_LValue; in ClassifyInternal()
676 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
H A DTemplateBase.cpp230 if (V.isLValue() && V.hasLValuePath() && V.getLValuePath().empty() && in getAsSimpleValueDeclRef()
242 else if ((V.isLValue() && V.isNullPointer()) || in TemplateArgument()
H A DExprConstant.cpp299 : Invalid(!V.isLValue() || !V.hasLValuePath()), IsOnePastTheEnd(false), in SubobjectDesignator()
302 assert(V.isLValue() && "Non-LValue used to make an LValue designator?"); in SubobjectDesignator()
1663 assert(V.isLValue() && "Setting LValue from a non-LValue?"); in setFrom()
2123 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
2650 if (Value.isLValue() && in CheckEvaluationResult()
2898 assert(Value.isLValue() && "integral value neither int nor lvalue?"); in truncateBitfieldValue()
3197 assert(LHSValue.isLValue() && in handleVectorVectorBinOp()
6236 assert(Result.isLValue() && in HandleCovariantReturnAdjustment()
6542 if (NonNull && V.isLValue() && V.isNullPointer()) { in EvaluateCallArg()
6588 if (PVD && PVD->isExplicitObjectParameter() && That && That->isLValue()) in EvaluateArgs()
[all …]
H A DComputeDependence.cpp64 Result.Val.isLValue()) { in computeDependence()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DEvaluationResult.h84 bool isLValue() const { return Kind == LValue; } in isLValue() function
H A DCompiler.cpp962 if (!BO->isLValue()) in VisitBinaryOperator()
2919 if (T && !E->isLValue()) in VisitCompoundLiteralExpr()
2939 if (T && !E->isLValue()) { in VisitCompoundLiteralExpr()
3247 assert(Val.isLValue()); in VisitSourceLocExpr()
3749 assert(E->getExprOperand()->isLValue()); in VisitCXXTypeidExpr()
4766 if (Val.isLValue()) { in visitAPValue()
6391 if (SubExpr->isLValue()) { in VisitComplexUnaryOperator()
6766 if (SubExpr->isLValue()) { in emitComplexReal()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
H A DSemaStmtAsm.cpp90 if (E->isLValue()) in CheckAsmLValue()
96 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
H A DSemaOpenACCAtomic.cpp75 if (E->isLValue()) in CheckOperandVariable()
H A DSemaCast.cpp901 if (!SrcExpr.get()->isLValue()) { in CheckDynamicCast()
1635 msg = SrcExpr->isLValue() ? diag::err_bad_lvalue_to_rvalue_cast in TryLValueToRValueCast()
1674 if (!RValueRef && !SrcExpr->isLValue()) { in TryStaticReferenceDowncast()
1986 if (isa<LValueReferenceType>(DestTypeTmp) && !SrcExpr.get()->isLValue()) { in TryConstCast()
H A DSemaInit.cpp5400 if (InitCategory.isLValue() && !isNonReferenceableGLValue(Initializer) && in TryReferenceInitializationCore()
5474 else if (!InitCategory.isLValue()) in TryReferenceInitializationCore()
5600 isRValueRef && InitCategory.isLValue()) { in TryReferenceInitializationCore()
5669 InitCategory.isLValue()) { in TryReferenceInitializationCore()
8189 assert(CurInit.get()->isLValue() && in Perform()
9109 << OnlyArg->isLValue() in Diagnose()
9120 << OnlyArg->isLValue() in Diagnose()
H A DSemaAttr.cpp523 if (E->isLValue()) in ConstantFoldAttrArgs()
H A DSemaHLSL.cpp3474 if (!Arg->isLValue()) { in ActOnOutParamExpr()
3993 E = new (Ctx) MaterializeTemporaryExpr(Ty, E, E->isLValue()); in transformInitList()
H A DSemaOpenMP.cpp11709 if (ShouldBeLValue && !E->isLValue()) { in CheckValue()
12603 if (!X->isLValue() || !V->isLValue()) { in ActOnOpenMPAtomicDirective()
12604 const Expr *NotLValueExpr = X->isLValue() ? V : X; in ActOnOpenMPAtomicDirective()
12666 if (!X->isLValue()) { in ActOnOpenMPAtomicDirective()
20326 if (!Depobj->isLValue()) { in ActOnOpenMPDepobjClause()
20557 if (!RefExpr->isLValue()) { in ActOnOpenMPDependClause()
20599 (!RefExpr->IgnoreParenImpCasts()->isLValue() || in ActOnOpenMPDependClause()
21099 if (SemaRef.getLangOpts().OpenMP < 50 || !UO->isLValue() || in VisitUnaryOperator()
21859 if (!RE->isLValue()) {
23980 !AllocatorExprType.isConstant(Context) && AllocatorExpr->isLValue(); in ActOnOpenMPUsesAllocatorClause()
[all …]
H A DSemaStmt.cpp151 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
174 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
H A DSemaObjC.cpp92 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
H A DSemaTypeTraits.cpp1938 return E->isLValue(); in EvaluateExpressionTrait()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterValuePrinter.cpp218 if (DesugaredTy->isRecordType() && E->isLValue()) { in ExtractValueFromExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp49 if (!Ex->isLValue()) in isInterestingLValueExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp484 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
H A DBodyFarm.cpp475 assert(Deref->isLValue()); in create_call_once()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h472 bool isLValue() const { return Kind == LValue; }
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp399 if (Arg->isLValue()) { in VisitCallExpr()
449 if (!E->isLValue()) in VisitExpr()
H A DCGStmtOpenMP.cpp6313 assert(V->isLValue() && "V of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
6314 assert(X->isLValue() && "X of 'omp atomic read' is not lvalue"); in emitOMPAtomicReadExpr()
6344 assert(X->isLValue() && "X of 'omp atomic write' is not lvalue"); in emitOMPAtomicWriteExpr()
6522 assert(X->isLValue() && "X of 'omp atomic update' is not lvalue"); in emitOMPAtomicUpdateExpr()
6580 assert(X->isLValue() && "X of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()
6581 assert(V->isLValue() && "V of 'omp atomic capture' is not lvalue"); in emitOMPAtomicCaptureExpr()

12