Home
last modified time | relevance | path

Searched defs:VD (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp39 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
DThreadSafetyCommon.cpp268 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 …]
DUninitializedValues.cpp296 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
/external/clang/lib/AST/
DStmtIterator.cpp44 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
DItaniumCXXABI.cpp42 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()
/external/llvm-project/clang/lib/AST/
DStmtIterator.cpp48 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI)) in NextVA() local
75 if (VarDecl* VD = dyn_cast<VarDecl>(D)) { in HandleDecl() local
116 VarDecl* VD = cast<VarDecl>(*DGI); in GetDeclExpr() local
DAttrImpl.cpp136 OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(const ValueDecl *VD) { in isDeclareTargetDeclaration()
154 OMPDeclareTargetDeclAttr::getDeviceType(const ValueDecl *VD) { in getDeviceType()
172 OMPDeclareTargetDeclAttr::getLocation(const ValueDecl *VD) { in getLocation()
/external/llvm-project/clang/lib/AST/Interp/
DByteCodeExprGen.cpp31 DeclScope(ByteCodeExprGen<Emitter> *Ctx, const VarDecl *VD) in DeclScope()
267 if (auto *VD = dyn_cast<VarDecl>(DE->getDecl())) in dereference() local
325 const Expr *LV, PrimType T, const VarDecl *VD, DerefKind AK, in dereferenceVar()
429 if (auto *VD = dyn_cast_or_null<ValueDecl>(Src.dyn_cast<const Decl *>())) in allocateLocalPrimitive() local
442 if (auto *VD = dyn_cast_or_null<ValueDecl>(Src.dyn_cast<const Decl *>())) { in allocateLocal() local
471 bool ByteCodeExprGen<Emitter>::getPtrVarDecl(const VarDecl *VD, const Expr *E) { in getPtrVarDecl()
484 ByteCodeExprGen<Emitter>::getGlobalIdx(const VarDecl *VD) { in getGlobalIdx()
531 bool ByteCodeExprGen<Emitter>::visitDecl(const VarDecl *VD) { in visitDecl()
/external/clang/test/Layout/
Dms-x86-member-pointers.cpp10 struct VD { char a; int V::*mp; }; argument
/external/llvm-project/clang/test/Layout/
Dms-x86-member-pointers.cpp10 struct VD { char a; int V::*mp; }; argument
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp208 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
DUndefCapturedBlockVarChecker.cpp38 const VarDecl *VD) { in FindBlockDeclRefExpr()
69 const VarDecl *VD = VR->getDecl(); in checkPostStmt() local
/external/llvm-project/clang/lib/Analysis/
DThreadSafetyCommon.cpp274 const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); in translateDeclRefExpr() local
323 auto *VD = getValueDeclFromSExpr(E); in hasAnyPointerType() local
351 if (const auto *VD = dyn_cast<CXXMethodDecl>(D)) in translateMemberExpr() local
498 const ValueDecl *VD = nullptr; in translateBinAssign() local
615 if (auto *VD = dyn_cast_or_null<VarDecl>(I)) { in translateDeclStmt() local
636 const ValueDecl *VD) { in addStatement()
648 til::SExpr *SExprBuilder::lookupVarDecl(const ValueDecl *VD) { in lookupVarDecl()
658 static void maybeUpdateVD(til::SExpr *E, const ValueDecl *VD) { in maybeUpdateVD()
668 til::SExpr *SExprBuilder::addVarDecl(const ValueDecl *VD, til::SExpr *E) { in addVarDecl()
677 til::SExpr *SExprBuilder::updateVarDecl(const ValueDecl *VD, til::SExpr *E) { in updateVarDecl()
[all …]
DLiveVariables.cpp249 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit() local
322 static bool writeShouldKill(const VarDecl *VD) { in writeShouldKill()
343 } else if (const auto *VD = dyn_cast<VarDecl>(D)) { in VisitBinaryOperator() local
357 for (const VarDecl *VD : in VisitBlockExpr() local
371 } else if (const auto *VD = dyn_cast<VarDecl>(D)) { in VisitDeclRefExpr() local
382 } else if (const auto *VD = dyn_cast<VarDecl>(DI)) { in VisitDeclStmt() local
392 const VarDecl *VD = nullptr; in VisitObjCForCollectionStmt() local
DUninitializedValues.cpp254 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) in findVar() local
303 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()); in get() local
313 static const DeclRefExpr *getSelfInitExpr(VarDecl *VD) { in getSelfInitExpr()
345 if (const auto *VD = dyn_cast<VarDecl>(ME->getMemberDecl())) { in classify() local
373 auto *VD = dyn_cast<VarDecl>(DI); in VisitDeclStmt() local
692 const auto *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt() local
767 if (const VarDecl *VD = Var.getDecl()) in VisitBinaryOperator() local
774 auto *VD = dyn_cast<VarDecl>(DI); in VisitDeclStmt() local
814 if (const VarDecl *VD = findVar(o).getDecl()) in VisitGCCAsmStmt() local
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DImplicitConversionInLoopCheck.cpp68 const auto *VD = Result.Nodes.getNodeAs<VarDecl>("faulty-var"); in check() local
89 const ASTContext *Context, const VarDecl *VD, in ReportAndFix()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp52 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal() local
78 const VarDecl *VD = nullptr; in parseAssignment() local
/external/llvm-project/clang/lib/Frontend/
DInterfaceStubFunctionsConsumer.cpp56 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) { in WriteNamedDecl() local
85 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) in WriteNamedDecl() local
213 const auto *VD = cast<VarDecl>(ND); in HandleNamedDecl() local
252 if (const auto *VD = dyn_cast<ValueDecl>(ND)) { in HandleTranslationUnit() local
315 auto VD = cast<ValueDecl>(E.first)->getType(); in HandleTranslationUnit() local
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp267 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl()
290 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef() local
294 bool isIncrement(VarDecl *VD, const BinaryOperator* B) { in isIncrement()
332 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt() local
420 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt() local
477 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()() local
492 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures() local
DUndefCapturedBlockVarChecker.cpp37 const VarDecl *VD) { in FindBlockDeclRefExpr()
66 const VarDecl *VD = VR->getDecl(); in checkPostStmt() local
/external/llvm-project/clang/lib/CodeGen/
DVarBypassDetector.cpp36 const VarDecl *VD = dyn_cast<VarDecl>(D); in BuildScopeInformation() local
42 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) in BuildScopeInformation() local
/external/llvm-project/clang-tools-extra/clang-tidy/objc/
DNSInvocationArgumentLifetimeCheck.cpp69 fixItHintForVarDecl(const VarDecl *VD, const SourceManager &SM, in fixItHintForVarDecl()
137 const auto *VD = Result.Nodes.getNodeAs<VarDecl>("var"); in check() local
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp56 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal() local
82 const VarDecl *VD = nullptr; in parseAssignment() local
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DOverlappingReplacementsTest.cpp34 auto *VD = Result.Nodes.getNodeAs<VarDecl>(BoundDecl); in check() local
76 auto *VD = Result.Nodes.getNodeAs<VarDecl>(BoundDecl); in check() local
88 UsageVisitor(const ValueDecl *VD, StringRef NewName, in check()
102 const ValueDecl *VD; in check() member in clang::tidy::test::__anon87b7b5e10111::RefactorCheck::check::UsageVisitor
/external/llvm-project/clang/test/CodeGenCXX/
Dmangle-alias-template.cpp20 Vec<double> VD; in z() local

12345678910>>...14