Home
last modified time | relevance | path

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

1234567

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A 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
H A DAttrImpl.cpp145 OMPDeclareTargetDeclAttr::getActiveAttr(const ValueDecl *VD) { in getActiveAttr()
162 OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(const ValueDecl *VD) { in isDeclareTargetDeclaration()
170 OMPDeclareTargetDeclAttr::getDeviceType(const ValueDecl *VD) { in getDeviceType()
178 OMPDeclareTargetDeclAttr::getLocation(const ValueDecl *VD) { in getLocation()
H A DItaniumCXXABI.cpp44 static const IdentifierInfo *findAnonymousUnionVarDeclName(const VarDecl& VD) { in findAnonymousUnionVarDeclName()
159 unsigned getStaticLocalNumber(const VarDecl *VD) override { in getStaticLocalNumber()
164 unsigned getManglingNumber(const VarDecl *VD, unsigned) override { in getManglingNumber()
H A DMicrosoftCXXABI.cpp51 unsigned getStaticLocalNumber(const VarDecl *VD) override { in getStaticLocalNumber()
57 unsigned getManglingNumber(const VarDecl *VD, in getManglingNumber()
H A DAPValue.cpp716 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) in printPretty() local
745 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in printPretty() local
770 const ValueDecl *VD = cast<ValueDecl>(BaseOrMember); in printPretty() local
850 if (const ValueDecl *VD = getMemberPointerDecl()) { in printPretty() local
1090 } else if (const auto *VD = in getLVForValue() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A 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()
H A DProgram.cpp87 llvm::Optional<unsigned> Program::getGlobal(const ValueDecl *VD) { in getGlobal()
111 llvm::Optional<unsigned> Program::getOrCreateGlobal(const ValueDecl *VD) { in getOrCreateGlobal()
141 llvm::Optional<unsigned> Program::createGlobal(const ValueDecl *VD) { in createGlobal()
H A DByteCodeStmtGen.cpp147 if (auto *VD = dyn_cast<VarDecl>(D)) { in visitDeclStmt() local
228 bool ByteCodeStmtGen<Emitter>::visitVarDecl(const VarDecl *VD) { in visitVarDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A 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 …]
H A DLiveVariables.cpp249 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit() local
322 static bool writeShouldKill(const VarDecl *VD) { in writeShouldKill()
348 } else if (const auto *VD = dyn_cast<VarDecl>(D)) { in VisitBinaryOperator() local
362 for (const VarDecl *VD : in VisitBlockExpr() local
376 } else if (const auto *VD = dyn_cast<VarDecl>(D)) { in VisitDeclRefExpr() local
387 } else if (const auto *VD = dyn_cast<VarDecl>(DI)) { in VisitDeclStmt() local
397 const VarDecl *VD = nullptr; in VisitObjCForCollectionStmt() local
H A 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
H A DCFG.cpp67 if (VarDecl *VD = dyn_cast<VarDecl>(D)) in GetEndLoc() local
319 void addVar(VarDecl *VD) { in addVar()
619 void maybeAddScopeBeginForVarDecl(CFGBlock *B, const VarDecl *VD, in maybeAddScopeBeginForVarDecl()
857 void appendAutomaticObjDtor(CFGBlock *B, VarDecl *VD, Stmt *S) { in appendAutomaticObjDtor()
861 void appendLifetimeEnds(CFGBlock *B, VarDecl *VD, Stmt *S) { in appendLifetimeEnds()
897 void appendScopeBegin(CFGBlock *B, const VarDecl *VD, const Stmt *S) { in appendScopeBegin()
902 void prependScopeBegin(CFGBlock *B, const VarDecl *VD, const Stmt *S) { in prependScopeBegin()
907 void appendScopeEnd(CFGBlock *B, const VarDecl *VD, const Stmt *S) { in appendScopeEnd()
912 void prependScopeEnd(CFGBlock *B, const VarDecl *VD, const Stmt *S) { in prependScopeEnd()
1560 const VarDecl *VD = prependAutomaticObjScopeEndWithTerminator( in buildCFG() local
[all …]
H A DAnalysisDeclContext.cpp144 static bool isSelfDecl(const VarDecl *VD) { in isSelfDecl()
154 const VarDecl *VD = I.getVariable(); in getSelfDecl() local
172 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl() local
558 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitDeclRefExpr() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A 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
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp268 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, in CheckVarDecl()
291 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef() local
295 bool isIncrement(VarDecl *VD, const BinaryOperator* B) { in isIncrement()
333 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt() local
423 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt() local
503 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()() local
518 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures() local
H A DUndefCapturedBlockVarChecker.cpp37 const VarDecl *VD) { in FindBlockDeclRefExpr()
66 const VarDecl *VD = VR->getDecl(); in checkPostStmt() local
H A DDereferenceChecker.cpp68 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in AddDerefSource() local
103 const VarDecl *VD; in getDereferenceExpr() local
H A DUndefinedAssignmentChecker.cpp88 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in checkBind() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DVarBypassDetector.cpp36 const VarDecl *VD = dyn_cast<VarDecl>(D); in BuildScopeInformation() local
42 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) in BuildScopeInformation() local
H A DCGOpenMPRuntimeGPU.cpp173 const ValueDecl *VD = Pair.second; in buildRecordForGlobalizedVars() local
233 void markAsEscaped(const ValueDecl *VD) { in markAsEscaped()
279 void VisitValueDecl(const ValueDecl *VD) { in VisitValueDecl()
298 const ValueDecl *VD = C.getCapturedVar(); in VisitOpenMPCapturedStmt() local
362 if (const auto *VD = dyn_cast_or_null<ValueDecl>(D)) in VisitDeclStmt() local
391 const ValueDecl *VD = C.getCapturedVar(); in VisitCapturedStmt() local
404 const ValueDecl *VD = C.getCapturedVar(); in VisitLambdaExpr() local
417 const VarDecl *VD = C.getVariable(); in VisitBlockExpr() local
444 const ValueDecl *VD = E->getDecl(); in VisitDeclRefExpr() local
1912 const auto *VD = cast<VarDecl>(Rec.first); in emitGenericVarsProlog() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp56 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal() local
82 const VarDecl *VD = nullptr; in parseAssignment() local
H A DLoopWidening.cpp75 const VarDecl *VD = Match.getNodeAs<VarDecl>(MatchRef); in getWidenedLoopState() local
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCFG.h318 CFGScopeBegin(const VarDecl *VD, const Stmt *S) in CFGScopeBegin()
344 CFGScopeEnd(const VarDecl *VD, const Stmt *S) : CFGElement(ScopeEnd, VD, S) {} in CFGScopeEnd()
1120 void appendScopeBegin(const VarDecl *VD, const Stmt *S, in appendScopeBegin()
1125 void prependScopeBegin(const VarDecl *VD, const Stmt *S, in prependScopeBegin()
1130 void appendScopeEnd(const VarDecl *VD, const Stmt *S, BumpVectorContext &C) { in appendScopeEnd()
1134 void prependScopeEnd(const VarDecl *VD, const Stmt *S, BumpVectorContext &C) { in prependScopeEnd()
1150 void appendAutomaticObjDtor(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendAutomaticObjDtor()
1154 void appendLifetimeEnds(VarDecl *VD, Stmt *S, BumpVectorContext &C) { in appendLifetimeEnds()
1174 iterator insertAutomaticObjDtor(iterator I, VarDecl *VD, Stmt *S) { in insertAutomaticObjDtor()
1187 iterator insertLifetimeEnds(iterator I, VarDecl *VD, Stmt *S) { in insertLifetimeEnds()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexingContext.cpp157 } else if (auto *VD = dyn_cast<VarDecl>(D)) { in isTemplateImplicitInstantiation() local
221 } else if (auto *VD = dyn_cast<VarDecl>(D)) { in adjustTemplateImplicitInstantiation() local
250 if (auto VD = dyn_cast<VarDecl>(D)) in isDeclADefinition() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSema.cpp679 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) { in ShouldRemoveFromUnused() local
720 bool Sema::isExternalWithNoLinkageType(ValueDecl *VD) { in isExternalWithNoLinkageType()
763 auto *VD = cast<VarDecl>(ND); in getUndefinedButUsed() local
793 ValueDecl *VD = cast<ValueDecl>(Undef.first); in checkUndefinedButUsed() local
1185 VarDecl *VD = (*T)->getActingDefinition(); in ActOnEndOfTranslationUnit() local
1587 void checkVar(VarDecl *VD) { in checkVar()
1944 static void checkEscapingByref(VarDecl *VD, Sema &S) { in checkEscapingByref()
1974 VarDecl *VD = BC.getVariable(); in markEscapingByrefs() local

1234567