/aosp_15_r20/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 39 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) { in isPseudoConstant() 55 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) { in wasReferenced() 122 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl); in RunAnalysis() local 156 const VarDecl *VD = dyn_cast<VarDecl>(D); in RunAnalysis() local 174 const VarDecl *VD = dyn_cast<VarDecl>(I); in RunAnalysis() local 200 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in RunAnalysis() local
|
H A D | ThreadSafetyCommon.cpp | 268 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); in translateDeclRefExpr() local 312 auto *VD = getValueDeclFromSExpr(E); in hasCppPointerType() local 341 if (auto *VD = dyn_cast<CXXMethodDecl>(D)) in translateMemberExpr() local 474 const ValueDecl *VD = nullptr; in translateBinAssign() local 590 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(*I)) { in translateDeclStmt() local 612 const ValueDecl *VD) { in addStatement() 624 til::SExpr *SExprBuilder::lookupVarDecl(const ValueDecl *VD) { in lookupVarDecl() 634 static void maybeUpdateVD(til::SExpr *E, const ValueDecl *VD) { in maybeUpdateVD() 644 til::SExpr *SExprBuilder::addVarDecl(const ValueDecl *VD, til::SExpr *E) { in addVarDecl() 653 til::SExpr *SExprBuilder::updateVarDecl(const ValueDecl *VD, til::SExpr *E) { in updateVarDecl() [all …]
|
H A D | UninitializedValues.cpp | 296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) in findVar() local 341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); in get() local 350 static const DeclRefExpr *getSelfInitExpr(VarDecl *VD) { in getSelfInitExpr() 382 if (VarDecl *VD = dyn_cast<VarDecl>(ME->getMemberDecl())) { in classify() local 410 VarDecl *VD = dyn_cast<VarDecl>(DI); in VisitDeclStmt() local 686 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt() local 748 if (const VarDecl *VD = Var.getDecl()) in VisitBinaryOperator() local 755 VarDecl *VD = dyn_cast<VarDecl>(DI); in VisitDeclStmt() local
|
H A D | CFG.cpp | 36 if (VarDecl *VD = dyn_cast<VarDecl>(D)) in GetEndLoc() local 257 void addVar(VarDecl *VD) { in addVar() 618 void appendAutomaticObjDtor(CFGBlock *B, VarDecl *VD, Stmt *S) { in appendAutomaticObjDtor() 1338 if (VarDecl *VD = dyn_cast<VarDecl>(DI)) in addLocalScopeForDeclStmt() local 1346 LocalScope* CFGBuilder::addLocalScopeForVarDecl(VarDecl *VD, in addLocalScopeForVarDecl() 2075 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in VisitDeclSubExpr() local 2181 if (VarDecl *VD = I->getConditionVariable()) { in VisitIfStmt() local 2409 if (VarDecl *VD = F->getConditionVariable()) in VisitForStmt() local 2519 if (VarDecl *VD = F->getConditionVariable()) { in VisitForStmt() local 2750 if (VarDecl *VD = W->getConditionVariable()) { in VisitWhileStmt() local [all …]
|
H A D | LiveVariables.cpp | 291 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit() local 341 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitBinaryOperator() local 358 for (const VarDecl *VD : in VisitBlockExpr() local 374 if (const auto *VD = dyn_cast<VarDecl>(DI)) { in VisitDeclStmt() local 383 const VarDecl *VD = nullptr; in VisitObjCForCollectionStmt() local
|
H A D | AnalysisDeclContext.cpp | 145 static bool isSelfDecl(const VarDecl *VD) { in isSelfDecl() 155 const VarDecl *VD = I.getVariable(); in getSelfDecl() local 173 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl() local 524 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitDeclRefExpr() local
|
/aosp_15_r20/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 208 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl() 231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef() local 235 bool isIncrement(VarDecl *VD, const BinaryOperator* B) { in isIncrement() 273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt() local 362 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt() local 419 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()() local 434 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures() local
|
/aosp_15_r20/frameworks/compile/slang/ |
D | slang_rs_export_type.cpp | 212 const clang::VarDecl *VD, in ConstantArrayTypeExportableHelper() 261 clang::VarDecl const *VD, in TypeExportableHelper() 441 const clang::VarDecl *VD, in TypeExportable() 450 const clang::VarDecl *VD, bool InCompositeType, in ValidateRSObjectInVarDecl() 513 const clang::VarDecl *VD = (ND ? llvm::dyn_cast<clang::VarDecl>(ND) : nullptr); in ValidateTypeHelper() local 689 const clang::VarDecl *VD, in NormalizeType() 720 if (auto VD = llvm::dyn_cast_or_null<clang::VarDecl>(ND)) { in ValidateType() local 732 clang::VarDecl *VD, unsigned int TargetAPI, in ValidateVarDecl() 928 ExportKind EK, const clang::VarDecl *VD) { in Create() 938 const clang::VarDecl *VD) { in CreateFromDecl()
|
D | slang_rs_check_ast.cpp | 195 void RSCheckAST::ValidateVarDecl(clang::VarDecl *VD) { in ValidateVarDecl() 237 if (clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*I)) { in VisitDeclStmt() local 300 if (clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*DI)) { in Validate() local
|
D | slang_rs_context.cpp | 80 bool RSContext::processExportVar(const clang::VarDecl *VD) { in processExportVar() 238 clang::VarDecl* VD = llvm::cast<clang::VarDecl>(D); in processExports() local 363 clang::VarDecl *const VD = clang::VarDecl::Create( in markUsedByReducePragma() local
|
/aosp_15_r20/external/clang/lib/AST/ |
H A D | StmtIterator.cpp | 44 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI)) in NextVA() local 71 if (VarDecl* VD = dyn_cast<VarDecl>(D)) { in HandleDecl() local 112 VarDecl* VD = cast<VarDecl>(*DGI); in GetDeclExpr() local
|
H A D | ItaniumCXXABI.cpp | 42 static const IdentifierInfo *findAnonymousUnionVarDeclName(const VarDecl& VD) { in findAnonymousUnionVarDeclName() 78 unsigned getStaticLocalNumber(const VarDecl *VD) override { in getStaticLocalNumber() 83 unsigned getManglingNumber(const VarDecl *VD, unsigned) override { in getManglingNumber()
|
H A D | APValue.cpp | 404 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) in printPretty() local 428 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in printPretty() local 450 const ValueDecl *VD = cast<ValueDecl>(BaseOrMember); in printPretty() local 530 if (const ValueDecl *VD = getMemberPointerDecl()) { in printPretty() local
|
/aosp_15_r20/external/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 329 ValueDecl *VD, bool CurrentRegionOnly, in checkMappableExprComponentListsForDecl() 357 ValueDecl *VD, in addMappableExpressionComponents() 394 auto *VD = dyn_cast<VarDecl>(D); in getCanonicalDecl() local 410 auto *VD = dyn_cast<VarDecl>(D); in getDSA() local 651 auto *VD = dyn_cast<VarDecl>(D); in getTopDSA() local 991 auto *VD = dyn_cast<VarDecl>(D); in IsOpenMPCapturedDecl() local 1036 auto *VD = dyn_cast<VarDecl>(D); in isOpenMPTargetCapturedDecl() local 1075 VarDecl *VD = cast<VarDecl>(DRE->getDecl()); in EndOpenMPDSABlock() local 1124 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(ND)) { in ValidateCandidate() local 1160 VarDecl *VD; in ActOnOpenMPIdExpression() local [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Analysis/Analyses/ |
D | UnsafeBufferUsage.h | 71 void set(const VarDecl *VD, Kind K) { Map[VD] = K; } in set() 73 Kind lookup(const VarDecl *VD) const { in lookup() 128 void addDebugNoteForVar(const VarDecl *VD, SourceLocation Loc, in addDebugNoteForVar()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Analysis/Analyses/ |
D | UnsafeBufferUsage.h | 71 void set(const VarDecl *VD, Kind K) { Map[VD] = K; } in set() 73 Kind lookup(const VarDecl *VD) const { in lookup() 128 void addDebugNoteForVar(const VarDecl *VD, SourceLocation Loc, in addDebugNoteForVar()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Analysis/Analyses/ |
D | UnsafeBufferUsage.h | 71 void set(const VarDecl *VD, Kind K) { Map[VD] = K; } in set() 73 Kind lookup(const VarDecl *VD) const { in lookup() 128 void addDebugNoteForVar(const VarDecl *VD, SourceLocation Loc, in addDebugNoteForVar()
|
/aosp_15_r20/external/clang/test/Layout/ |
H A D | ms-x86-member-pointers.cpp | 10 struct VD { char a; int V::*mp; }; struct
|
/aosp_15_r20/external/llvm/unittests/ProfileData/ |
H A D | InstrProfTest.cpp | 248 std::unique_ptr<InstrProfValueData[]> VD = in TEST_P() local 391 std::unique_ptr<InstrProfValueData[]> VD = in TEST_P() local 443 std::unique_ptr<InstrProfValueData[]> VD = in TEST_P() local 526 std::unique_ptr<InstrProfValueData[]> VD = in TEST_P() local 614 std::unique_ptr<InstrProfValueData[]> VD = in TEST_P() local 659 std::unique_ptr<InstrProfValueData[]> VD( in TEST_P() local
|
/aosp_15_r20/external/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 1450 if (const auto *VD = dyn_cast<VarDecl>(Global)) in MayBeEmittedEagerly() local 1491 ConstantAddress CodeGenModule::GetWeakRefReference(const ValueDecl *VD) { in GetWeakRefReference() 1593 const auto *VD = cast<VarDecl>(Global); in EmitGlobal() local 1692 ValueDecl *VD = E->getDecl(); in VisitDeclRefExpr() local 1804 if (const auto *VD = dyn_cast<VarDecl>(D)) in EmitGlobalDefinition() local 2361 if (auto *VD = dyn_cast<VarDecl>(&D)) in shouldBeInCOMDAT() local 2719 const VarDecl *VD, bool IsConstant) { in getLLVMLinkageVarDefinition() 2853 void CodeGenModule::HandleCXXStaticMemberVarInstantiation(VarDecl *VD) { in HandleCXXStaticMemberVarInstantiation() 2982 if (const auto *VD = dyn_cast<VarDecl>(D)) in EmitAliasDefinition() local 3126 const VarDecl *VD = nullptr; in GetAddrOfConstantCFString() local [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Analysis/ |
D | CFG.h | 320 CFGScopeBegin(const VarDecl *VD, const Stmt *S) in CFGScopeBegin() 346 CFGScopeEnd(const VarDecl *VD, const Stmt *S) : CFGElement(ScopeEnd, VD, S) {} in CFGScopeEnd() 391 CFGCleanupFunction(const VarDecl *VD) in CFGCleanupFunction() 1151 void appendScopeBegin(const VarDecl *VD, const Stmt *S, in appendScopeBegin() 1156 void appendScopeEnd(const VarDecl *VD, const Stmt *S, BumpVectorContext &C) { in appendScopeEnd() 1172 void appendAutomaticObjDtor(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendAutomaticObjDtor() 1176 void appendCleanupFunction(const VarDecl *VD, BumpVectorContext &C) { in appendCleanupFunction() 1180 void appendLifetimeEnds(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendLifetimeEnds()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Analysis/ |
D | CFG.h | 320 CFGScopeBegin(const VarDecl *VD, const Stmt *S) in CFGScopeBegin() 346 CFGScopeEnd(const VarDecl *VD, const Stmt *S) : CFGElement(ScopeEnd, VD, S) {} in CFGScopeEnd() 391 CFGCleanupFunction(const VarDecl *VD) in CFGCleanupFunction() 1151 void appendScopeBegin(const VarDecl *VD, const Stmt *S, in appendScopeBegin() 1156 void appendScopeEnd(const VarDecl *VD, const Stmt *S, BumpVectorContext &C) { in appendScopeEnd() 1172 void appendAutomaticObjDtor(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendAutomaticObjDtor() 1176 void appendCleanupFunction(const VarDecl *VD, BumpVectorContext &C) { in appendCleanupFunction() 1180 void appendLifetimeEnds(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendLifetimeEnds()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Analysis/ |
D | CFG.h | 320 CFGScopeBegin(const VarDecl *VD, const Stmt *S) in CFGScopeBegin() 346 CFGScopeEnd(const VarDecl *VD, const Stmt *S) : CFGElement(ScopeEnd, VD, S) {} in CFGScopeEnd() 391 CFGCleanupFunction(const VarDecl *VD) in CFGCleanupFunction() 1148 void appendScopeBegin(const VarDecl *VD, const Stmt *S, in appendScopeBegin() 1153 void appendScopeEnd(const VarDecl *VD, const Stmt *S, BumpVectorContext &C) { in appendScopeEnd() 1169 void appendAutomaticObjDtor(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendAutomaticObjDtor() 1173 void appendCleanupFunction(const VarDecl *VD, BumpVectorContext &C) { in appendCleanupFunction() 1177 void appendLifetimeEnds(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendLifetimeEnds()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Analysis/ |
D | CFG.h | 320 CFGScopeBegin(const VarDecl *VD, const Stmt *S) in CFGScopeBegin() 346 CFGScopeEnd(const VarDecl *VD, const Stmt *S) : CFGElement(ScopeEnd, VD, S) {} in CFGScopeEnd() 391 CFGCleanupFunction(const VarDecl *VD) in CFGCleanupFunction() 1151 void appendScopeBegin(const VarDecl *VD, const Stmt *S, in appendScopeBegin() 1156 void appendScopeEnd(const VarDecl *VD, const Stmt *S, BumpVectorContext &C) { in appendScopeEnd() 1172 void appendAutomaticObjDtor(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendAutomaticObjDtor() 1176 void appendCleanupFunction(const VarDecl *VD, BumpVectorContext &C) { in appendCleanupFunction() 1180 void appendLifetimeEnds(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendLifetimeEnds()
|
/aosp_15_r20/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 1504 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt() local 2109 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes() local 2258 ValueDecl *VD) { in RewriteBlockPointerTypeVariable() 3040 VarDecl *VD = VarDecl::Create(*Context, TUDecl, SourceLocation(), in RewriteObjCProtocolExpr() local 3236 ValueDecl *VD, bool def) { in RewriteByRefString() 3245 static bool HasLocalVariableExternalStorage(ValueDecl *VD) { in HasLocalVariableExternalStorage() 3553 ValueDecl *VD = Exp->getDecl(); in SynthesizeBlockLiterals() local 3835 ValueDecl *VD = DeclRefExp->getDecl(); in RewriteBlockDeclRefExpr() local 3871 ValueDecl *VD = DRE->getDecl(); in RewriteLocalVariableExternalStorage() local 4027 if (VarDecl *VD = dyn_cast<VarDecl>(ND)) in RewriteBlockPointerDecl() local [all …]
|