| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | FunctionNamingCheck.cpp | 54 if (Decl->getStorageClass() != SC_Static) in generateFixItHint() 112 bool IsGlobal = MatchedDecl->getStorageClass() != SC_Static; in check()
|
| H A D | GlobalVariableDeclarationCheck.cpp | 29 if (IsConst && (Decl->getStorageClass() != SC_Static)) { in generateFixItHint()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCSectionXCOFF.h | 100 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function 101 return QualName->getStorageClass(); in getStorageClass()
|
| H A D | MCSymbolXCOFF.h | 41 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | COFF.h | 338 uint8_t getStorageClass() const { in getStorageClass() function 361 getStorageClass() != COFF::IMAGE_SYM_CLASS_STATIC) in getSectionDefinition() 368 getStorageClass() != COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL) in getWeakExternal() 378 return getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL; in isExternal() 392 return getStorageClass() == COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL; in isWeakExternal() 402 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FUNCTION; in isFunctionLineInfo() 410 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FILE; in isFileRecord() 414 return getStorageClass() == COFF::IMAGE_SYM_CLASS_SECTION; in isSection() 421 getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL && in isSectionDefinition() 423 bool isOrdinarySection = getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC; in isSectionDefinition() [all …]
|
| H A D | XCOFFObjectFile.h | 710 assert(getStorageClass() == XCOFF::C_FILE && 716 assert(getStorageClass() == XCOFF::C_FILE && 721 XCOFF::StorageClass getStorageClass() const { return GETVALUE(StorageClass); }
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | LowerABIAttributesPass.cpp | 44 auto storageClass = abiInfo.getStorageClass(); in createGlobalVarForEntryPointArgument() 61 spirv::PointerType::get(varPointeeType, varPtrType.getStorageClass()); in createGlobalVarForEntryPointArgument() 90 switch (var.type().cast<spirv::PointerType>().getStorageClass()) { in getInterfaceVariables()
|
| H A D | DecorateCompositeTypeLayoutPass.cpp | 44 spirv::PointerType::get(structType, ptrType.getStorageClass()); in matchAndRewrite()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 61 if ((VD->getStorageClass() == StorageClass::SC_Extern) || in WriteNamedDecl() 62 (VD->getStorageClass() == StorageClass::SC_Static && in WriteNamedDecl() 78 if (FD->getStorageClass() == StorageClass::SC_Static) in WriteNamedDecl()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Decl.cpp | 634 static StorageClass getStorageClass(const Decl *D) { in getStorageClass() function 639 return VD->getStorageClass(); in getStorageClass() 641 return FD->getStorageClass(); in getStorageClass() 683 if (Var->getStorageClass() != SC_Extern && in getLVForNamespaceScopeDecl() 692 Var->getStorageClass() == SC_None) in getLVForNamespaceScopeDecl() 695 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl() 813 if (Var->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl() 1310 if (Var->getStorageClass() == SC_PrivateExtern) in getLVForLocalDecl() 3515 if (Redecl->getStorageClass() != SC_Extern) in redeclForcesDefMSVC() 3582 Prev->getStorageClass() != SC_Extern) in doesDeclarationForceExternallyVisibleDefinition() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.cpp | 429 if (Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC || in createDefinedSymbol() 430 Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_LABEL) { in createDefinedSymbol() 454 formatv("{0:d}", Symbol.getStorageClass()) + in createDefinedSymbol()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | MapFile.cpp | 108 symRef.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL) { in getSymbols() 109 if (symRef.getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC) in getSymbols()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVAttributes.h | 71 Optional<StorageClass> getStorageClass();
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 73 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function 74 return MCSym->getStorageClass(); in getStorageClass() 739 SymbolRef.getVisibilityType(), SymbolRef.getStorageClass()); in writeSymbolEntryForCsectMemberLabel() 886 Csect.MCSec->getStorageClass()); in writeSymbolTable() 902 Csect.MCSec->getStorageClass()); in writeSymbolTable()
|
| H A D | MCXCOFFStreamer.cpp | 83 Symbol->setExternal(cast<MCSymbolXCOFF>(Symbol)->getStorageClass() != in emitCommonSymbol()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.cpp | 406 StorageClass PointerType::getStorageClass() const { in getStorageClass() function in PointerType 415 getStorageClass()); in getExtensions() 417 if (auto scExts = spirv::getExtensions(getStorageClass())) in getExtensions() 427 getStorageClass()); in getCapabilities() 429 if (auto scCaps = spirv::getCapabilities(getStorageClass())) in getCapabilities()
|
| H A D | SPIRVAttributes.cpp | 153 Optional<spirv::StorageClass> spirv::InterfaceVarABIAttr::getStorageClass() { in getStorageClass() function in spirv::InterfaceVarABIAttr 638 auto storageClass = interfaceVarABIAttr.getStorageClass(); in print()
|
| H A D | SPIRVDialect.cpp | 792 << stringifyStorageClass(type.getStorageClass()) << ">"; in print() 929 if (varABIAttr.getStorageClass() && !valueType.isIntOrIndexOrFloat()) in verifyRegionAttribute()
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.cpp | 135 if (CoffSym.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol() 142 CS.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | xcoff2yaml.cpp | 133 Sym.StorageClass = SymbolEntRef.getStorageClass(); in dumpSymbols()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/ |
| H A D | LayoutUtils.cpp | 165 auto storageClass = ptrType.getStorageClass(); in isLegalType()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.cpp | 340 F.getStorageClass() != SC_Extern && F.getStorageClass() != SC_Static && in keepSpecifiers()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 1083 StorageClass getStorageClass() const { in getStorageClass() function 1100 if (getStorageClass() == SC_None) { in hasLocalStorage() 1112 if (getStorageClass() == SC_Register && !isLocalVarDeclOrParm()) in hasLocalStorage() 1118 return getStorageClass() >= SC_Auto; in hasLocalStorage() 1124 return (getStorageClass() == SC_Static || in isStaticLocal() 1126 (getStorageClass() == SC_None && getTSCSpec() == TSCS_thread_local)) in isStaticLocal() 1133 return getStorageClass() == SC_Extern || in hasExternalStorage() 1134 getStorageClass() == SC_PrivateExtern; in hasExternalStorage() 2611 StorageClass getStorageClass() const { in getStorageClass() function 2652 bool isStatic() const { return getStorageClass() == SC_Static; } in isStatic()
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | Serializer.cpp | 304 switch (ptrType.getStorageClass()) { in isInterfaceStructPtrType() 465 static_cast<uint32_t>(ptrType.getStorageClass())); in prepareBasicType() 485 {resultID, ptrType.getStorageClass()}); in prepareBasicType() 493 operands.push_back(static_cast<uint32_t>(ptrType.getStorageClass())); in prepareBasicType()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | XCOFFObjectFile.cpp | 274 if (XCOFF::C_FILE == XCOFFSym.getStorageClass()) in getSymbolType() 598 XCOFF::StorageClass SC = XCOFFSym.getStorageClass(); in getSymbolFlags() 1169 XCOFF::StorageClass SC = getStorageClass(); in isCsectSymbol() 1220 if (getStorageClass() & 0x80) in getName()
|