/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 41 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) { in isPseudoConstant() 57 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) { in wasReferenced() 124 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl); in RunAnalysis() local 158 const VarDecl *VD = dyn_cast<VarDecl>(D); in RunAnalysis() local 176 const VarDecl *VD = dyn_cast<VarDecl>(I); in RunAnalysis() local 202 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in RunAnalysis() local
|
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 …]
|
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
|
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
|
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() 2074 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in VisitDeclSubExpr() local 2173 if (VarDecl *VD = I->getConditionVariable()) { in VisitIfStmt() local 2395 if (VarDecl *VD = F->getConditionVariable()) in VisitForStmt() local 2505 if (VarDecl *VD = F->getConditionVariable()) { in VisitForStmt() local 2736 if (VarDecl *VD = W->getConditionVariable()) { in VisitWhileStmt() local [all …]
|
D | AnalysisDeclContext.cpp | 145 const VarDecl *VD = I.getVariable(); in getSelfDecl() local 163 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl() local 499 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitDeclRefExpr() local
|
/external/clang/lib/AST/ |
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
|
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()
|
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
|
D | MicrosoftCXXABI.cpp | 50 unsigned getStaticLocalNumber(const VarDecl *VD) override { in getStaticLocalNumber() 56 unsigned getManglingNumber(const VarDecl *VD, in getManglingNumber()
|
/external/clang/test/Layout/ |
D | ms-x86-member-pointers.cpp | 10 struct VD { char a; int V::*mp; }; argument
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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 360 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt() local 417 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()() local 432 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures() local
|
D | UndefCapturedBlockVarChecker.cpp | 38 const VarDecl *VD) { in FindBlockDeclRefExpr() 69 const VarDecl *VD = VR->getDecl(); in checkPostStmt() local
|
D | DereferenceChecker.cpp | 66 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in AddDerefSource() local 115 const VarDecl *VD; in reportBug() local
|
D | UndefinedAssignmentChecker.cpp | 79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkBind() local
|
D | LLVMConventionsChecker.cpp | 148 if (VarDecl *VD = dyn_cast<VarDecl>(I)) in VisitDeclStmt() local 152 void StringRefCheckerVisitor::VisitVarDecl(VarDecl *VD) { in VisitVarDecl()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 52 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal() local 78 const VarDecl *VD = 0; in parseAssignment() local
|
/external/clang/test/CodeGenCXX/ |
D | mangle-alias-template.cpp | 20 Vec<double> VD; in z() local
|
/external/llvm/unittests/ProfileData/ |
D | InstrProfTest.cpp | 159 std::unique_ptr<InstrProfValueData[]> VD = in TEST_F() local 213 std::unique_ptr<InstrProfValueData[]> VD = in TEST_F() local 303 std::unique_ptr<InstrProfValueData[]> VD = in TEST_F() local 396 std::unique_ptr<InstrProfValueData[]> VD = in TEST_F() local
|
/external/opencv3/modules/videoio/src/ |
D | cap_msmf.cpp | 3016 videoDevice * VD = videoDevices::getInstance().getDevice(deviceID); in getMediaSource() local 3042 videoDevice * VD = VDS->getDevice(deviceID); in setupDevice() local 3068 videoDevice * VD = VDS->getDevice(deviceID); in setupDevice() local 3094 videoDevice * VD = VDS->getDevice(deviceID); in getFormat() local 3115 videoDevice * VD = VDS->getDevice(deviceID); in isDeviceSetup() local 3136 videoDevice * VD = VDS->getDevice(deviceID); in isDeviceMediaSource() local 3157 videoDevice * VD = VDS->getDevice(deviceID); in isDeviceRawDataSource() local 3186 videoDevice * VD = VDS->getDevice(deviceID); in isFrameNew() local 3215 videoDevice * VD = VDS->getDevice(deviceID); in waitForDevice() local 3239 videoDevice * VD = VDS->getDevice(deviceID); in getCountFormats() local [all …]
|
/external/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 43 bool VisitVarDecl(const clang::VarDecl *VD) { in VisitVarDecl()
|
/external/clang/lib/CodeGen/ |
D | ModuleBuilder.cpp | 110 void HandleCXXStaticMemberVarInstantiation(VarDecl *VD) override { in HandleCXXStaticMemberVarInstantiation() 180 if (VarDecl *VD = dyn_cast<VarDecl>(Member)) { in HandleTagDeclDefinition() local
|
D | CGDeclCXX.cpp | 186 llvm::Constant *CodeGenFunction::createAtExitStub(const VarDecl &VD, in createAtExitStub() 219 void CodeGenFunction::registerGlobalDtorWithAtExit(const VarDecl &VD, in registerGlobalDtorWithAtExit() 584 bool useEHCleanupForArray, const VarDecl *VD) { in generateDestroyHelper()
|
/external/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 227 if (VarDecl *VD = dyn_cast<VarDecl>(RefD)) in isPlusOneAssignToVar() local 366 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC() local
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 333 MapInfo getMapInfoForVar(VarDecl *VD) { in getMapInfoForVar() 344 void addMapInfoForVar(VarDecl *VD, MapInfo MI) { in addMapInfoForVar() 350 MapInfo IsMappedInCurrentRegion(VarDecl *VD) { in IsMappedInCurrentRegion() 747 bool Sema::IsOpenMPCapturedByRef(VarDecl *VD, in IsOpenMPCapturedByRef() 835 bool Sema::IsOpenMPCapturedVar(VarDecl *VD) { in IsOpenMPCapturedVar() 880 bool Sema::isOpenMPPrivateVar(VarDecl *VD, unsigned Level) { in isOpenMPPrivateVar() 886 bool Sema::isOpenMPTargetCapturedVar(VarDecl *VD, unsigned Level) { in isOpenMPTargetCapturedVar() 926 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(DE)->getDecl()); in EndOpenMPDSABlock() local 976 if (VarDecl *VD = dyn_cast_or_null<VarDecl>(ND)) { in ValidateCandidate() local 995 VarDecl *VD; in ActOnOpenMPIdExpression() local [all …]
|