| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 106 AST.IntTy, VK_LValue), in defineHLSLVectorAlias() 189 Context, IsIntangibleExpr, UO_LNot, BoolTy, VK_LValue, OK_Ordinary, in constructStructuredBufferConstraintExpr() 203 BinaryOperator::Create(Context, SizeOfExpr, rhs, BO_GE, BoolTy, VK_LValue, in constructStructuredBufferConstraintExpr() 208 Context, NotIntangibleExpr, SizeGEQOneExpr, BO_LAnd, BoolTy, VK_LValue, in constructStructuredBufferConstraintExpr()
|
| H A D | SemaExprMember.cpp | 821 S.Context.PseudoObjectTy, VK_LValue, in BuildMSPropertyRefExpr() 1083 VK_LValue, OK_Ordinary); in BuildMemberReferenceExpr() 1099 valueKind = VK_LValue; in BuildMemberReferenceExpr() 1147 VK_LValue, OK_Ordinary, TemplateArgs); in BuildMemberReferenceExpr() 1500 ObjCPropertyRefExpr(PD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr() 1516 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr() 1573 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr() 1605 ExprValueKind VK = (IsArrow ? VK_LValue : BaseExpr.get()->getValueKind()); in LookupMemberExpr() 1767 ExprValueKind VK = VK_LValue; in BuildFieldReferenceExpr() 1782 VK = VK_LValue; in BuildFieldReferenceExpr()
|
| H A D | SemaCoroutine.cpp | 364 OpaqueValueExpr(Loc, E->getType(), VK_LValue, E->getObjectKind(), E); in buildCoawaitCalls() 459 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc); in buildPromiseCall() 525 ExprValueKind::VK_LValue, FD->getLocation()); in buildCoroutinePromise() 1077 ExprResult DR = S.BuildDeclRefExpr(VD, VD->getType(), VK_LValue, Loc); in buildStdNoThrowDeclRef() 1377 ExprValueKind::VK_LValue, PDLoc); in collectPlacementArgs() 1625 S.BuildDeclRefExpr(OperatorNew, OperatorNew->getType(), VK_LValue, Loc); in makeNewAndDeleteExpr() 1648 S.BuildDeclRefExpr(OperatorDelete, OpDeleteQualType, VK_LValue, Loc); in makeNewAndDeleteExpr() 1902 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() 1973 ExprValueKind::VK_LValue, Loc); // FIXME: scope? in buildCoroutineParameterMoves()
|
| H A D | SemaFixItUtils.cpp | 98 S, Begin, VK_LValue); in tryToFixConversion()
|
| H A D | SemaExprObjC.cpp | 791 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript, in BuildObjCSubscriptExpression() 2007 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2011 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2024 PD, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty, MemberLoc, in HandleExprPropertyRefExpr() 2028 ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2093 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2097 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr() 2250 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in ActOnClassPropertyRefExpr() 2255 Getter, Setter, Context.PseudoObjectTy, VK_LValue, OK_ObjCProperty, in ActOnClassPropertyRefExpr()
|
| H A D | SemaInit.cpp | 3969 case VK_LValue: S.Kind = SK_CastDerivedToBaseLValue; break; in AddDerivedToBaseCastStep() 4022 case VK_LValue: in AddQualificationConversionStep() 4881 cv1T1, DestType->isRValueReferenceType() ? VK_XValue : VK_LValue); in TryReferenceListInitialization() 5265 VK = VK_LValue; in TryRefInitWithConversionFunction() 5267 VK = RRef->getPointeeType()->isFunctionType() ? VK_LValue : VK_XValue; in TryRefInitWithConversionFunction() 5307 VK = IsLValueRef ? VK_LValue : VK_XValue; in TryRefInitWithConversionFunction() 5415 Sequence.AddDerivedToBaseCastStep(cv1T1, VK_LValue); in TryReferenceInitializationCore() 5557 ValueKind = isLValueRef ? VK_LValue : VK_XValue; in TryReferenceInitializationCore() 5684 Sequence.AddQualificationConversionStep(cv1T1, isLValueRef ? VK_LValue in TryReferenceInitializationCore() 8005 ? VK_LValue in Perform() [all …]
|
| H A D | SemaStmt.cpp | 2747 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2752 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2949 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2954 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2977 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 2998 VK_LValue, ColonLoc); in BuildCXXForRangeStmt()
|
| H A D | SemaExpr.cpp | 2758 return BuildDeclRefExpr(VD, type, VK_LValue, NameLoc); in ActOnIdExpression() 3349 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3357 valueKind = VK_LValue; // even if the parameter is an r-value reference in BuildDeclarationNameExpr() 3368 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3396 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3431 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3457 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3461 valueKind = VK_LValue; in BuildDeclarationNameExpr() 3478 valueKind = VK_LValue; in BuildDeclarationNameExpr() 5022 VK_LValue, OK_Ordinary, rbLoc); in ActOnArraySubscriptExpr() [all …]
|
| H A D | SemaObjCProperty.cpp | 1444 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl() 1506 DeclRefExpr(Context, SelfDecl, false, SelfDecl->getType(), VK_LValue, in ActOnPropertyImplDecl() 1522 DeclRefExpr(Context, Param, false, T, VK_LValue, PropertyDiagLoc); in ActOnPropertyImplDecl()
|
| H A D | HLSLBuiltinTypeDeclBuilder.cpp | 433 HandleField->getType(), VK_LValue, in getResourceHandleExpr()
|
| H A D | SemaOpenMP.cpp | 1557 VK_LValue); in buildDeclRefExpr() 2473 VK_LValue, OK_Ordinary); in isOpenMPCapturedDecl() 3196 Id.getLoc(), ExprType, VK_LValue); in ActOnOpenMPIdExpression() 5426 DistParam, LogicalTy, VK_LValue, {}, nullptr, nullptr, {}, nullptr); in buildDistanceFunc() 5581 TargetParam, LoopVarTy, VK_LValue, {}, nullptr, nullptr, {}, nullptr); in buildLoopVarFunc() 5584 IndvarParam, LogicalTy, VK_LValue, {}, nullptr, nullptr, {}, nullptr); in buildLoopVarFunc() 5758 SemaRef.BuildDeclRefExpr(LUVDecl, LUVDecl->getType(), VK_LValue, {}, in ActOnOpenMPCanonicalLoop() 5861 VK_LValue, OK_Ordinary, E); in processImplicitMapsWithDefaultMappers() 5871 P.first->getType(), VK_LValue, OK_Ordinary); in processImplicitMapsWithDefaultMappers() 5881 CurFD->getType(), VK_LValue, OK_Ordinary); in processImplicitMapsWithDefaultMappers() [all …]
|
| H A D | SemaDeclCXX.cpp | 1028 ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc); in checkSimpleDecomposition() 1313 ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc); in checkTupleLikeDecomposition() 1561 ExprResult E = S.BuildDeclRefExpr(Src, DecompType, VK_LValue, Loc); in checkMemberDecomposition() 1565 VK_LValue, &BasePath); in checkMemberDecomposition() 4906 VK_LValue, nullptr); in BuildImplicitBaseInitializer() 4923 Moving ? VK_XValue : VK_LValue, in BuildImplicitBaseInitializer() 4979 Loc, ParamType, VK_LValue, nullptr); in BuildImplicitMemberInitializer() 8202 OpaqueValueExpr Xi(FD->getLocation(), Type, VK_LValue); in visitExpandedSubobject() 8629 return S.ImpCastExprToType(E, ToType, CK_DerivedToBase, VK_LValue, &Path); in getBase() 14634 return assertNotNull(S.BuildDeclRefExpr(Var, VarType, VK_LValue, Loc)); in build() [all …]
|
| H A D | SemaCUDA.cpp | 62 getASTContext(), ConfigDecl, false, ConfigQTy, VK_LValue, LLLLoc); in ActOnExecConfigExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 109 ExprValueKind ValueKind = VK_LValue); 149 RefersToEnclosingVariableOrCapture, SourceLocation(), Type, VK_LValue); in makeDeclRefExpr() 155 VK_LValue, OK_Ordinary, SourceLocation(), in makeDereference() 186 Ty->isLValueReferenceType() ? VK_LValue : VK_XValue, CK_NoOp, in makeReferenceCast() 304 /* VK =*/ VK_LValue); in create_call_once_lambda_call()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 884 *Context, PE, true, FD, FD->getType(), VK_LValue, OK_Ordinary); in getIvarAccessString() 2103 VK_LValue, SourceLocation()); in SynthesizeCallToFunctionDecl() 2590 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation()); in RewriteObjCStringLiteral() 2679 *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation()); in RewriteObjCBoxedExpr() 2735 CallExpr::Create(*Context, NSArrayDRE, InitExprs, NSArrayFType, VK_LValue, in RewriteObjCArrayLiteralExpr() 2746 ARRFD->getType(), VK_LValue, OK_Ordinary); in RewriteObjCArrayLiteralExpr() 2800 *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation()); in RewriteObjCArrayLiteralExpr() 2864 CallExpr::Create(*Context, NSDictDRE, ValueExprs, NSDictFType, VK_LValue, in RewriteObjCDictionaryLiteralExpr() 2875 ARRFD->getType(), VK_LValue, OK_Ordinary); in RewriteObjCDictionaryLiteralExpr() 2884 CallExpr::Create(*Context, NSDictDRE, KeyExprs, NSDictFType, VK_LValue, in RewriteObjCDictionaryLiteralExpr() [all …]
|
| H A D | RewriteObjC.cpp | 2019 VK_LValue, SourceLocation()); in SynthesizeCallToFunctionDecl() 2516 DeclRefExpr(*Context, NewVD, false, strType, VK_LValue, SourceLocation()); in RewriteObjCStringLiteral() 2600 msgSendType, VK_LValue, SourceLocation()); in SynthMsgSendStretCallExpr() 2705 VK_LValue, SourceLocation()); in SynthMessageExpr() 2707 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr() 2730 superType, VK_LValue, in SynthMessageExpr() 2797 VK_LValue, SourceLocation()); in SynthMessageExpr() 2799 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr() 2940 *Context, MsgSendFlavor, false, msgSendType, VK_LValue, SourceLocation()); in SynthMessageExpr() 3042 *Context, VD, false, getProtocolType(), VK_LValue, SourceLocation()); in RewriteObjCProtocolExpr() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTResultSynthesizer.cpp | 196 assert(lvalue_expr->getValueKind() == VK_LValue && in CanTakeAddressOfLValue() 303 bool is_lvalue = last_expr->getValueKind() == VK_LValue && in SynthesizeBodyResult()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Specifiers.h | 139 VK_LValue, enumerator
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 476 : Expr(SC, Context.OverloadTy, VK_LValue, OK_Ordinary), NameInfo(NameInfo), in OverloadExpr() 517 : Expr(DependentScopeDeclRefExprClass, Ty, VK_LValue, OK_Ordinary), in DependentScopeDeclRefExpr() 1058 Ty->isLValueReferenceType() ? VK_LValue in CXXDefaultInitExpr() 1464 (TSI->getType()->isLValueReferenceType() ? VK_LValue in CXXUnresolvedConstructExpr() 1502 : Expr(CXXDependentScopeMemberExprClass, Ctx.DependentTy, VK_LValue, in CXXDependentScopeMemberExpr() 1576 Ctx.getLangOpts().HLSL ? VK_LValue : VK_PRValue); in Create() 1793 : Expr(FunctionParmPackExprClass, T, VK_LValue, OK_Ordinary), in FunctionParmPackExpr() 1820 BoundToLvalueReference ? VK_LValue : VK_XValue, OK_Ordinary) { in MaterializeTemporaryExpr()
|
| H A D | ExprClassification.cpp | 100 case VK_LValue: in ClassifyExprValueKind()
|
| H A D | Expr.cpp | 614 : Expr(PredefinedExprClass, FNTy, VK_LValue, OK_Ordinary) { in PredefinedExpr() 1127 : Expr(StringLiteralClass, Ty, VK_LValue, OK_Ordinary) { in StringLiteral() 5212 T->isDependentType() ? VK_LValue : getValueKindForType(T), in RecoveryExpr() 5254 : Expr(OMPArrayShapingExprClass, ExprTy, VK_LValue, OK_Ordinary), LPLoc(L), in OMPArrayShapingExpr() 5374 : Expr(OMPIteratorExprClass, ExprTy, VK_LValue, OK_Ordinary), in OMPIteratorExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 415 : Expr(ObjCEncodeExprClass, T, VK_LValue, OK_Ordinary), in ObjCEncodeExpr() 567 : Expr(ObjCIvarRefExprClass, t, VK_LValue, 1500 : Expr(ObjCIsaExprClass, ty, VK_LValue, OK_Ordinary), Base(base), in ObjCIsaExpr() 1585 : Expr(ObjCIndirectCopyRestoreExprClass, type, VK_LValue, OK_Ordinary), in ObjCIndirectCopyRestoreExpr()
|
| H A D | ExprCXX.h | 856 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXTypeidExpr() 862 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXTypeidExpr() 1079 : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXUuidofExpr() 1085 : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary), Operand(Operand), in CXXUuidofExpr() 4510 : Expr(PackIndexingExprClass, Type, VK_LValue, OK_Ordinary), in Expr() argument
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjC.cpp | 1376 argVar->getType().getNonReferenceType(), VK_LValue, in emitStructSetterCall() 1420 argVar->getType().getNonReferenceType(), VK_LValue, in emitCPPObjectAtomicSetterCall() 1614 VK_LValue, SourceLocation()); in generateObjCSetterBody() 1624 DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue, in generateObjCSetterBody() 1792 Self->getType(), VK_LValue, SourceLocation()); in LoadObjCSelf() 1976 D->getType(), VK_LValue, SourceLocation()); in EmitObjCForCollectionStmt() 3811 C, &DstExpr, UO_Deref, DestTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicSetterCopyHelperFunction() 3816 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicSetterCopyHelperFunction() 3823 VK_LValue, SourceLocation(), FPOptionsOverride()); in GenerateObjCAtomicSetterCopyHelperFunction() 3910 C, &SrcExpr, UO_Deref, SrcTy->getPointeeType(), VK_LValue, OK_Ordinary, in GenerateObjCAtomicGetterCopyHelperFunction()
|
| H A D | CGStmtOpenMP.cpp | 106 VD->getType().getNonReferenceType(), VK_LValue, C.getLocation()); in OMPLexicalScope() 305 VD->getType().getNonReferenceType(), VK_LValue, in OMPSimdLexicalScope() 355 OrigDRE->getType(), VK_LValue, OrigDRE->getExprLoc()); in EmitOMPSharedLValue() 919 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPFirstprivateClause() 1057 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPCopyinClause() 1136 (*IRef)->getType(), VK_LValue, (*IRef)->getExprLoc()); in EmitOMPLastprivateClauseInit() 2231 VD->getInit()->getType(), VK_LValue, in EmitOMPLinearClauseInit() 2277 (*IC)->getType(), VK_LValue, (*IC)->getExprLoc()); in EmitOMPLinearClauseFinal() 2344 E->getType(), VK_LValue, E->getExprLoc()); in EmitOMPPrivateLoopCounters() 2592 (*IPC)->getType(), VK_LValue, (*IPC)->getExprLoc()); in EmitOMPSimdFinal() [all …]
|