/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 89 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/llvm-project/clang/lib/Analysis/ |
D | BodyFarm.cpp | 119 VK_RValue, OK_Ordinary, SourceLocation(), FPOptionsOverride()); in makeAssignment() 128 C.getLogicalOperationType(), VK_RValue, OK_Ordinary, SourceLocation(), in makeComparison() 172 /* ExprValueKind=*/VK_RValue, in makeImplicitCast() 267 return CallExpr::Create(C, SubExpr, CallArgs, C.VoidTy, VK_RValue, in create_call_once_funcptr_call() 294 /*ExprValueType=*/VK_RValue, in create_call_once_lambda_call() 454 /* ExprValueKind=*/VK_RValue, in create_call_once() 516 /*ExprValueType=*/VK_RValue, in create_dispatch_once() 522 C.LongTy, VK_RValue, OK_Ordinary, SourceLocation(), in create_dispatch_once() 583 CallExpr *CE = CallExpr::Create(C, ICE, None, C.VoidTy, VK_RValue, in create_dispatch_sync()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConcepts.cpp | 40 : Expr(ConceptSpecializationExprClass, C.BoolTy, VK_RValue, OK_Ordinary), in ConceptSpecializationExpr() 94 : Expr(ConceptSpecializationExprClass, C.BoolTy, VK_RValue, OK_Ordinary), in ConceptSpecializationExpr() 149 : Expr(RequiresExprClass, C.BoolTy, VK_RValue, OK_Ordinary), in RequiresExpr()
|
D | ExprObjC.cpp | 30 : Expr(ObjCArrayLiteralClass, T, VK_RValue, OK_Ordinary), in ObjCArrayLiteral() 57 : Expr(ObjCDictionaryLiteralClass, T, VK_RValue, OK_Ordinary), in ObjCDictionaryLiteral() 284 case VK_RValue: in getCallReturnType()
|
D | ExprCXX.cpp | 190 : Expr(CXXNewExprClass, Ty, VK_RValue, OK_Ordinary), in CXXNewExpr() 324 : Expr(CXXPseudoDestructorExprClass, Context.BoundMemberTy, VK_RValue, in CXXPseudoDestructorExpr() 956 : Ty->isRValueReferenceType() ? VK_XValue : VK_RValue, in CXXDefaultInitExpr() 1060 : Expr(SC, Ty, VK_RValue, OK_Ordinary), Constructor(Ctor), in CXXConstructExpr() 1128 : Expr(LambdaExprClass, T, VK_RValue, OK_Ordinary), in LambdaExpr() 1332 : VK_RValue), in CXXUnresolvedConstructExpr() 1671 : Expr(TypeTraitExprClass, T, VK_RValue, OK_Ordinary), Loc(Loc), in TypeTraitExpr()
|
D | Expr.cpp | 813 : Expr(IntegerLiteralClass, type, VK_RValue, OK_Ordinary), Loc(l) { in IntegerLiteral() 835 : Expr(FixedPointLiteralClass, type, VK_RValue, OK_Ordinary), Loc(l), in FixedPointLiteral() 869 : Expr(FloatingLiteralClass, Type, VK_RValue, OK_Ordinary), Loc(L) { in FloatingLiteral() 1457 : Expr(OffsetOfExprClass, type, VK_RValue, OK_Ordinary), in OffsetOfExpr() 1479 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr() 2039 VK_RValue, OK_Ordinary), in SourceLocExpr() 2107 : Expr(InitListExprClass, QualType(), VK_RValue, OK_Ordinary), in InitListExpr() 3767 (ICE->getValueKind() != VK_RValue && ICE->getCastKind() == CK_NoOp)) in getSourceBitField() 3814 if (ICE->getValueKind() != VK_RValue && in refersToVectorElement() 4022 : Expr(ShuffleVectorExprClass, Type, VK_RValue, OK_Ordinary), in ShuffleVectorExpr() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | ExprObjC.h | 58 : Expr(ObjCStringLiteralClass, T, VK_RValue, OK_Ordinary), String(SL), in ObjCStringLiteral() 94 : Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary), Value(val), in ObjCBoolLiteralExpr() 137 : Expr(ObjCBoxedExprClass, T, VK_RValue, OK_Ordinary), SubExpr(E), in ObjCBoxedExpr() 461 : Expr(ObjCSelectorExprClass, T, VK_RValue, OK_Ordinary), in ObjCSelectorExpr() 514 : Expr(ObjCProtocolExprClass, T, VK_RValue, OK_Ordinary), in ObjCProtocolExpr() 1641 : ExplicitCastExpr(ObjCBridgedCastExprClass, TSInfo->getType(), VK_RValue, in ObjCBridgedCastExpr() 1695 : Expr(ObjCAvailabilityCheckExprClass, Ty, VK_RValue, OK_Ordinary), in ObjCAvailabilityCheckExpr()
|
D | ExprCXX.h | 714 : Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary) { in CXXBoolLiteralExpr() 752 : Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary) { in CXXNullPtrLiteralExpr() 792 : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary), in CXXStdInitializerListExpr() 1135 : Expr(CXXThisExprClass, Ty, VK_RValue, OK_Ordinary) { in CXXThisExpr() 1184 : Expr(CXXThrowExprClass, Ty, VK_RValue, OK_Ordinary), Operand(Operand) { in CXXThrowExpr() 1407 : Expr(CXXBindTemporaryExprClass, SubExpr->getType(), VK_RValue, in CXXBindTemporaryExpr() 1662 : Expr(CXXInheritedCtorInitExprClass, T, VK_RValue, OK_Ordinary), in CXXInheritedCtorInitExpr() 2093 : Expr(CXXScalarValueInitExprClass, Type, VK_RValue, OK_Ordinary), in CXXScalarValueInitExpr() 2401 : Expr(CXXDeleteExprClass, Ty, VK_RValue, OK_Ordinary), in CXXDeleteExpr() 2768 : Expr(ArrayTypeTraitExprClass, ty, VK_RValue, OK_Ordinary), ATT(att), in ArrayTypeTraitExpr() [all …]
|
D | Expr.h | 273 bool isRValue() const { return getValueKind() == VK_RValue; } in isRValue() 275 bool isGLValue() const { return getValueKind() != VK_RValue; } in isGLValue() 428 return VK_RValue; in getValueKindForType() 1591 : Expr(CharacterLiteralClass, type, VK_RValue, OK_Ordinary), Value(value), in CharacterLiteral() 1710 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary), Val(val) { in ImaginaryLiteral() 2490 : Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary), in UnaryExprOrTypeTraitExpr() 4230 : Expr(AddrLabelExprClass, t, VK_RValue, OK_Ordinary), AmpAmpLoc(AALoc), in AddrLabelExpr() 4275 : Expr(StmtExprClass, T, VK_RValue, OK_Ordinary), SubStmt(SubStmt), in StmtExpr() 4525 : Expr(GNUNullExprClass, Ty, VK_RValue, OK_Ordinary), TokenLoc(Loc) { in GNUNullExpr() 4560 : Expr(VAArgExprClass, t, VK_RValue, OK_Ordinary), Val(e), in VAArgExpr() [all …]
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 72 : 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()
|
D | Expr.cpp | 710 : 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 …]
|
D | ExprObjC.cpp | 22 : Expr(ObjCArrayLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCArrayLiteral() 57 : Expr(ObjCDictionaryLiteralClass, T, VK_RValue, OK_Ordinary, false, false, in ObjCDictionaryLiteral()
|
/external/clang/include/clang/Basic/ |
D | Specifiers.h | 105 VK_RValue, enumerator
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 476 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 …]
|
D | ExprObjC.h | 34 : 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,
|
D | Expr.h | 248 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/ |
D | SemaExprCXX.cpp | 3397 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 …]
|
D | SemaCoroutine.cpp | 246 if (E->getValueKind() == VK_RValue) in BuildCoawaitExpr() 313 if (E->getValueKind() == VK_RValue) in BuildCoyieldExpr()
|
D | SemaFixItUtils.cpp | 137 S, Begin, VK_RValue); in tryToFixConversion()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Specifiers.h | 110 VK_RValue, enumerator
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 494 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 …]
|
D | RewriteModernObjC.cpp | 588 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/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 494 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr() 2027 DRE, nullptr, VK_RValue, FPOptionsOverride()); in SynthesizeCallToFunctionDecl() 2033 VK_RValue, EndLoc, FPOptionsOverride()); in SynthesizeCallToFunctionDecl() 2521 Context->getPointerType(DRE->getType()), VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral() 2620 CallExpr::Create(*Context, PE, MsgExprs, FT->getReturnType(), VK_RValue, in SynthMsgSendStretCallExpr() 2680 VK_RValue, in SynthMessageExpr() 2724 Context->getPointerType(SuperRep->getType()), VK_RValue, OK_Ordinary, in SynthMessageExpr() 2742 Context->getPointerType(SuperRep->getType()), VK_RValue, OK_Ordinary, in SynthMessageExpr() 2776 VK_RValue, SourceLocation())) in SynthMessageExpr() 2820 Context->getPointerType(SuperRep->getType()), VK_RValue, OK_Ordinary, in SynthMessageExpr() [all …]
|
D | RewriteModernObjC.cpp | 588 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr, in NoTypeInfoCStyleCastExpr() 2110 DRE, nullptr, VK_RValue, FPOptionsOverride()); in SynthesizeCallToFunctionDecl() 2115 VK_RValue, EndLoc, FPOptionsOverride()); in SynthesizeCallToFunctionDecl() 2594 Context->getPointerType(DRE->getType()), VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral() 2697 VK_RValue, EndLoc, FPOptionsOverride()); in RewriteObjCBoxedExpr() 2723 *Context, NSArrayFD, false, NSArrayFType, VK_RValue, SourceLocation()); in RewriteObjCArrayLiteralExpr() 2818 VK_RValue, EndLoc, FPOptionsOverride()); in RewriteObjCArrayLiteralExpr() 2844 *Context, NSDictFD, false, NSDictFType, VK_RValue, SourceLocation()); in RewriteObjCDictionaryLiteralExpr() 2970 VK_RValue, EndLoc, FPOptionsOverride()); in RewriteObjCDictionaryLiteralExpr() 3180 DeclRefExpr(*Context, FD, false, castType, VK_RValue, SourceLocation()); in SynthMsgSendStretCallExpr() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 2209 OpaqueValueExpr OpaqueAllocationSize(SourceLocation(), SizeTy, VK_RValue, in BuildCXXNew() 2225 VK_RValue, FPOptionsOverride()); in BuildCXXNew() 4118 From, /*BasePath=*/nullptr, VK_RValue, in PerformImplicitConversion() 4135 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 4141 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 4184 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 4187 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 4194 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 4213 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() 4220 VK_RValue, /*BasePath=*/nullptr, CCK).get(); in PerformImplicitConversion() [all …]
|