Home
last modified time | relevance | path

Searched refs:getStorageClass (Results 1 – 25 of 70) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DFunctionNamingCheck.cpp54 if (Decl->getStorageClass() != SC_Static) in generateFixItHint()
112 bool IsGlobal = MatchedDecl->getStorageClass() != SC_Static; in check()
H A DGlobalVariableDeclarationCheck.cpp29 if (IsConst && (Decl->getStorageClass() != SC_Static)) { in generateFixItHint()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSectionXCOFF.h100 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function
101 return QualName->getStorageClass(); in getStorageClass()
H A DMCSymbolXCOFF.h41 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DCOFF.h338 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 DXCOFFObjectFile.h710 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 DLowerABIAttributesPass.cpp44 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 DDecorateCompositeTypeLayoutPass.cpp44 spirv::PointerType::get(structType, ptrType.getStorageClass()); in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp61 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 DDecl.cpp634 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 DCOFFLinkGraphBuilder.cpp429 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 DMapFile.cpp108 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 DSPIRVAttributes.h71 Optional<StorageClass> getStorageClass();
/llvm-project-15.0.7/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp73 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 DMCXCOFFStreamer.cpp83 Symbol->setExternal(cast<MCSymbolXCOFF>(Symbol)->getStorageClass() != in emitCommonSymbol()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp406 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 DSPIRVAttributes.cpp153 Optional<spirv::StorageClass> spirv::InterfaceVarABIAttr::getStorageClass() { in getStorageClass() function in spirv::InterfaceVarABIAttr
638 auto storageClass = interfaceVarABIAttr.getStorageClass(); in print()
H A DSPIRVDialect.cpp792 << stringifyStorageClass(type.getStorageClass()) << ">"; in print()
929 if (varABIAttr.getStorageClass() && !valueType.isIntOrIndexOrFloat()) in verifyRegionAttribute()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp135 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 Dxcoff2yaml.cpp133 Sym.StorageClass = SymbolEntRef.getStorageClass(); in dumpSymbols()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/
H A DLayoutUtils.cpp165 auto storageClass = ptrType.getStorageClass(); in isLegalType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseTrailingReturnTypeCheck.cpp340 F.getStorageClass() != SC_Extern && F.getStorageClass() != SC_Static && in keepSpecifiers()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h1083 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 DSerializer.cpp304 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 DXCOFFObjectFile.cpp274 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()

123