| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyCommon.h | 306 const ValueDecl* valueDecl() const { in valueDecl() 430 using LVarIndexMap = llvm::DenseMap<const ValueDecl *, unsigned>; 433 using NameVarPair = std::pair<const ValueDecl *, til::SExpr *>; 470 til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD); 473 const ValueDecl *VD = nullptr); 474 til::SExpr *lookupVarDecl(const ValueDecl *VD); 475 til::SExpr *addVarDecl(const ValueDecl *VD, til::SExpr *E); 476 til::SExpr *updateVarDecl(const ValueDecl *VD, til::SExpr *E);
|
| H A D | ThreadSafetyTIL.h | 374 Variable(SExpr *D, const ValueDecl *Cvd = nullptr) 394 const ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 405 void setClangDecl(const ValueDecl *VD) { Cvdecl = VD; } in setClangDecl() 431 const ValueDecl *Cvdecl = nullptr; 644 const ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 657 const ValueDecl *Cvdecl; 913 Project(SExpr *R, const ValueDecl *Cvd) in Project() 923 const ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 960 const ValueDecl *Cvdecl; 1318 const ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | APValue.cpp | 113 llvm::PointerIntPair<const ValueDecl*, 1, bool> MemberAndIsDerivedMember; 454 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) in printPretty() 478 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in printPretty() 500 const ValueDecl *VD = cast<ValueDecl>(BaseOrMember); in printPretty() 580 if (const ValueDecl *VD = getMemberPointerDecl()) { in printPretty() 688 const ValueDecl *APValue::getMemberPointerDecl() const { in getMemberPointerDecl() 722 void APValue::MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember, in MakeMemberPointer()
|
| H A D | OpenMPClause.cpp | 781 ArrayRef<const ValueDecl *> Declarations) { in getUniqueDeclarationsTotalNumber() 783 llvm::SmallPtrSet<const ValueDecl *, 8> Cache; in getUniqueDeclarationsTotalNumber() 784 for (const ValueDecl *D : Declarations) { in getUniqueDeclarationsTotalNumber() 785 const ValueDecl *VD = D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr; in getUniqueDeclarationsTotalNumber() 820 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create() 841 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty() 871 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create() 890 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty() 920 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create() 939 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty() [all …]
|
| H A D | ASTDiagnostic.cpp | 545 ValueDecl *VD = nullptr; 651 void SetDeclarationDiff(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl, in SetDeclarationDiff() 687 Expr *FromExpr, ValueDecl *ToValueDecl, bool ToAddressOf, in SetFromIntegerAndToDeclarationDiff() 804 void GetDeclarationDiff(ValueDecl *&FromValueDecl, ValueDecl *&ToValueDecl, in GetDeclarationDiff() 837 Expr *&FromExpr, ValueDecl *&ToValueDecl, bool &ToAddressOf, in GetFromIntegerAndToDeclarationDiff() 1232 ValueDecl *FromValueDecl = nullptr, *ToValueDecl = nullptr; in DiffNonTypes() 1487 ValueDecl *FromValueDecl, *ToValueDecl; in TreeToString() 1500 ValueDecl *FromValueDecl; in TreeToString() 1522 ValueDecl *ToValueDecl; in TreeToString() 1844 void PrintValueDecl(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl, in PrintValueDecl() [all …]
|
| H A D | ExprConstant.cpp | 68 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in getType() 1701 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in IsGlobalLValue() 1799 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in NoteLValueLocation() 1823 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression() 1838 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in CheckLValueConstantExpression() 1879 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression() 2019 const ValueDecl *Decl = Value.getLValueBase().dyn_cast<const ValueDecl*>(); in EvalPointerValueAsBool() 3165 if (const ValueDecl *D = LVal.Base.dyn_cast<const ValueDecl*>()) { in findCompleteObject() 3276 const ValueDecl *VD = Info.EvaluatingDecl.dyn_cast<const ValueDecl*>(); in findCompleteObject() 6092 if (const ValueDecl *VD = in VisitBuiltinCallExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 3558 ValueDecl *AssociatedDeclaration = nullptr; 3572 ValueDecl *getAssociatedDeclaration() const { in getAssociatedDeclaration() 3642 MutableArrayRef<ValueDecl *> getUniqueDeclsRef() { in getUniqueDeclsRef() 3643 return MutableArrayRef<ValueDecl *>( in getUniqueDeclsRef() 3650 ArrayRef<ValueDecl *> getUniqueDeclsRef() const { in getUniqueDeclsRef() 3651 return ArrayRef<ValueDecl *>( in getUniqueDeclsRef() 3659 void setUniqueDecls(ArrayRef<ValueDecl *> UDs) { in setUniqueDecls() 3839 ArrayRef<ValueDecl *>::iterator DeclCur; 3879 const ValueDecl *Declaration, ArrayRef<ValueDecl *> UniqueDecls, in const_component_lists_iterator() 5149 ArrayRef<ValueDecl *> Declarations, [all …]
|
| H A D | ASTMutationListener.h | 39 class ValueDecl; variable 94 virtual void InstantiationRequested(const ValueDecl *D) {} in InstantiationRequested()
|
| H A D | APValue.h | 31 class ValueDecl; variable 59 typedef llvm::PointerUnion<const ValueDecl *, const Expr *> PtrTy; 209 APValue(const ValueDecl *Member, bool IsDerivedMember, in APValue() 394 const ValueDecl *getMemberPointerDecl() const; 501 void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember,
|
| H A D | TemplateBase.h | 48 class ValueDecl; variable 100 ValueDecl *D; 153 TemplateArgument(ValueDecl *D, QualType QT) { in TemplateArgument() 264 ValueDecl *getAsDecl() const { in getAsDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 278 using BeforeVect = SmallVector<const ValueDecl *, 4>; 295 BeforeInfo* insertAttrExprs(const ValueDecl* Vd, 298 BeforeInfo *getBeforeInfoForDecl(const ValueDecl *Vd, 301 void checkBeforeAfter(const ValueDecl* Vd, 636 const ValueDecl *VDec = DRE->getDecl(); in VisitBinaryOperator() 1125 BeforeSet::getBeforeInfoForDecl(const ValueDecl *Vd, in getBeforeInfoForDecl() 1146 std::function<bool (const ValueDecl*)> traverse = [&](const ValueDecl* Vd) { in checkBeforeAfter() 1255 if (const ValueDecl *VD = getValueDecl(A->getArg())) in ClassifyDiagnostic() 1265 if (const ValueDecl *VD = getValueDecl(Arg)) in ClassifyDiagnostic() 1739 const ValueDecl *D = getValueDecl(Exp); in checkAccess() [all …]
|
| H A D | ThreadSafetyCommon.cpp | 276 const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); in translateDeclRefExpr() 307 static const ValueDecl *getValueDeclFromSExpr(const til::SExpr *E) { in getValueDeclFromSExpr() 347 const auto *D = cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in translateMemberExpr() 495 const ValueDecl *VD = nullptr; in translateBinAssign() 633 const ValueDecl *VD) { in addStatement() 645 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() 674 til::SExpr *SExprBuilder::updateVarDecl(const ValueDecl *VD, til::SExpr *E) { in updateVarDecl()
|
| H A D | BodyFarm.cpp | 103 MemberExpr *makeMemberExpression(Expr *base, ValueDecl *MemberDecl, 109 ValueDecl *findMemberField(const RecordDecl *RD, StringRef Name); 214 MemberExpr *ASTMaker::makeMemberExpression(Expr *base, ValueDecl *MemberDecl, in makeMemberExpression() 227 ValueDecl *ASTMaker::findMemberField(const RecordDecl *RD, StringRef Name) { in findMemberField() 239 return cast<ValueDecl>(FoundDecl); in findMemberField() 355 ValueDecl *FlagFieldDecl = M.findMemberField(FlagRecordDecl, "__state_"); in create_call_once()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | ExternalSemaSource.h | 38 class ValueDecl; variable 183 SmallVectorImpl<std::pair<ValueDecl *, in ReadPendingInstantiations() argument
|
| H A D | MultiplexExternalSemaSource.h | 32 class ValueDecl; variable 322 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending) override;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeNVPTX.cpp | 231 for (const ValueDecl *D : EscapedDecls) in buildRecordForGlobalizedVars() 237 for (const ValueDecl *D : EscapedDeclsForTeams) in buildRecordForGlobalizedVars() 251 const ValueDecl *VD = Pair.second; in buildRecordForGlobalizedVars() 301 llvm::SetVector<const ValueDecl *> EscapedDecls; 309 void markAsEscaped(const ValueDecl *VD) { in markAsEscaped() 314 VD = cast<ValueDecl>(VD->getCanonicalDecl()); in markAsEscaped() 353 void VisitValueDecl(const ValueDecl *VD) { in VisitValueDecl() 372 const ValueDecl *VD = C.getCapturedVar(); in VisitOpenMPCapturedStmt() 464 const ValueDecl *VD = C.getCapturedVar(); in VisitCapturedStmt() 477 const ValueDecl *VD = C.getCapturedVar(); in VisitLambdaExpr() [all …]
|
| H A D | CGOpenMPRuntimeNVPTX.h | 441 llvm::SmallVector<const ValueDecl*, 4> EscapedVariableLengthDecls; 471 std::pair<const Decl *, llvm::SmallVector<const ValueDecl *, 4>>
|
| H A D | CodeGenModule.h | 70 class ValueDecl; variable 845 ConstantAddress GetWeakRefReference(const ValueDecl *VD); 1198 void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV); 1445 bool MustBeEmitted(const ValueDecl *D); 1451 bool MayBeEmittedEagerly(const ValueDecl *D);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 359 hasInnermostDSA(ValueDecl *D, 630 const ValueDecl *VD, in addMappableExpressionComponents() 709 static const ValueDecl *getCanonicalDecl(const ValueDecl *D) { in getCanonicalDecl() 726 static ValueDecl *getCanonicalDecl(ValueDecl *D) { in getCanonicalDecl() 9828 ValueDecl *D = Res.first; in ActOnOpenMPPrivateClause() 9989 ValueDecl *D = Res.first; in ActOnOpenMPFirstprivateClause() 10259 ValueDecl *D = Res.first; in ActOnOpenMPLastprivateClause() 10412 ValueDecl *D = Res.first; in ActOnOpenMPSharedClause() 10483 ValueDecl *Field = nullptr; 10674 Lookups, [&SemaRef, Ty](ValueDecl *D) -> ValueDecl * { in buildDeclareReductionRef() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 131 SmallVector<ValueDecl *, 8> BlockByCopyDecls; 133 SmallVector<ValueDecl *, 8> BlockByRefDecls; 1505 ValueDecl *VD = DR->getDecl(); in RewriteObjCForCollectionStmt() 3354 for (ValueDecl *VD : ImportedBlockDecls) { in SynthesizeBlockHelperFuncs() 3553 ValueDecl *VD = Exp->getDecl(); in SynthesizeBlockLiterals() 3834 ValueDecl *VD = DeclRefExp->getDecl(); in RewriteBlockDeclRefExpr() 3870 ValueDecl *VD = DRE->getDecl(); in RewriteLocalVariableExternalStorage() 4363 ValueDecl *VD = Exp->getDecl(); in SynthBlockInitExpr() 4479 ValueDecl *ND = (*I); in SynthBlockInitExpr() 4689 if (ValueDecl *ND = dyn_cast<ValueDecl>(SD)) { in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
| H A D | RewriteModernObjC.cpp | 140 SmallVector<ValueDecl *, 8> BlockByCopyDecls; 142 SmallVector<ValueDecl *, 8> BlockByRefDecls; 1716 ValueDecl *VD = DR->getDecl(); in RewriteObjCForCollectionStmt() 4148 for (ValueDecl *VD : ImportedBlockDecls) { in SynthesizeBlockHelperFuncs() 4344 ValueDecl *VD = Exp->getDecl(); in SynthesizeBlockLiterals() 4670 ValueDecl *VD = DeclRefExp->getDecl(); in RewriteBlockDeclRefExpr() 4706 ValueDecl *VD = DRE->getDecl(); in RewriteLocalVariableExternalStorage() 5215 ValueDecl *VD = Exp->getDecl(); in SynthBlockInitExpr() 5347 ValueDecl *ND = (*I); in SynthBlockInitExpr() 5592 if (ValueDecl *ND = dyn_cast<ValueDecl>(SD)) { in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | Transforms.cpp | 223 ValueDecl *Dcl; 227 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() 304 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastToStructChecker.cpp | 79 const ValueDecl *VD = nullptr; in VisitCastExpr()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/ |
| H A D | ClangForward.h | 122 class ValueDecl; variable
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | MultiplexConsumer.cpp | 98 void InstantiationRequested(const ValueDecl *D) override; 173 void MultiplexASTMutationListener::InstantiationRequested(const ValueDecl *D) { in InstantiationRequested()
|