/external/llvm-project/clang/lib/AST/ |
D | Linkage.h | 88 llvm::SmallDenseMap<QueryType, LinkageInfo, 8> CachedLinkageInfo; 94 llvm::Optional<LinkageInfo> lookup(const NamedDecl *ND, in lookup() 102 void cache(const NamedDecl *ND, LVComputationKind Kind, LinkageInfo Info) { in cache() 106 LinkageInfo getLVForTemplateArgumentList(ArrayRef<TemplateArgument> Args, 109 LinkageInfo getLVForTemplateArgumentList(const TemplateArgumentList &TArgs, 112 void mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, 116 void mergeTemplateLV(LinkageInfo &LV, 120 void mergeTemplateLV(LinkageInfo &LV, 124 LinkageInfo getLVForNamespaceScopeDecl(const NamedDecl *D, 128 LinkageInfo getLVForClassMember(const NamedDecl *D, [all …]
|
D | Decl.cpp | 239 LinkageInfo LinkageComputer::getLVForType(const Type &T, in getLVForType() 242 return LinkageInfo(T.getLinkage(), DefaultVisibility, true); in getLVForType() 249 LinkageInfo LinkageComputer::getLVForTemplateParameterList( in getLVForTemplateParameterList() 251 LinkageInfo LV; in getLVForTemplateParameterList() 318 LinkageInfo 321 LinkageInfo LV; in getLVForTemplateArgumentList() 362 LinkageInfo 388 LinkageInfo &LV, const FunctionDecl *fn, in mergeTemplateLV() 396 LinkageInfo tempLV = in mergeTemplateLV() 402 LinkageInfo argsLV = getLVForTemplateArgumentList(templateArgs, computation); in mergeTemplateLV() [all …]
|
D | APValue.cpp | 1025 LinkageInfo LinkageComputer::getLVForValue(const APValue &V, in getLVForValue() 1027 LinkageInfo LV = LinkageInfo::external(); in getLVForValue() 1029 auto MergeLV = [&](LinkageInfo MergeLV) { in getLVForValue() 1051 return LinkageInfo::internal(); in getLVForValue() 1096 return LinkageInfo::internal(); in getLVForValue() 1102 return LinkageInfo::internal(); in getLVForValue()
|
D | Type.cpp | 3915 LinkageInfo LinkageComputer::computeTypeLinkageInfo(const Type *T) { in computeTypeLinkageInfo() 3928 return LinkageInfo::external(); in computeTypeLinkageInfo() 3932 return LinkageInfo::external(); in computeTypeLinkageInfo() 3936 return LinkageInfo::external(); in computeTypeLinkageInfo() 3953 LinkageInfo LV = computeTypeLinkageInfo(MPT->getClass()); in computeTypeLinkageInfo() 3971 LinkageInfo LV = computeTypeLinkageInfo(FPT->getReturnType()); in computeTypeLinkageInfo() 4002 LinkageInfo LinkageComputer::getTypeLinkageAndVisibility(const Type *T) { in getTypeLinkageAndVisibility() 4006 LinkageInfo LV = computeTypeLinkageInfo(T); in getTypeLinkageAndVisibility() 4011 LinkageInfo Type::getLinkageAndVisibility() const { in getLinkageAndVisibility()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Visibility.h | 52 class LinkageInfo { 59 LinkageInfo() : linkage_(ExternalLinkage), visibility_(DefaultVisibility), in LinkageInfo() function 61 LinkageInfo(Linkage L, Visibility V, bool E) in LinkageInfo() function 67 static LinkageInfo external() { in external() 68 return LinkageInfo(); in external() 70 static LinkageInfo internal() { in internal() 71 return LinkageInfo(InternalLinkage, DefaultVisibility, false); in internal() 73 static LinkageInfo uniqueExternal() { in uniqueExternal() 74 return LinkageInfo(UniqueExternalLinkage, DefaultVisibility, false); in uniqueExternal() 76 static LinkageInfo none() { in none() [all …]
|
/external/clang/include/clang/Basic/ |
D | Visibility.h | 51 class LinkageInfo { 58 LinkageInfo() : linkage_(ExternalLinkage), visibility_(DefaultVisibility), in LinkageInfo() function 60 LinkageInfo(Linkage L, Visibility V, bool E) in LinkageInfo() function 66 static LinkageInfo external() { in external() 67 return LinkageInfo(); in external() 69 static LinkageInfo internal() { in internal() 70 return LinkageInfo(InternalLinkage, DefaultVisibility, false); in internal() 72 static LinkageInfo uniqueExternal() { in uniqueExternal() 73 return LinkageInfo(UniqueExternalLinkage, DefaultVisibility, false); in uniqueExternal() 75 static LinkageInfo none() { in none() [all …]
|
/external/clang/lib/AST/ |
D | Decl.cpp | 232 static LinkageInfo 235 return LinkageInfo(T.getLinkage(), DefaultVisibility, true); in getLVForType() 242 static LinkageInfo 245 LinkageInfo LV; in getLVForTemplateParameterList() 297 static LinkageInfo getLVForDecl(const NamedDecl *D, 316 static LinkageInfo getLVForTemplateArgumentList(ArrayRef<TemplateArgument> Args, in getLVForTemplateArgumentList() 318 LinkageInfo LV; in getLVForTemplateArgumentList() 359 static LinkageInfo 385 mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, in mergeTemplateLV() 393 LinkageInfo tempLV = in mergeTemplateLV() [all …]
|
D | Type.cpp | 3386 static LinkageInfo computeLinkageInfo(QualType T); 3388 static LinkageInfo computeLinkageInfo(const Type *T) { in computeLinkageInfo() 3401 return LinkageInfo::external(); in computeLinkageInfo() 3404 return LinkageInfo::external(); in computeLinkageInfo() 3407 return LinkageInfo::external(); in computeLinkageInfo() 3424 LinkageInfo LV = computeLinkageInfo(MPT->getClass()); in computeLinkageInfo() 3439 LinkageInfo LV = computeLinkageInfo(FPT->getReturnType()); in computeLinkageInfo() 3459 static LinkageInfo computeLinkageInfo(QualType T) { in computeLinkageInfo() 3471 LinkageInfo Type::getLinkageAndVisibility() const { in getLinkageAndVisibility() 3475 LinkageInfo LV = computeLinkageInfo(this); in getLinkageAndVisibility()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGVTables.cpp | 1211 LinkageInfo LV = RD->getLinkageAndVisibility(); in HasHiddenLTOVisibility() 1239 LinkageInfo LV = RD->getLinkageAndVisibility(); in GetVCallVisibilityLevel()
|
D | CodeGenModule.cpp | 907 LinkageInfo LV = D->getLinkageAndVisibility(); in setGlobalVisibility() 1942 LinkageInfo LV = ND->getLinkageAndVisibility(); in setLinkageForGV()
|
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 907 LinkageInfo LV = RD->getLinkageAndVisibility(); in HasHiddenLTOVisibility()
|
D | CodeGenModule.cpp | 600 LinkageInfo LV = D->getLinkageAndVisibility(); in setGlobalVisibility() 978 LinkageInfo LV = ND->getLinkageAndVisibility(); in setLinkageAndVisibilityForGV()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 358 LinkageInfo getLinkageAndVisibility() const;
|
D | Type.h | 1958 LinkageInfo getLinkageAndVisibility() const;
|
/external/llvm-project/clang/include/clang/AST/ |
D | Decl.h | 393 LinkageInfo getLinkageAndVisibility() const;
|
D | Type.h | 2399 LinkageInfo getLinkageAndVisibility() const;
|