Home
last modified time | relevance | path

Searched refs:isPRValue (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp446 if (Ret->isPRValue()) { in VisitReturnStmt()
504 if (S->isPRValue() && S->getType()->isRecordType()) { in VisitCXXDefaultArgExpr()
517 if (S->getType()->isRecordType() && S->isPRValue()) in VisitCXXDefaultInitExpr()
581 if (Arg1->isPRValue()) { in VisitCXXOperatorCallExpr()
652 if (S->getType()->isRecordType() && S->isPRValue()) { in VisitCallExpr()
H A DDataflowEnvironment.cpp361 RetValue->isPRValue()) in VisitReturnStmt()
372 if (E->isPRValue() && E->getType()->isRecordType() && in VisitExpr()
405 if (!E->isPRValue() || !E->getType()->isRecordType()) { in PropagateResultObject()
617 if (Call->getType()->isRecordType() && Call->isPRValue()) in pushCall()
894 assert(RecordPRValue.isPRValue()); in getResultObjectLocation()
931 assert(CanonE.isPRValue()); in setValue()
954 if (E.isPRValue()) { in getValue()
H A DHTMLLogger.cpp283 if (E->isPRValue()) { in recordState()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp72 assert(isPRValue()); in ClassifyImpl()
449 if (E->isPRValue()) in ClassifyInternal()
H A DExprConstant.cpp108 if (E->isPRValue()) in getStorageType()
2404 if (!E->isPRValue() || E->getType()->isLiteralType(Info.Ctx)) in CheckLiteralType()
2625 assert(E->isPRValue() && "missing lvalue-to-rvalue conv in bool condition"); in EvaluateAsBooleanCondition()
4729 if (Object->getType()->isPointerType() && Object->isPRValue()) in EvaluateObjectArgument()
4738 if (Object->getType()->isRecordType() && Object->isPRValue()) in EvaluateObjectArgument()
8386 } else if (E->getBase()->isPRValue()) { in VisitMemberExpr()
9201 assert(E->isPRValue() && E->getType()->hasPointerRepresentation()); in EvaluatePointer()
10132 assert(E->isPRValue() && E->getType()->isMemberPointerType()); in EvaluateMemberPointer()
10648 assert(E->isPRValue() && E->getType()->isRecordType() && in EvaluateRecord()
10704 assert(E->isPRValue() && E->getType()->isRecordType()); in EvaluateTemporary()
[all …]
H A DExpr.cpp117 assert(BO->getRHS()->isPRValue()); in skipRValueSubobjectAdjustments()
1878 if (isPRValue() && !Ty->isDependentType() && !SETy->isDependentType()) { in CastConsistency()
2459 if (!getInit(0)->isPRValue() && getType()->isRecordType()) in isTransparent()
3211 if (!E->Classify(C).isPRValue()) { in isTemporaryObject()
4210 return DRE1->isPRValue() && DRE2->isPRValue() && in isSameComparisonOperand()
H A DDeclCXX.cpp2352 if (Base->isPRValue() && Base->getType()->isRecordType()) in getDevirtualizedMethod()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp377 if (E.isPRValue()) { in getLocBehindPossiblePointer()
475 if (E->isPRValue()) { in transferCallReturningOptional()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp699 if (VK == VK_PRValue && !E->isPRValue()) { in ImpCastExprToType()
717 assert((VK == VK_PRValue || Kind == CK_Dependent || !E->isPRValue()) && in ImpCastExprToType()
736 if (getLangOpts().CPlusPlus && E->isPRValue()) { in ImpCastExprToType()
752 if (VK == VK_PRValue && !getLangOpts().CPlusPlus && !E->isPRValue()) { in ImpCastExprToType()
H A DSemaInit.cpp4380 UnwrappedArgs.size() == 1 && UnwrappedArgs[0]->isPRValue() && in TryConstructorInitialization()
4821 if (!E->isPRValue()) in TryListInitialization()
5263 (InitCategory.isPRValue() && in TryReferenceInitializationCore()
5267 if (InitCategory.isPRValue() && T2->isRecordType()) { in TryReferenceInitializationCore()
6084 assert(src->isPRValue()); in checkIndirectCopyRestoreSource()
6425 if (Initializer->isPRValue()) { in InitializeFrom()
7376 if (!ArgStripped->isPRValue() || !ArgStripped->getType()->isRecordType()) in CheckMoveOnConstruction()
7450 if (!E->isPRValue() || !getLangOpts().CPlusPlus11) in TemporaryMaterializationConversion()
7770 assert(CurInit.get()->isPRValue() && "not a temporary"); in Perform()
7927 assert(CurInit.get()->isPRValue() && "cannot convert glvalue to atomic"); in Perform()
H A DSemaCoroutine.cpp891 if (Awaiter->isPRValue()) in BuildResolvedCoawaitExpr()
954 if (E->isPRValue()) in BuildCoyieldExpr()
H A DSemaExprMember.cpp938 assert((!IsArrow || Base->isPRValue()) && in BuildMemberExpr()
1010 if (!IsArrow && BaseExpr && BaseExpr->isPRValue()) { in BuildMemberReferenceExpr()
H A DSemaCast.cpp859 if (SrcExpr.get()->isPRValue()) in CheckDynamicCast()
1967 if (isa<RValueReferenceType>(DestTypeTmp) && SrcExpr.get()->isPRValue()) { in TryConstCast()
3273 if (SrcExpr.get()->isPRValue()) in CheckBuiltinBitCast()
H A DSemaStmtAsm.cpp756 if (Res->isPRValue()) { in FillInlineAsmIdentifierInfo()
H A DSemaExprCXX.cpp4918 if (ToType->isReferenceType() && From->isPRValue()) { in PerformImplicitConversion()
6278 return E->isPRValue(); in EvaluateExpressionTrait()
6312 else if (LHS.get()->isPRValue()) in CheckPointerToMemberOperands()
8463 E->isPRValue() && !E->getType()->isVoidType()) { in IgnoredValueConversions()
8476 if (E->isPRValue()) { in IgnoredValueConversions()
H A DSemaPseudoObject.cpp846 if (RefExpr->isExplicitProperty() && result.get()->isPRValue()) { in buildRValueOperation()
H A DSemaConcept.cpp523 if (!SubstitutedExpression.get()->isPRValue()) in calculateConstraintSatisfaction()
H A DSemaExpr.cpp5181 if (getLangOpts().CPlusPlus11 && LHSExp->isPRValue()) { in CreateBuiltinArraySubscriptExpr()
7207 assert(E.get()->isPRValue()); in maybeExtendBlockObject()
8762 if (commonExpr->isPRValue() && (commonExpr->getType()->isRecordType() || in ActOnConditionalOp()
20239 assert(E->isPRValue()); in VisitUnaryAddrOf()
20249 assert(E->isPRValue()); in resolveDecl()
20340 assert(E->isPRValue()); in VisitUnaryAddrOf()
20493 assert(E->isPRValue()); in VisitImplicitCastExpr()
20507 assert(E->isPRValue()); in VisitImplicitCastExpr()
H A DSemaOverload.cpp5153 (InitCategory.isPRValue() && in TryReferenceInit()
5162 !(InitCategory.isPRValue() || T2->isRecordType())); in TryReferenceInit()
5672 if (C.isPRValue()) in TryObjectArgumentInitialization()
5829 if (From->isPRValue()) { in PerformImplicitObjectArgumentInitialization()
6356 if (Obj->Classify(S.getASTContext()).isPRValue()) { in GetExplicitObjectExpr()
H A DSemaExprObjC.cpp1892 if (typeArgs && Args[i]->isPRValue() && paramType->isBlockPointerType() && in CheckMessageArgumentTypes()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp476 AFC->getArgExpr(0)->isPRValue()) in checkPostCall()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h278 bool isPRValue() const { return getValueKind() == VK_PRValue; } in isPRValue() function
383 bool isPRValue() const { return Kind >= CL_Function; } in isPRValue() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2574 if (!E->isPRValue()) in handle()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp204 if (E->isPRValue()) in EmitIgnoredExpr()
6176 if (ov == resultExpr && ov->isPRValue() && !forLValue && in emitPseudoObjectExpr()
H A DCGExprScalar.cpp5549 if (BaseExpr->isPRValue()) { in EmitObjCIsaExpr()

12