| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | APValue.cpp | 970 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 D | ExprClassification.cpp | 57 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 D | TemplateBase.cpp | 230 if (V.isLValue() && V.hasLValuePath() && V.getLValuePath().empty() && in getAsSimpleValueDeclRef() 242 else if ((V.isLValue() && V.isNullPointer()) || in TemplateArgument()
|
| H A D | ExprConstant.cpp | 299 : 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 D | ComputeDependence.cpp | 64 Result.Val.isLValue()) { in computeDependence()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | EvaluationResult.h | 84 bool isLValue() const { return Kind == LValue; } in isLValue() function
|
| H A D | Compiler.cpp | 962 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 D | SemaFixItUtils.cpp | 132 if (!Expr->isLValue() || Expr->getObjectKind() != OK_Ordinary) in tryToFixConversion()
|
| H A D | SemaStmtAsm.cpp | 90 if (E->isLValue()) in CheckAsmLValue() 96 if (E != E2 && E2->isLValue()) { in CheckAsmLValue()
|
| H A D | SemaOpenACCAtomic.cpp | 75 if (E->isLValue()) in CheckOperandVariable()
|
| H A D | SemaCast.cpp | 901 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 D | SemaInit.cpp | 5400 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 D | SemaAttr.cpp | 523 if (E->isLValue()) in ConstantFoldAttrArgs()
|
| H A D | SemaHLSL.cpp | 3474 if (!Arg->isLValue()) { in ActOnOutParamExpr() 3993 E = new (Ctx) MaterializeTemporaryExpr(Ty, E, E->isLValue()); in transformInitList()
|
| H A D | SemaOpenMP.cpp | 11709 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 D | SemaStmt.cpp | 151 CanAssign = Op->getLHS()->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison() 174 CanAssign = Op->getArg(0)->IgnoreParenImpCasts()->isLValue(); in DiagnoseUnusedComparison()
|
| H A D | SemaObjC.cpp | 92 if (!FirstE->isTypeDependent() && !FirstE->isLValue()) in ActOnObjCForCollectionStmt()
|
| H A D | SemaTypeTraits.cpp | 1938 return E->isLValue(); in EvaluateExpressionTrait()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterValuePrinter.cpp | 218 if (DesugaredTy->isRecordType() && E->isLValue()) { in ExtractValueFromExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExplodedGraph.cpp | 49 if (!Ex->isLValue()) in isInterestingLValueExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 484 assert(subEx->isLValue()); in VisitUnaryExprOrTypeTraitExpr()
|
| H A D | BodyFarm.cpp | 475 assert(Deref->isLValue()); in create_call_once()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | APValue.h | 472 bool isLValue() const { return Kind == LValue; }
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 399 if (Arg->isLValue()) { in VisitCallExpr() 449 if (!E->isLValue()) in VisitExpr()
|
| H A D | CGStmtOpenMP.cpp | 6313 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()
|