Home
last modified time | relevance | path

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

123456

/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
DLiveVariables.cpp291 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
DAnalysisDeclContext.cpp145 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
DCFG.cpp36 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 …]
/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()
DAPValue.cpp404 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
DMicrosoftCXXABI.cpp50 unsigned getStaticLocalNumber(const VarDecl *VD) override { in getStaticLocalNumber()
56 unsigned getManglingNumber(const VarDecl *VD, in getManglingNumber()
/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
DDereferenceChecker.cpp65 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in AddDerefSource() local
100 const VarDecl *VD; in getDereferenceExpr() local
DUndefinedAssignmentChecker.cpp79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkBind() local
/external/clang/test/Layout/
Dms-x86-member-pointers.cpp10 struct VD { char a; int V::*mp; }; struct
/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/clang/test/CodeGenCXX/
Dmangle-alias-template.cpp20 Vec<double> VD; in z() local
Dbuiltins-systemz-zvector.cpp33 void testFloats(vector double VD) { in testFloats()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp248 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
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp43 bool VisitVarDecl(const clang::VarDecl *VD) { in VisitVarDecl()
/external/clang/test/CodeGenCUDA/Inputs/
Dcuda-initializers.h70 struct VD { struct
71 __device__ virtual ~VD() {} in ~VD() argument
/external/clang/test/SemaCUDA/Inputs/
Dcuda-initializers.h70 struct VD { struct
71 __device__ virtual ~VD() {} in ~VD() argument
/external/clang/lib/CodeGen/
DModuleBuilder.cpp133 void HandleCXXStaticMemberVarInstantiation(VarDecl *VD) override { in HandleCXXStaticMemberVarInstantiation()
218 if (VarDecl *VD = dyn_cast<VarDecl>(Member)) { in HandleTagDeclDefinition() local
DCGDeclCXX.cpp194 llvm::Constant *CodeGenFunction::createAtExitStub(const VarDecl &VD, in createAtExitStub()
227 void CodeGenFunction::registerGlobalDtorWithAtExit(const VarDecl &VD, in registerGlobalDtorWithAtExit()
603 bool useEHCleanupForArray, const VarDecl *VD) { in generateDestroyHelper()
/external/clang/lib/Sema/
DSemaOpenMP.cpp329 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 …]

123456