Home
last modified time | relevance | path

Searched refs:VK_RValue (Results 1 – 25 of 40) sorted by relevance

12

/external/clang/lib/Analysis/
DBodyFarm.cpp89 BO_Assign, Ty, VK_RValue, in makeAssignment()
101 VK_RValue, in makeComparison()
129 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeLvalueToRvalue()
137 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCast()
142 const_cast<Expr*>(Arg), nullptr, VK_RValue); in makeIntegralCastToBoolean()
207 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_once()
238 VK_RValue, OK_Ordinary, in create_dispatch_once()
269 CallExpr *CE = new (C) CallExpr(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_sync()
/external/clang/lib/AST/
DExprCXX.cpp72 : Expr(CXXNewExprClass, ty, VK_RValue, OK_Ordinary, in CXXNewExpr()
169 VK_RValue, OK_Ordinary, in CXXPseudoDestructorExpr()
698 : VK_RValue, in CXXDefaultInitExpr()
781 : Expr(SC, T, VK_RValue, OK_Ordinary, in CXXConstructExpr()
860 : Expr(LambdaExprClass, T, VK_RValue, OK_Ordinary, T->isDependentType(), in LambdaExpr()
1070 :VK_RValue), in CXXUnresolvedConstructExpr()
1333 : Expr(SubstNonTypeTemplateParmPackExprClass, T, VK_RValue, OK_Ordinary, in SubstNonTypeTemplateParmPackExpr()
1392 : Expr(TypeTraitExprClass, T, VK_RValue, OK_Ordinary, in TypeTraitExpr()
DExpr.cpp710 : Expr(IntegerLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in IntegerLiteral()
732 : Expr(FloatingLiteralClass, Type, VK_RValue, OK_Ordinary, false, false, in FloatingLiteral()
1334 : Expr(OffsetOfExprClass, type, VK_RValue, OK_Ordinary, in OffsetOfExpr()
1367 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()
1768 : Expr(InitListExprClass, QualType(), VK_RValue, OK_Ordinary, false, false, in InitListExpr()
3293 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp)) in getSourceBitField()
3333 if (ICE->getValueKind() != VK_RValue && in refersToVectorElement()
3430 : Expr(ShuffleVectorExprClass, Type, VK_RValue, OK_Ordinary, in ShuffleVectorExpr()
3494 VK_RValue, in GenericSelectionExpr()
3689 : Expr(DesignatedInitUpdateExprClass, baseExpr->getType(), VK_RValue, in DesignatedInitUpdateExpr()
[all …]
DExprObjC.cpp22 : Expr(ObjCArrayLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCArrayLiteral()
57 : Expr(ObjCDictionaryLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCDictionaryLiteral()
DExprClassification.cpp67 case Cl::CL_PRValue: assert(getValueKind() == VK_RValue); break; in ClassifyImpl()
92 case VK_RValue: in ClassifyExprValueKind()
/external/clang/include/clang/AST/
DExprCXX.h476 Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXBoolLiteralExpr()
509 Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXNullPtrLiteralExpr()
541 : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary, in CXXStdInitializerListExpr()
879 : Expr(CXXThisExprClass, Type, VK_RValue, OK_Ordinary, in CXXThisExpr()
927 Expr(CXXThrowExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in CXXThrowExpr()
1126 VK_RValue, OK_Ordinary, SubExpr->isTypeDependent(), in CXXBindTemporaryExpr()
1344 : Expr(CXXInheritedCtorInitExprClass, T, VK_RValue, OK_Ordinary, false, in CXXInheritedCtorInitExpr()
1775 : Expr(CXXScalarValueInitExprClass, Type, VK_RValue, OK_Ordinary, in CXXScalarValueInitExpr()
2030 : Expr(CXXDeleteExprClass, ty, VK_RValue, OK_Ordinary, false, false, in CXXDeleteExpr()
2381 : Expr(ArrayTypeTraitExprClass, ty, VK_RValue, OK_Ordinary, in ArrayTypeTraitExpr()
[all …]
DExprObjC.h34 : Expr(ObjCStringLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCStringLiteral()
65 Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false, in ObjCBoolLiteralExpr()
101 : Expr(ObjCBoxedExprClass, T, VK_RValue, OK_Ordinary, in ObjCBoxedExpr()
403 : Expr(ObjCSelectorExprClass, T, VK_RValue, OK_Ordinary, false, false,
447 : Expr(ObjCProtocolExprClass, T, VK_RValue, OK_Ordinary, false, false,
1535 : ExplicitCastExpr(ObjCBridgedCastExprClass, TSInfo->getType(), VK_RValue,
DExpr.h248 bool isRValue() const { return getValueKind() == VK_RValue; } in isRValue()
250 bool isGLValue() const { return getValueKind() != VK_RValue; } in isGLValue()
397 return VK_RValue; in getValueKindForType()
1321 : Expr(CharacterLiteralClass, type, VK_RValue, OK_Ordinary, false, false, in CharacterLiteral()
1427 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false, in ImaginaryLiteral()
1985 Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary, in UnaryExprOrTypeTraitExpr()
3345 : Expr(AddrLabelExprClass, t, VK_RValue, OK_Ordinary, false, false, false, in AddrLabelExpr()
3389 Expr(StmtExprClass, T, VK_RValue, OK_Ordinary, in StmtExpr()
3630 : Expr(GNUNullExprClass, Ty, VK_RValue, OK_Ordinary, false, false, false, in GNUNullExpr()
3662 : Expr(VAArgExprClass, t, VK_RValue, OK_Ordinary, t->isDependentType(), in VAArgExpr()
[all …]
/external/clang/lib/Sema/
DSemaExprCXX.cpp3397 From, /*BasePath=*/nullptr, VK_RValue); in PerformImplicitConversion()
3413 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3419 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3462 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3472 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3475 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3482 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3501 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3508 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
3511 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion()
[all …]
DSemaCoroutine.cpp246 if (E->getValueKind() == VK_RValue) in BuildCoawaitExpr()
313 if (E->getValueKind() == VK_RValue) in BuildCoyieldExpr()
DSemaExpr.cpp713 nullptr, VK_RValue); in DefaultLvalueConversion()
721 nullptr, VK_RValue); in DefaultLvalueConversion()
2884 ExprValueKind valueKind = VK_RValue; in BuildDeclarationNameExpr()
2905 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2934 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2947 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2974 valueKind = VK_RValue; in BuildDeclarationNameExpr()
2985 valueKind = VK_RValue; in BuildDeclarationNameExpr()
3006 valueKind = VK_RValue; in BuildDeclarationNameExpr()
3022 valueKind = VK_RValue; in BuildDeclarationNameExpr()
[all …]
DSemaExprMember.cpp391 if (HasRepeated) VK = VK_RValue; in CheckExtVectorComponent()
1181 valueKind = VK_RValue; in BuildMemberReferenceExpr()
1197 Enum->getType(), VK_RValue, OK_Ordinary); in BuildMemberReferenceExpr()
1775 VK = VK_RValue; in BuildFieldReferenceExpr()
1777 if (VK != VK_RValue && Field->isBitField()) in BuildFieldReferenceExpr()
DSemaFixItUtils.cpp137 S, Begin, VK_RValue); in tryToFixConversion()
DSemaCast.cpp575 if (ValueKind == VK_RValue) in CheckDynamicCast()
728 if (ValueKind == VK_RValue) in CheckConstCast()
843 if (ValueKind == VK_RValue && !isPlaceholder(BuiltinType::Overload)) in CheckReinterpretCast()
907 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckStaticCast()
1857 Expr::getValueKindForType(DestType) == VK_RValue // Convert Fun to Ptr in fixOverloadedReinterpretCastExpr()
2208 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckCXXCStyleCast()
DSemaInit.cpp2505 Init, nullptr, VK_RValue); in CheckDesignatedInitializer()
2527 Init, nullptr, VK_RValue); in CheckDesignatedInitializer()
3137 case VK_RValue: S.Kind = SK_CastDerivedToBaseRValue; break; in AddDerivedToBaseCastStep()
3179 case VK_RValue: in AddQualificationConversionStep()
4078 ExprValueKind VK = VK_RValue; in TryRefInitWithConversionFunction()
4188 return VK_RValue; in convertQualifiersAndValueKindIfNecessary()
4258 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore()
4314 ExprValueKind ValueKind = InitCategory.isXValue()? VK_XValue : VK_RValue; in TryReferenceInitializationCore()
4343 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore()
6411 VK_RValue); in Perform()
[all …]
DSemaExprObjC.cpp1575 VK = VK_RValue; in CheckMessageArgumentTypes()
2360 Context, ReceiverType, VK_RValue, LBracLoc, ReceiverTypeInfo, Sel, in BuildClassMessage()
2407 ExprValueKind VK = VK_RValue; in BuildClassMessage()
2578 Context, Context.DependentTy, VK_RValue, LBracLoc, Receiver, Sel, in BuildInstanceMessage()
2874 ExprValueKind VK = VK_RValue; in BuildInstanceMessage()
4086 nullptr, VK_RValue); in CheckObjCARCConversion()
4293 SubExpr, nullptr, VK_RValue); in BuildObjCBridgedCast()
4332 nullptr, VK_RValue); in BuildObjCBridgedCast()
DSema.cpp373 if (VK == VK_RValue && !E->isRValue()) { in ImpCastExprToType()
385 assert((VK == VK_RValue || !E->isRValue()) && "can't cast rvalue to lvalue"); in ImpCastExprToType()
DSemaPseudoObject.cpp1558 VK_RValue, OK_Ordinary, opcLoc); in checkPseudoObjectIncDec()
1588 VK_RValue, OK_Ordinary, opcLoc, false); in checkPseudoObjectAssignment()
DSemaOverload.cpp6479 &ConversionRef, VK_RValue); in AddConversionCandidate()
11327 Context, Fn, Args, Context.DependentTy, VK_RValue, RParenLoc); in buildOverloadedCallSet()
11529 VK_RValue, OK_Ordinary, OpLoc); in CreateOverloadedUnaryOp()
11539 VK_RValue, OpLoc, false); in CreateOverloadedUnaryOp()
11702 Args[0], Args[1], Opc, Context.DependentTy, VK_RValue, OK_Ordinary, in CreateOverloadedBinOp()
11722 VK_RValue, OpLoc, FPFeatures.fp_contract); in CreateOverloadedBinOp()
11981 Context.DependentTy, VK_RValue, RLoc, false); in CreateOverloadedArraySubscriptExpr()
12192 CallExpr(Context, MemExprE, Args, Context.VoidTy, VK_RValue, RParenLoc); in BuildCallToMemberFunction()
12585 nullptr, VK_RValue); in BuildCallToObjectOfClassType()
13028 VK_RValue, OK_Ordinary, in FixOverloadedFunctionReference()
[all …]
DSemaObjCProperty.cpp1261 VK_RValue); in ActOnPropertyImplDecl()
1313 VK_RValue); in ActOnPropertyImplDecl()
/external/clang/include/clang/Basic/
DSpecifiers.h105 VK_RValue, enumerator
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp494 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2018 DRE, nullptr, VK_RValue); in SynthesizeCallToFunctionDecl()
2024 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl()
2512 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral()
2611 *Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, SourceLocation()); in SynthMsgSendStretCallExpr()
2669 VK_RValue, in SynthMessageExpr()
2713 VK_RValue, OK_Ordinary, in SynthMessageExpr()
2731 VK_RValue, OK_Ordinary, in SynthMessageExpr()
2764 VK_RValue, SourceLocation())) in SynthMessageExpr()
2807 VK_RValue, OK_Ordinary, in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp588 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr()
2103 DRE, nullptr, VK_RValue); in SynthesizeCallToFunctionDecl()
2109 VK_RValue, EndLoc); in SynthesizeCallToFunctionDecl()
2588 VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral()
2692 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCBoxedExpr()
2718 new (Context) DeclRefExpr(NSArrayFD, false, NSArrayFType, VK_RValue, in RewriteObjCArrayLiteralExpr()
2815 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCArrayLiteralExpr()
2841 new (Context) DeclRefExpr(NSDictFD, false, NSDictFType, VK_RValue, in RewriteObjCDictionaryLiteralExpr()
2969 CallExpr(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, EndLoc); in RewriteObjCDictionaryLiteralExpr()
3179 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue, in SynthMsgSendStretCallExpr()
[all …]
/external/clang/lib/CodeGen/
DCGObjC.cpp1271 VK_RValue); in generateObjCSetterBody()
1281 &arg, VK_RValue); in generateObjCSetterBody()
1304 VK_RValue); in generateObjCSetterBody()
1312 ivarRef.getType(), VK_RValue, OK_Ordinary, in generateObjCSetterBody()
3220 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3225 VK_RValue, SourceLocation()); in GenerateObjCAtomicSetterCopyHelperFunction()
3300 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction()
3326 VK_RValue, SourceLocation()); in GenerateObjCAtomicGetterCopyHelperFunction()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp45 case VK_RValue: in getResultType()

12