| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | APValue.cpp | 42 APValue::LValueBase::LValueBase(const ValueDecl *P, unsigned I, unsigned V) in LValueBase() 43 : Ptr(P ? cast<ValueDecl>(P->getCanonicalDecl()) : nullptr), Local{I, V} {} in LValueBase() 65 if (const ValueDecl *D = dyn_cast<const ValueDecl*>()) { in getType() 73 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType() 74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType() 190 B.Ptr = DenseMapInfo<const ValueDecl*>::getEmptyKey(); in getEmptyKey() 197 B.Ptr = DenseMapInfo<const ValueDecl*>::getTombstoneKey(); in getTombstoneKey() 257 llvm::PointerIntPair<const ValueDecl*, 1, bool> MemberAndIsDerivedMember; 716 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) in printPretty() 745 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in printPretty() [all …]
|
| H A D | AttrImpl.cpp | 145 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 D | ASTDiagnostic.cpp | 563 ValueDecl *VD = nullptr; 668 void SetDeclarationDiff(ValueDecl *FromValueDecl, ValueDecl *ToValueDecl, in SetDeclarationDiff() 686 ValueDecl *FromValueDecl, bool FromAddressOf, bool FromNullPtr, in SetFromDeclarationAndToIntegerDiff() 704 Expr *FromExpr, ValueDecl *ToValueDecl, bool ToAddressOf, in SetFromIntegerAndToDeclarationDiff() 821 void GetDeclarationDiff(ValueDecl *&FromValueDecl, ValueDecl *&ToValueDecl, in GetDeclarationDiff() 837 ValueDecl *&FromValueDecl, bool &FromAddressOf, bool &FromNullPtr, in GetFromDeclarationAndToIntegerDiff() 854 Expr *&FromExpr, ValueDecl *&ToValueDecl, bool &ToAddressOf, in GetFromIntegerAndToDeclarationDiff() 1178 Expr *&E, ValueDecl *&VD, in InitializeNonTypeDiffVariables() 1249 ValueDecl *FromValueDecl = nullptr, *ToValueDecl = nullptr; in DiffNonTypes() 1504 ValueDecl *FromValueDecl, *ToValueDecl; in TreeToString() [all …]
|
| H A D | OpenMPClause.cpp | 1068 ArrayRef<const ValueDecl *> Declarations) { in getUniqueDeclarationsTotalNumber() 1070 llvm::SmallPtrSet<const ValueDecl *, 8> Cache; in getUniqueDeclarationsTotalNumber() 1071 for (const ValueDecl *D : Declarations) { in getUniqueDeclarationsTotalNumber() 1072 const ValueDecl *VD = D ? cast<ValueDecl>(D->getCanonicalDecl()) : nullptr; in getUniqueDeclarationsTotalNumber() 1083 ArrayRef<ValueDecl *> Declarations, in Create() 1106 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create() 1127 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty() 1137 ArrayRef<ValueDecl *> Declarations, in Create() 1159 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in Create() 1177 totalSizeToAlloc<Expr *, ValueDecl *, unsigned, in CreateEmpty() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyCommon.h | 305 const ValueDecl* valueDecl() const { in valueDecl() 429 using LVarIndexMap = llvm::DenseMap<const ValueDecl *, unsigned>; 432 using NameVarPair = std::pair<const ValueDecl *, til::SExpr *>; 469 til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD); 472 const ValueDecl *VD = nullptr); 473 til::SExpr *lookupVarDecl(const ValueDecl *VD); 474 til::SExpr *addVarDecl(const ValueDecl *VD, til::SExpr *E); 475 til::SExpr *updateVarDecl(const ValueDecl *VD, til::SExpr *E);
|
| H A D | ThreadSafetyTIL.h | 373 Variable(SExpr *D, const ValueDecl *Cvd = nullptr) 393 const ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 404 void setClangDecl(const ValueDecl *VD) { Cvdecl = VD; } in setClangDecl() 430 const ValueDecl *Cvdecl = nullptr; 637 LiteralPtr(const ValueDecl *D) : SExpr(COP_LiteralPtr), Cvdecl(D) { in LiteralPtr() 645 const ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 658 const ValueDecl *Cvdecl; 914 Project(SExpr *R, const ValueDecl *Cvd) in Project() 924 const ValueDecl *clangDecl() const { return Cvdecl; } in clangDecl() 961 const ValueDecl *Cvdecl; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 265 bool containsMutexDecl(FactManager &FM, const ValueDecl* Vd) const { in containsMutexDecl() 282 using BeforeVect = SmallVector<const ValueDecl *, 4>; 293 llvm::DenseMap<const ValueDecl *, std::unique_ptr<BeforeInfo>>; 294 using CycleMap = llvm::DenseMap<const ValueDecl *, bool>; 299 BeforeInfo* insertAttrExprs(const ValueDecl* Vd, 302 BeforeInfo *getBeforeInfoForDecl(const ValueDecl *Vd, 305 void checkBeforeAfter(const ValueDecl* Vd, 640 const ValueDecl *VDec = DRE->getDecl(); in VisitBinaryOperator() 1068 BeforeSet::BeforeInfo* BeforeSet::insertAttrExprs(const ValueDecl* Vd, in insertAttrExprs() 1090 if (const ValueDecl *Cpvd = Cp.valueDecl()) { in insertAttrExprs() [all …]
|
| H A D | ThreadSafetyCommon.cpp | 274 const auto *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); in translateDeclRefExpr() 310 static const ValueDecl *getValueDeclFromSExpr(const til::SExpr *E) { in getValueDeclFromSExpr() 350 const auto *D = cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in translateMemberExpr() 498 const ValueDecl *VD = nullptr; in translateBinAssign() 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()
|
| H A D | BodyFarm.cpp | 102 MemberExpr *makeMemberExpression(Expr *base, ValueDecl *MemberDecl, 108 ValueDecl *findMemberField(const RecordDecl *RD, StringRef Name); 209 MemberExpr *ASTMaker::makeMemberExpression(Expr *base, ValueDecl *MemberDecl, in makeMemberExpression() 222 ValueDecl *ASTMaker::findMemberField(const RecordDecl *RD, StringRef Name) { in findMemberField() 234 return cast<ValueDecl>(FoundDecl); in findMemberField() 351 ValueDecl *FlagFieldDecl = M.findMemberField(FlagRecordDecl, "__state_"); in create_call_once()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 119 static const ValueDecl *getPrivateItem(const Expr *RefExpr) { in getPrivateItem() 136 return cast<ValueDecl>(DE->getDecl()->getCanonicalDecl()); in getPrivateItem() 138 return cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in getPrivateItem() 143 ASTContext &C, ArrayRef<const ValueDecl *> EscapedDecls, in buildRecordForGlobalizedVars() 144 ArrayRef<const ValueDecl *> EscapedDeclsForTeams, in buildRecordForGlobalizedVars() 145 llvm::SmallDenseMap<const ValueDecl *, const FieldDecl *> in buildRecordForGlobalizedVars() argument 147 using VarsDataTy = std::pair<CharUnits /*Align*/, const ValueDecl *>; in buildRecordForGlobalizedVars() 151 for (const ValueDecl *D : EscapedDecls) in buildRecordForGlobalizedVars() 157 for (const ValueDecl *D : EscapedDeclsForTeams) in buildRecordForGlobalizedVars() 170 llvm::SmallPtrSet<const ValueDecl *, 16> SingleEscaped( in buildRecordForGlobalizedVars() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | Program.h | 60 llvm::Optional<unsigned> getGlobal(const ValueDecl *VD); 63 llvm::Optional<unsigned> getOrCreateGlobal(const ValueDecl *VD); 69 llvm::Optional<unsigned> createGlobal(const ValueDecl *VD);
|
| H A D | Descriptor.h | 115 const ValueDecl *asValueDecl() const { in asValueDecl() 116 return dyn_cast_or_null<ValueDecl>(asDecl()); in asValueDecl()
|
| H A D | Program.cpp | 87 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | APValue.h | 40 class ValueDecl; variable 147 typedef llvm::PointerUnion<const ValueDecl *, const Expr *, TypeInfoLValue, 153 LValueBase(const ValueDecl *P, unsigned I = 0, unsigned V = 0); 350 APValue(const ValueDecl *Member, bool IsDerivedMember, 567 const ValueDecl *getMemberPointerDecl() const; 667 void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember, 690 setMemberPointerUninit(const ValueDecl *Member, bool IsDerivedMember,
|
| H A D | ASTMutationListener.h | 38 class ValueDecl; variable 93 virtual void InstantiationRequested(const ValueDecl *D) {} in InstantiationRequested()
|
| H A D | OpenMPClause.h | 4843 ValueDecl *AssociatedDeclaration = nullptr; 4848 ValueDecl *AssociatedDeclaration, in MappableComponent() 4854 ? cast<ValueDecl>(AssociatedDeclaration->getCanonicalDecl()) in MappableComponent() 4865 ValueDecl *getAssociatedDeclaration() const { in getAssociatedDeclaration() 4889 getUniqueDeclarationsTotalNumber(ArrayRef<const ValueDecl *> Declarations); 4976 MutableArrayRef<ValueDecl *> getUniqueDeclsRef() { in getUniqueDeclsRef() 4977 return MutableArrayRef<ValueDecl *>( in getUniqueDeclsRef() 4978 static_cast<T *>(this)->template getTrailingObjects<ValueDecl *>(), in getUniqueDeclsRef() 4984 ArrayRef<ValueDecl *> getUniqueDeclsRef() const { in getUniqueDeclsRef() 4985 return ArrayRef<ValueDecl *>( in getUniqueDeclsRef() [all …]
|
| H A D | TemplateBase.h | 59 class ValueDecl; 110 ValueDecl *D; 163 TemplateArgument(ValueDecl *D, QualType QT) { 276 ValueDecl *getAsDecl() const {
|
| H A D | DeclOpenMP.h | 171 class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext { 286 class OMPDeclareMapperDecl final : public OMPDeclarativeDirective<ValueDecl>, 288 friend class OMPDeclarativeDirective<ValueDecl>; 305 : OMPDeclarativeDirective<ValueDecl>(OMPDeclareMapper, DC, L, Name, Ty), in OMPDeclareMapperDecl()
|
| H A D | DeclCXX.h | 3101 ValueDecl *ExtendingDecl = nullptr; 3108 LifetimeExtendedTemporaryDecl(Expr *Temp, ValueDecl *EDecl, unsigned Mangling) in LifetimeExtendedTemporaryDecl() 3118 static LifetimeExtendedTemporaryDecl *Create(Expr *Temp, ValueDecl *EDec, in Create() 3128 ValueDecl *getExtendingDecl() { return ExtendingDecl; } in getExtendingDecl() 3129 const ValueDecl *getExtendingDecl() const { return ExtendingDecl; } in getExtendingDecl() 3604 class UnresolvedUsingValueDecl : public ValueDecl, 3624 : ValueDecl(UnresolvedUsingValue, DC, in UnresolvedUsingValueDecl() 3828 class BindingDecl : public ValueDecl { 3830 ValueDecl *Decomp; 3838 : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {} in BindingDecl() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | ExternalSemaSource.h | 37 class ValueDecl; variable 183 SmallVectorImpl<std::pair<ValueDecl *, in ReadPendingInstantiations() argument
|
| H A D | MultiplexExternalSemaSource.h | 31 class ValueDecl; variable 321 SmallVectorImpl<std::pair<ValueDecl*, SourceLocation> >& Pending) override;
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 110 using DeclSAMapTy = llvm::SmallDenseMap<const ValueDecl *, DSAInfo, 8>; 111 using UsedRefMapTy = llvm::SmallDenseMap<const ValueDecl *, const Expr *, 8>; 114 llvm::SmallDenseMap<const ValueDecl *, LCDeclInfo, 8>; 122 llvm::DenseMap<const ValueDecl *, MappedExprComponentTy>; 140 llvm::SmallDenseMap<const ValueDecl *, ReductionData, 4>; 292 DSAVarData getDSA(const_iterator &Iter, ValueDecl *D) const; 479 const Expr *addUniqueAligned(const ValueDecl *D, const Expr *NewDE); 483 const Expr *addUniqueNontemporal(const ValueDecl *D, const Expr *NewDE); 486 void addLoopControlVariable(const ValueDecl *D, VarDecl *Capture); 491 const LCDeclInfo isLoopControlVariable(const ValueDecl *D) const; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 252 if (const auto *VD = dyn_cast<ValueDecl>(ND)) { in HandleTranslationUnit() 263 std::set<const ValueDecl *> ValueDecls; in HandleTranslationUnit() 315 auto VD = cast<ValueDecl>(E.first)->getType(); in HandleTranslationUnit()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 130 SmallVector<ValueDecl *, 8> BlockByCopyDecls; 131 llvm::SmallPtrSet<ValueDecl *, 8> BlockByCopyDeclsPtrSet; 132 SmallVector<ValueDecl *, 8> BlockByRefDecls; 133 llvm::SmallPtrSet<ValueDecl *, 8> BlockByRefDeclsPtrSet; 134 llvm::DenseMap<ValueDecl *, unsigned> BlockByRefDeclNo; 135 llvm::SmallPtrSet<ValueDecl *, 8> ImportedBlockDecls; 277 ValueDecl *VD, bool def=false); 286 void RewriteBlockPointerTypeVariable(std::string& Str, ValueDecl *VD); 1497 QualType ElementType = cast<ValueDecl>(D)->getType(); in RewriteObjCForCollectionStmt() 1513 ValueDecl *VD = DR->getDecl(); in RewriteObjCForCollectionStmt() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckPlacementNew.cpp | 45 unsigned getStorageAlign(CheckerContext &C, const ValueDecl *VD) const; 168 const ValueDecl *VD) const { in getStorageAlign()
|