| /NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
| HD | ThreadSafetyCommon.h | 289 const ValueDecl* valueDecl() const { in valueDecl() 401 typedef llvm::DenseMap<const ValueDecl *, unsigned> LVarIndexMap; 404 typedef std::pair<const ValueDecl *, til::SExpr *> NameVarPair; 458 til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD); 461 const ValueDecl *VD = nullptr); 462 til::SExpr *lookupVarDecl(const ValueDecl *VD); 463 til::SExpr *addVarDecl(const ValueDecl *VD, til::SExpr *E); 464 til::SExpr *updateVarDecl(const ValueDecl *VD, til::SExpr *E);
|
| HD | ThreadSafetyTIL.h | 359 Variable(SExpr *D, const clang::ValueDecl *Cvd = nullptr) 376 const clang::ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 387 void setClangDecl(const clang::ValueDecl *VD) { Cvdecl = VD; } in setClangDecl() 408 const clang::ValueDecl *Cvdecl; // The clang declaration for this variable. 631 LiteralPtr(const clang::ValueDecl *D) : SExpr(COP_LiteralPtr), Cvdecl(D) {} in LiteralPtr() 635 const clang::ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 648 const clang::ValueDecl *Cvdecl; 915 Project(SExpr *R, const clang::ValueDecl *Cvd) in Project() 925 const clang::ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 957 const clang::ValueDecl *Cvdecl; [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | APValue.cpp | 71 llvm::PointerIntPair<const ValueDecl*, 1, bool> MemberAndIsDerivedMember; 404 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) in printPretty() 428 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in printPretty() 450 const ValueDecl *VD = cast<ValueDecl>(BaseOrMember); in printPretty() 530 if (const ValueDecl *VD = getMemberPointerDecl()) { in printPretty() 608 const ValueDecl *APValue::getMemberPointerDecl() const { in getMemberPointerDecl() 642 void APValue::MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember, in MakeMemberPointer()
|
| HD | ASTDiagnostic.cpp | 499 ValueDecl *FromValueDecl, *ToValueDecl; 575 void SetNode(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl, in SetNode() 678 void GetNode(ValueDecl *&FromValueDecl, ValueDecl *&ToValueDecl, in GetNode() 949 bool &IsNullPtr, Expr *&E, llvm::APSInt &Value, ValueDecl *&VD) { in InitializeNonTypeDiffVariables() 970 static bool NeedsAddressOf(ValueDecl *VD, Expr *E, in NeedsAddressOf() 998 ValueDecl *FromValueDecl = nullptr, *ToValueDecl = nullptr; in DiffNonTypes() 1260 static ValueDecl *GetValueDecl(const TSTiterator &Iter, Expr *ArgExpr) { in GetValueDecl() 1365 return FromBase.get<const ValueDecl*>() == in IsEqualExpr() 1366 ToBase.get<const ValueDecl*>(); in IsEqualExpr() 1425 ValueDecl *FromValueDecl, *ToValueDecl; in TreeToString() [all …]
|
| HD | ExprConstant.cpp | 64 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) in getType() 515 EvaluatingDecl((const ValueDecl *)nullptr), in EvalInfo() 999 explicit MemberPtr(const ValueDecl *Decl) : in MemberPtr() 1004 const ValueDecl *getDecl() const { in getDecl() 1032 llvm::PointerIntPair<const ValueDecl*, 1, bool> DeclAndIsDerivedMember; 1185 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in IsGlobalLValue() 1235 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in NoteLValueLocation() 1258 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression() 1273 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in CheckLValueConstantExpression() 1313 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression() [all …]
|
| HD | ExprClassification.cpp | 474 if (ValueDecl *Value = dyn_cast<ValueDecl>(Member)) in ClassifyMemberExpr()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | ExternalSemaSource.h | 38 class ValueDecl; variable 179 SmallVectorImpl<std::pair<ValueDecl *, in ReadPendingInstantiations() argument
|
| HD | MultiplexExternalSemaSource.h | 32 class ValueDecl; variable 329 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending) override;
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | APValue.h | 31 class ValueDecl; variable 56 typedef llvm::PointerUnion<const ValueDecl *, const Expr *> LValueBase; 157 APValue(const ValueDecl *Member, bool IsDerivedMember, in APValue() 334 const ValueDecl *getMemberPointerDecl() const; 441 void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember,
|
| HD | TemplateBase.h | 36 class ValueDecl; variable 80 ValueDecl *D; 135 TemplateArgument(ValueDecl *D, QualType QT) { in TemplateArgument() 247 ValueDecl *getAsDecl() const { in getAsDecl()
|
| HD | Expr.h | 50 class ValueDecl; variable 901 ValueDecl *D; 943 ValueDecl *D, bool RefersToEnlosingVariableOrCapture, 958 DeclRefExpr(ValueDecl *D, bool RefersToEnclosingVariableOrCapture, QualType T, 974 SourceLocation TemplateKWLoc, ValueDecl *D, 981 SourceLocation TemplateKWLoc, ValueDecl *D, 994 ValueDecl *getDecl() { return D; } in getDecl() 995 const ValueDecl *getDecl() const { return D; } in getDecl() 996 void setDecl(ValueDecl *NewD) { D = NewD; } in setDecl() 2321 ValueDecl *MemberDecl; [all …]
|
| HD | Decl.h | 529 class ValueDecl : public NamedDecl { 534 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, in ValueDecl() function 586 class DeclaratorDecl : public ValueDecl { 607 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl() 2450 class EnumConstantDecl : public ValueDecl, public Mergeable<EnumConstantDecl> { 2457 : ValueDecl(EnumConstant, DC, L, Id, T), Init((Stmt*)E), Val(V) {} in EnumConstantDecl() 2490 class IndirectFieldDecl : public ValueDecl { 2498 : ValueDecl(IndirectField, DC, L, N, T), Chaining(CH), ChainingSize(CHS) {} in IndirectFieldDecl()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Analysis/ |
| HD | ThreadSafety.cpp | 243 bool containsMutexDecl(FactManager &FM, const ValueDecl* Vd) const { in containsMutexDecl() 258 typedef SmallVector<const ValueDecl*, 4> BeforeVect; 270 typedef llvm::DenseMap<const ValueDecl*, BeforeInfo> BeforeMap; 271 typedef llvm::DenseMap<const ValueDecl*, bool> CycleMap; 276 BeforeInfo* insertAttrExprs(const ValueDecl* Vd, 279 void checkBeforeAfter(const ValueDecl* Vd, 590 ValueDecl *VDec = DRE->getDecl(); in VisitBinaryOperator() 965 BeforeSet::BeforeInfo* BeforeSet::insertAttrExprs(const ValueDecl* Vd, in insertAttrExprs() 986 if (const ValueDecl *Cpvd = Cp.valueDecl()) { in insertAttrExprs() 1002 if (const ValueDecl *ArgVd = Cp.valueDecl()) { in insertAttrExprs() [all …]
|
| HD | ThreadSafetyCommon.cpp | 275 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); in translateDeclRefExpr() 307 static const ValueDecl *getValueDeclFromSExpr(const til::SExpr *E) { in getValueDeclFromSExpr() 347 const ValueDecl *D = ME->getMemberDecl(); in translateMemberExpr() 486 const ValueDecl *VD = nullptr; in translateBinAssign() 631 const ValueDecl *VD) { in addStatement() 644 til::SExpr *SExprBuilder::lookupVarDecl(const ValueDecl *VD) { in lookupVarDecl() 655 static void maybeUpdateVD(til::SExpr *E, const ValueDecl *VD) { in maybeUpdateVD() 665 til::SExpr *SExprBuilder::addVarDecl(const ValueDecl *VD, til::SExpr *E) { in addVarDecl() 675 til::SExpr *SExprBuilder::updateVarDecl(const ValueDecl *VD, til::SExpr *E) { in updateVarDecl()
|
| HD | ReachableCode.cpp | 150 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP); 230 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) { in isConfigurationValue()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| HD | RewriteObjC.cpp | 131 SmallVector<ValueDecl *, 8> BlockByCopyDecls; 132 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet; 133 SmallVector<ValueDecl *, 8> BlockByRefDecls; 134 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet; 135 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo; 136 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls; 276 ValueDecl *VD, bool def=false); 285 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD); 1487 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt() 1503 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt() [all …]
|
| HD | RewriteModernObjC.cpp | 140 SmallVector<ValueDecl *, 8> BlockByCopyDecls; 141 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet; 142 SmallVector<ValueDecl *, 8> BlockByRefDecls; 143 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet; 144 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo; 145 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls; 330 ValueDecl *VD, bool def=false); 339 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD); 1723 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt() 1739 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CodeGenModule.h | 68 class ValueDecl; variable 744 llvm::Constant *GetWeakRefReference(const ValueDecl *VD); 1081 void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV); 1246 bool MustBeEmitted(const ValueDecl *D); 1252 bool MayBeEmittedEagerly(const ValueDecl *D);
|
| HD | CodeGenModule.cpp | 267 const auto *D = cast<ValueDecl>(GD.getDecl()); in checkAliases() 1196 void CodeGenModule::AddGlobalAnnotations(const ValueDecl *D, in AddGlobalAnnotations() 1251 bool CodeGenModule::MustBeEmitted(const ValueDecl *Global) { in MustBeEmitted() 1259 bool CodeGenModule::MayBeEmittedEagerly(const ValueDecl *Global) { in MayBeEmittedEagerly() 1297 llvm::Constant *CodeGenModule::GetWeakRefReference(const ValueDecl *VD) { in GetWeakRefReference() 1328 const auto *Global = cast<ValueDecl>(GD.getDecl()); in EmitGlobal() 1502 const auto *D = cast<ValueDecl>(GD.getDecl()); in EmitGlobalDefinition() 1504 PrettyStackTraceDecl CrashInfo(const_cast<ValueDecl *>(D), D->getLocation(), in EmitGlobalDefinition() 1666 Ty = getTypes().ConvertType(cast<ValueDecl>(GD.getDecl())->getType()); in GetAddrOfFunction() 2490 const auto *D = cast<ValueDecl>(GD.getDecl()); in EmitAliasDefinition()
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | Transforms.cpp | 230 ValueDecl *Dcl; 234 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() 311 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs()
|
| HD | Transforms.h | 215 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
|
| HD | TransProtectedScope.cpp | 34 if (ValueDecl *D = E->getDecl()) in VisitDeclRefExpr()
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/ |
| HD | ClangForward.h | 128 class ValueDecl; variable
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaDeclAttr.cpp | 378 const ValueDecl *vd = cast<ValueDecl>(D); in threadSafetyCheckIsPointer() 631 QualType QT = cast<ValueDecl>(D)->getType(); in checkAcquireOrderAttrCommon() 1611 ValueDecl *VD = dyn_cast<ValueDecl>(D); in handleAnalyzerNoReturnAttr() 2848 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in AddAlignValueAttr() 3039 if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) { in CheckAlignasUnderalignment() 3166 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in handleModeAttr() 3242 cast<ValueDecl>(D)->setType(NewTy); in handleModeAttr() 4048 ValueDecl *vd = cast<ValueDecl>(D); in handleObjCPreciseLifetimeAttr() 4273 ValueDecl *VD = dyn_cast<ValueDecl>(D); in handleX86ForceAlignArgPointerAttr()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchers.h | 700 const internal::VariadicDynCastAllOfMatcher<Decl, ValueDecl> valueDecl; 2200 hasType, AST_POLYMORPHIC_SUPPORTED_TYPES(Expr, ValueDecl), 2224 ValueDecl), 3264 internal::Matcher<ValueDecl>, InnerMatcher) { in AST_MATCHER_P() argument
|