Home
last modified time | relevance | path

Searched refs:isGLValue (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp74 SVal ExprVal = B->isGLValue() ? LeftV : RightV; in VisitBinaryOperator()
184 if (B->isGLValue()) in VisitBinaryOperator()
471 if (CastE->isGLValue()) in VisitCast()
512 if (CastE->isGLValue()) in VisitCast()
565 if (CastE->isGLValue()) in VisitCast()
596 if (CL->isGLValue()) in VisitCompoundLiteralExpr()
656 if (InitEx->isGLValue()) { in VisitDeclStmt()
784 if (!IE->isGLValue() && !IE->isTransparent() && in VisitInitListExpr()
1033 assert(!U->isGLValue()); in VisitUnaryOperator()
1044 assert (!U->isGLValue()); in VisitUnaryOperator()
[all …]
H A DSValBuilder.cpp168 if (Ex->isGLValue()) in conjureSymbolVal()
413 if (E->isGLValue()) in getConstantVal()
H A DExprEngine.cpp462 if (Result->isGLValue()) { in createTemporaryRegionIfNeeded()
3206 assert(Ex->isGLValue() || VD->getType()->isVoidType()); in VisitCommonDeclRefExpr()
3231 assert(!Ex->isGLValue()); in VisitCommonDeclRefExpr()
3446 bool IsGLValueLike = A->isGLValue() || in VisitArraySubscriptExpr()
3534 if (M->isGLValue() || M->getType()->isArrayType()) { in VisitMemberExpr()
3539 if (!M->isGLValue()) { in VisitMemberExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp133 assert(From.isGLValue() == To.isGLValue()); in propagateValueOrStorageLocation()
134 if (From.isGLValue()) in propagateValueOrStorageLocation()
219 if (!S->isGLValue()) in VisitDeclRefExpr()
611 if (S->isGLValue()) in VisitCXXOperatorCallExpr()
708 if (S->isGLValue()) { in VisitConditionalOperator()
H A DDataflowEnvironment.cpp675 if (Call->isGLValue()) { in popCall()
875 assert(E.isGLValue() || in setStorageLocation()
884 assert(E.isGLValue() || in getStorageLocation()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp589 if (Arg->isGLValue()) in visitFunctionCallArguments()
617 if (Arg->isGLValue()) in visitFunctionCallArguments()
727 if (CE->getSubExpr()->isGLValue()) in visitLocalsRetainedByReferenceBinding()
998 if (E->isGLValue()) in visitLocalsRetainedByInitializer()
1029 if (I->isGLValue()) in visitLocalsRetainedByInitializer()
1376 << ExtendingEntity->getDecl() << Init->isGLValue() << DiagRange; in checkExprLifetimeImpl()
1629 if (Init->isGLValue()) in checkExprLifetimeImpl()
H A DSemaCast.cpp1614 if (!SrcExpr->isGLValue()) in TryLValueToRValueCast()
2308 if (!SrcExpr.get()->isGLValue()) { in TryReinterpretCast()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DContext.h84 if (E->isGLValue()) in classify()
H A DEvalEmitter.cpp60 this->ConvertResultToRValue = !Init->isGLValue() && !T->isPointerType() && in interpretDecl()
H A DContext.cpp61 auto Res = C.interpretExpr(E, /*ConvertResultToRValue=*/E->isGLValue()); in evaluateAsRValue()
H A DCompiler.cpp2275 if (E->isGLValue()) in VisitMemberExpr()
3968 if (E->isGLValue()) { in VisitExtVectorElementExpr()
4035 assert(SubExpr->isGLValue()); in VisitCXXStdInitializerListExpr()
4110 if (!E->isGLValue() && !E->getType()->isAnyComplexType() && in visit()
5055 if (!Base->isGLValue()) in VisitCallExpr()
6194 return E->isGLValue() || this->emitLoadPop(*T, E); in VisitUnaryOperator()
6239 return E->isGLValue() || this->emitLoadPop(*T, E); in VisitUnaryOperator()
7057 if (SubExpr->isGLValue() || FromType->isVectorType()) { in emitBuiltinBitCast()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCall.cpp649 assert(argType->isReferenceType() == e->isGLValue() && in emitCallArg()
652 if (e->isGLValue()) { in emitCallArg()
H A DCIRGenExprConstant.cpp640 if (ce->isGLValue()) in tryEmitConstantExpr()
H A DCIRGenExprScalar.cpp1744 assert(subExpr->isGLValue() && "lvalue-to-rvalue applied to r-value!"); in VisitCastExpr()
1919 if (e->isGLValue()) { in VisitUnaryReal()
1940 if (e->isGLValue()) { in VisitUnaryImag()
H A DCIRGenFunction.cpp801 if (ice->isGLValue()) in shouldNullCheckClassCastValue()
H A DCIRGenFunction.h163 return expr->isGLValue() || expr->getType()->isFunctionType() || in shouldBindAsLValue()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp142 if (BadE->isGLValue()) in emitBadCall()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp441 if ((*I)->isGLValue()) { in VisitCallExpr()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h797 if (Ex->isGLValue() || Loc::isLocType(T) || in getSValAsScalarOrLoc()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp466 if (E->isGLValue()) in VisitConstantExpr()
541 if (E->isGLValue()) in VisitOpaqueValueExpr()
2360 if (ICE->isGLValue()) in ShouldNullCheckClassCastValue()
2715 assert(E->isGLValue() && "lvalue-to-rvalue applied to r-value!"); in VisitCastExpr()
3649 if (E->isGLValue()) { in VisitReal()
3688 if (Op->isGLValue()) { in VisitImag()
3706 if (Op->isGLValue()) in VisitImag()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp143 if (RD->isPolymorphic() && E->isGLValue()) in isPotentiallyEvaluated()
172 if (!CE->getSubExpr()->isGLValue()) in isGLValueFromPointerDeref()
H A DExpr.cpp2464 if (isGLValue()) { in isTransparent()
2557 if (!isGLValue() || !getType().isVolatileQualified()) in isReadIfDiscardedInCPlusPlus11()
4134 (ICE->isGLValue() && ICE->getCastKind() == CK_NoOp)) in getSourceBitField()
4188 if (ICE->isGLValue() && ICE->getCastKind() == CK_NoOp) in refersToVectorElement()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp562 if (CE->isGLValue()) { in handleConstMemberCall()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h279 bool isGLValue() const { return getValueKind() != VK_PRValue; } in isGLValue() function
381 bool isGLValue() const { return Kind <= CL_XValue; } in isGLValue() function
3570 bool hasStaticStorage() const { return isFileScope() && isGLValue(); } in hasStaticStorage()
3739 return (isGLValue() && (getType().isVolatileQualified() != in changesVolatileQualification()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h195 return !E->isGLValue() && in isCXXRecordTypedCall()

12