Home
last modified time | relevance | path

Searched defs:DRE (Results 1 – 25 of 75) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp143 const DeclRefExpr *DRE) in WeakObjectProfileTy()
196 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in markSafeWeakUse() local
239 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) { in visitPotentialCaptures() local
H A DSemaBoundsSafety.cpp144 auto *DRE = dyn_cast<DeclRefExpr>(E); in CheckCountedByAttrOnField() local
H A DCheckExprLifetime.cpp570 auto *DRE = cast<DeclRefExpr>(Init); in visitLocalsRetainedByReferenceBinding() local
676 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { in visitLocalsRetainedByInitializer() local
1155 auto *DRE = dyn_cast<DeclRefExpr>(L); in checkExprLifetimeImpl() local
1196 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { in checkExprLifetimeImpl() local
H A DSemaStmtAsm.cpp146 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckNakedParmReference() local
758 if (DeclRefExpr *DRE = dyn_cast<clang::DeclRefExpr>(Res)) in FillInlineAsmIdentifierInfo() local
H A DSemaExpr.cpp523 if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in DefaultFunctionArrayConversion() local
2214 auto *DRE = dyn_cast<DeclRefExpr>(VD->getInit()); in isCapturingReferenceToHostVarInCUDADeviceLambda() local
4319 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Inner)) { in CheckAlignOfExpr() local
5745 if (auto *DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) { in isParenthetizedAndQualifiedAddressOfExpr() local
6348 const DeclRefExpr *DRE = dyn_cast_if_present<DeclRefExpr>(E); in DiagnosedUnqualifiedCallsToStdFunctions() local
6399 if (auto *DRE = dyn_cast<DeclRefExpr>(Fn->IgnoreParens()); in ActOnCallExpr() local
6514 if (auto *DRE = dyn_cast<DeclRefExpr>(NakedFn)) { in BuildCallExpr() local
10450 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { in DiagnoseDivisionSizeofPointerOrArray() local
10464 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { in DiagnoseDivisionSizeofPointerOrArray() local
13124 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isReferenceToNonConstCapture() local
[all …]
H A DSemaAvailability.cpp739 bool VisitDeclRefExpr(DeclRefExpr *DRE) { in VisitDeclRefExpr()
816 bool VisitDeclRefExpr(DeclRefExpr *DRE) { in VisitDeclRefExpr()
H A DSemaRISCV.cpp1307 DeclRefExpr *DRE = in CheckBuiltinFunctionCall() local
H A DSemaChecking.cpp1471 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in BuiltinSEHScopeCheck() local
2863 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts()); in CheckBuiltinFunctionCall() local
3523 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in AtomicOpsOverloaded() local
4127 DeclRefExpr *DRE = cast<DeclRefExpr>(Callee->IgnoreParenCasts()); in BuiltinAtomicOverloaded() local
4497 DeclRefExpr *DRE = in BuiltinNontemporalOverloaded() local
5307 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in BuiltinConstantArg() local
11474 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckForReference() local
11982 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getObject() local
13168 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess() local
13265 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp46 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr() local
H A DTransProtectedScope.cpp183 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside() local
H A DTransRetainReleaseDealloc.cpp305 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getReferencedDecl() local
H A DTransUnbridgedCasts.cpp452 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isSelf() local
H A DTransforms.cpp198 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isGlobalVar() local
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp57 static std::string getDREAncestorString(const DeclRefExpr *DRE, in getDREAncestorString()
590 if (const auto *DRE = in getClaimedVarUseSites() local
629 if (const auto *DRE = in getClaimedVarUseSites() local
675 if (const auto *DRE = in getClaimedVarUseSites() local
728 if (const auto *DRE = dyn_cast<DeclRefExpr>(Ptr->IgnoreParenImpCasts())) { in getClaimedVarUseSites() local
773 if (auto *DRE = dyn_cast<DeclRefExpr>(Ctor->getArg(0))) { in getClaimedVarUseSites() local
1063 if (const auto *DRE = in getClaimedVarUseSites() local
1179 const auto *DRE = in getClaimedVarUseSites() local
1206 void discoverUse(const DeclRefExpr *DRE) { Uses->insert(DRE); } in discoverUse()
1209 void claimUse(const DeclRefExpr *DRE) { in claimUse()
[all …]
H A DThreadSafetyCommon.cpp308 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, in translateDeclRefExpr()
487 if (const auto *DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator() local
546 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHS)) { in translateBinAssign() local
612 if (const auto *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in translateCastExpr() local
H A DUninitializedValues.cpp267 if (const auto *DRE = in findVar() local
332 const auto *DRE = in getSelfInitExpr() local
382 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local
390 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
H A DReachableCode.cpp65 if (const auto *DRE = dyn_cast<DeclRefExpr>(S)) in isBuiltinUnreachable() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp122 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local
153 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local
H A DDereferenceChecker.cpp151 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isDeclRefExprToReference() local
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2103 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local
2590 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral() local
2679 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCBoxedExpr() local
2800 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCArrayLiteralExpr() local
2952 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCDictionaryLiteralExpr() local
3179 DeclRefExpr *DRE = new (Context) in SynthMsgSendStretCallExpr() local
3275 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local
3367 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local
3511 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr() local
3589 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp98 DeclRefExpr DRE( in OMPLexicalScope() local
295 DeclRefExpr DRE(CGF.getContext(), const_cast<VarDecl *>(VD), in OMPSimdLexicalScope() local
324 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured, in EmitOMPSharedLValue() local
879 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), in EmitOMPFirstprivateClause() local
1018 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(VD), true, in EmitOMPCopyinClause() local
1095 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), in EmitOMPLastprivateClauseInit() local
1517 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
1528 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
1539 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
1554 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp571 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator() local
H A DExpr.cpp215 else if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isFlexibleArrayMemberLike() local
1568 if (auto *DRE = dyn_cast<DeclRefExpr>(CEE)) in getReferencedDeclOfCallee() local
2909 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE)) in isUnusedResultAWarning() local
4087 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr() local
4151 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in getEnumConstantDecl() local
4173 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in refersToVectorElement() local
4184 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar() local
4285 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isSameComparisonOperand() local
5099 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType() local
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp533 bool VisitDeclRefExpr(const DeclRefExpr *DRE) { in VisitDeclRefExpr()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp965 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant() local

123