/freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 142 WeakObjectProfileTy(const DeclRefExpr * DRE) WeakObjectProfileTy() argument 195 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { markSafeWeakUse() local 238 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) { visitPotentialCaptures() local
|
H A D | SemaStmtAsm.cpp | 146 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckNakedParmReference() local 758 if (DeclRefExpr *DRE = dyn_cast<clang::DeclRefExpr>(Res)) in FillInlineAsmIdentifierInfo() local
|
H A D | SemaAvailability.cpp | 739 bool VisitDeclRefExpr(DeclRefExpr *DRE) { in VisitDeclRefExpr() argument 662 VisitDeclRefExpr(DeclRefExpr * DRE) VisitDeclRefExpr() argument
|
H A D | SemaExpr.cpp | 533 if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) DefaultFunctionArrayConversion() local 2227 auto *DRE = dyn_cast<DeclRefExpr>(VD->getInit()); isCapturingReferenceToHostVarInCUDADeviceLambda() local 4571 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Inner)) { CheckAlignOfExpr() local 7130 const DeclRefExpr *DRE = dyn_cast_if_present<DeclRefExpr>(E); DiagnosedUnqualifiedCallsToStdFunctions() local 7291 if (auto *DRE = dyn_cast<DeclRefExpr>(NakedFn)) { BuildCallExpr() local 11448 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { DiagnoseDivisionSizeofPointerOrArray() local 11462 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { DiagnoseDivisionSizeofPointerOrArray() local 14152 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); isReferenceToNonConstCapture() local 14288 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { DiagnoseConstAssignment() local 14382 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) DiagnoseRecursiveConstFields() local 14646 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InnerLHS); CheckAssignmentOperands() local 14986 const auto *DRE = cast<DeclRefExpr>(Op->IgnoreParens()); CheckUseOfCXXMethodAsAddressOfOperand() local 15117 DeclRefExpr *DRE = cast<DeclRefExpr>(op); CheckAddressOfOperand() local 15140 } else if (const auto *DRE = dyn_cast<DeclRefExpr>(op)) { CheckAddressOfOperand() local 15236 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp); RecordModifiableNonNullParam() local 15498 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) getDeclFromExpr() local 15681 if (auto *DRE = dyn_cast<DeclRefExpr>(LHS.get()->IgnoreParens())) CreateBuiltinBinOp() local 16524 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { isQualifiedMemberAccess() local 17639 auto *DRE = dyn_cast<DeclRefExpr>(SrcExpr->IgnoreParenImpCasts()); maybeDiagnoseAssignmentToFunction() local 20129 auto *DRE = cast<DeclRefExpr>(E); rebuildPotentialResultsAsNonOdrUsed() local 20415 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) { CleanupVarDeclMarking() local 20543 if (auto *DRE = dyn_cast_or_null<DeclRefExpr>(E)) DoMarkVarDeclReferenced() local 20596 if (DeclRefExpr *DRE = dyn_cast_or_null<DeclRefExpr>(E)) DoMarkVarDeclReferenced() local 21555 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); resolveDecl() local 21780 auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()); CheckPlaceholderExpr() local [all...] |
H A D | SemaInit.cpp | 6095 auto *DRE = dyn_cast<DeclRefExpr>(E); isExprAnUnaddressableFunction() local 7687 auto *DRE = cast<DeclRefExpr>(Init); visitLocalsRetainedByReferenceBinding() local 7784 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { visitLocalsRetainedByInitializer() local 8237 auto *DRE = dyn_cast<DeclRefExpr>(L); checkInitializerLifetime() local 8276 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { checkInitializerLifetime() local 8403 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg->IgnoreParenImpCasts()); CheckMoveOnConstruction() local 8808 if (auto *DRE = dyn_cast<DeclRefExpr>(CurInit.get()->IgnoreParens())) { Perform() local 9331 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Init)) { Perform() local [all...] |
H A D | SemaChecking.cpp | 1442 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); SemaBuiltinSEHScopeCheck() local 2889 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts()); CheckBuiltinFunctionCall() local 3443 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); CheckARMBuiltinExclusiveCall() local 6052 DeclRefExpr *DRE = CheckRISCVBuiltinFunctionCall() local 7811 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); SemaAtomicOpsOverloaded() local 8442 DeclRefExpr *DRE = cast<DeclRefExpr>(Callee->IgnoreParenCasts()); SemaBuiltinAtomicOverloaded() local 8818 DeclRefExpr *DRE = SemaBuiltinNontemporalOverloaded() local 9731 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); SemaBuiltinConstantArg() local 16087 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) CheckImplicitConversion() local 16367 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { CheckForReference() local 16877 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) getObject() local 18072 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) CheckArrayAccess() local 18169 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) CheckArrayAccess() local 18391 if (const DeclRefExpr *DRE = dyn_cast_or_null<DeclRefExpr>(LHS)) { VisitBinaryOperator() local 19214 const DeclRefExpr *DRE = cast<DeclRefExpr>(TypeExpr); FindTypeTagExpr() local 19528 const auto *DRE = dyn_cast<DeclRefExpr>(TopBase); RefersToMemberWithReducedAlignment() local [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransGCCalls.cpp | 46 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr() local
|
H A D | TransProtectedScope.cpp | 183 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside() local
|
H A D | TransRetainReleaseDealloc.cpp | 305 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getReferencedDecl() local
|
H A D | TransUnbridgedCasts.cpp | 452 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isSelf() local
|
H A D | Transforms.cpp | 197 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) isGlobalVar() local
|
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 49 getDREAncestorString(const DeclRefExpr * DRE,ASTContext & Ctx) getDREAncestorString() argument 464 if (const auto *DRE = getClaimedVarUseSites() local 498 if (const auto *DRE = getClaimedVarUseSites() local 539 if (const auto *DRE = getClaimedVarUseSites() local 587 if (const auto *DRE = dyn_cast<DeclRefExpr>(Ptr->IgnoreParenImpCasts())) { getClaimedVarUseSites() local 789 if (const auto *DRE = getClaimedVarUseSites() local 907 const auto *DRE = getClaimedVarUseSites() local 934 discoverUse(const DeclRefExpr * DRE) discoverUse() argument 937 claimUse(const DeclRefExpr * DRE) claimUse() argument 946 __anon3540a3500502(const DeclRefExpr *DRE) hasUnclaimedUses() argument 1171 if (const auto *DRE = Result.Nodes.getNodeAs<DeclRefExpr>("any_dre")) { findGadgets() local 1277 for (const DeclRefExpr *DRE : ClaimedVarUseSites) { groupWarningGadgetsByVar() local 1306 for (const DeclRefExpr *DRE : DREs) { groupFixablesByVar() local 1396 if (const auto *DRE = getFixits() local 1812 const auto *DRE = cast<DeclRefExpr>(ArraySub->getBase()->IgnoreImpCasts()); fixUPCAddressofArraySubscriptWithSpan() local 2707 for (const auto *DRE : G->getClaimedVarUseSites()) { checkUnsafeBufferUsage() local [all...] |
H A D | ThreadSafetyCommon.cpp | 308 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, in translateDeclRefExpr() argument 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 D | UninitializedValues.cpp | 267 if (const auto *DRE = in findVar() local 332 const auto *DRE = in getSelfInitExpr() local 382 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) classify() local 390 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) VisitDeclStmt() local [all...] |
H A D | ReachableCode.cpp | 64 if (const auto *DRE = dyn_cast<DeclRefExpr>(S)) isBuiltinUnreachable() local
|
H A D | ThreadSafety.cpp | 634 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSExp)) { in VisitBinaryOperator() local 1418 else if (const auto *DRE = dyn_cast<DeclRefExpr>(Cond)) { in getTrylockCallExpr() local 1684 while (const auto *DRE = dyn_cast<DeclRefExpr>(Exp)) { in checkAccess() local
|
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastValueChecker.cpp | 122 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 D | DereferenceChecker.cpp | 149 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) isDeclRefExprToReference() local
|
H A D | DeadStoresChecker.cpp | 417 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in observeStmt() local
|
H A D | MacOSKeychainAPIChecker.cpp | 158 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in REGISTER_MAP_WITH_PROGRAMSTATE() local
|
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 2104 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, SynthesizeCallToFunctionDecl() local 2591 DeclRefExpr *DRE = new (Context) RewriteObjCStringLiteral() local 2680 DeclRefExpr *DRE = new (Context) DeclRefExpr( RewriteObjCBoxedExpr() local 2801 DeclRefExpr *DRE = new (Context) DeclRefExpr( RewriteObjCArrayLiteralExpr() local 2953 DeclRefExpr *DRE = new (Context) DeclRefExpr( RewriteObjCDictionaryLiteralExpr() local 3180 DeclRefExpr *DRE = new (Context) SynthMsgSendStretCallExpr() local 3276 DeclRefExpr *DRE = new (Context) SynthMessageExpr() local 3368 DeclRefExpr *DRE = new (Context) SynthMessageExpr() local 3512 DeclRefExpr *DRE = new (Context) DeclRefExpr( SynthMessageExpr() local 3590 DeclRefExpr *DRE = new (Context) DeclRefExpr( RewriteObjCProtocolExpr() local 4468 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) GetBlockDeclRefExprs() local 4490 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { GetInnerBlockDeclRefExprs() local 4555 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { SynthesizeBlockCall() local 4698 RewriteLocalVariableExternalStorage(DeclRefExpr * DRE) RewriteLocalVariableExternalStorage() argument 5272 DeclRefExpr *DRE = new (Context) SynthBlockInitExpr() local 5626 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { RewriteFunctionBodyOrGlobalInitializer() local 7483 DeclRefExpr *DRE = new (Context) RewriteObjCIvarRefExpr() local [all...] |
H A D | RewriteObjC.cpp | 2020 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local 2517 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral() local 2705 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 2797 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 2941 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr() local 3043 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr() local 3655 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs() local 3677 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs() local 3723 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall() local 3867 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage() [all …]
|
/freebsd-src/contrib/llvm-project/clang/lib/AST/ |
H A D | NSAPI.cpp | 598 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) isObjCEnumerator() local
|
H A D | Expr.cpp | 216 D = DRE->getDecl(); in isFlexibleArrayMemberLike() local 4091 const ImplicitParamDecl *Param = dyn_cast<ImplicitParamDecl>(DRE->getDecl()); in refersToVectorElement() local 1538 if (auto *DRE = dyn_cast<DeclRefExpr>(CEE)) getReferencedDeclOfCallee() local 2873 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE)) isUnusedResultAWarning() local 4012 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); isObjCSelfExpr() local 4102 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) refersToGlobalRegisterVar() local 4203 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) isSameComparisonOperand() local 5008 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) getBaseOriginalType() local [all...] |
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 94 DeclRefExpr DRE( OMPLexicalScope() local 269 DeclRefExpr DRE(CGF.getContext(), const_cast<VarDecl *>(VD), OMPSimdLexicalScope() local 298 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured, EmitOMPSharedLValue() local 851 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), EmitOMPFirstprivateClause() local 991 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(VD), true, EmitOMPCopyinClause() local 1068 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), EmitOMPLastprivateClauseInit() local 1489 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); checkForLastprivateConditionalUpdate() local 1500 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); checkForLastprivateConditionalUpdate() local 1511 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); checkForLastprivateConditionalUpdate() local 1526 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); checkForLastprivateConditionalUpdate() local 2154 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), EmitOMPLinearClauseInit() local 2200 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), EmitOMPLinearClauseFinal() local 2267 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(VD), EmitOMPPrivateLoopCounters() local 2282 const auto *DRE = cast<DeclRefExpr>(C->getLoopCounter(I)); EmitOMPPrivateLoopCounters() local 2439 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(PrivateVD), EmitOMPSimdFinal() local 4831 DeclRefExpr DRE(CGF.getContext(), const_cast<VarDecl *>(OrigVD), EmitOMPTaskBasedDirective() local 8028 const auto *DRE = cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); EmitSimpleOMPExecutableDirective() local [all...] |