Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionXCOFF.h106 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function
107 return QualName->getStorageClass(); in getStorageClass()
H A DMCSymbolXCOFF.h46 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h343 uint8_t getStorageClass() const { in getStorageClass() function
366 getStorageClass() != COFF::IMAGE_SYM_CLASS_STATIC) in getSectionDefinition()
373 getStorageClass() != COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL) in getWeakExternal()
383 return getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL; in isExternal()
401 return getStorageClass() == COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL; in isWeakExternal()
411 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FUNCTION; in isFunctionLineInfo()
419 return getStorageClass() == COFF::IMAGE_SYM_CLASS_FILE; in isFileRecord()
423 return getStorageClass() == COFF::IMAGE_SYM_CLASS_SECTION; in isSection()
430 getStorageClass() == COFF::IMAGE_SYM_CLASS_EXTERNAL && in isSectionDefinition()
432 bool isOrdinarySection = getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC; in isSectionDefinition()
[all …]
H A DXCOFFObjectFile.h840 assert(getStorageClass() == XCOFF::C_FILE &&
846 assert(getStorageClass() == XCOFF::C_FILE &&
851 XCOFF::StorageClass getStorageClass() const { return GETVALUE(StorageClass); }
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp62 if ((VD->getStorageClass() == StorageClass::SC_Extern) || in WriteNamedDecl()
63 (VD->getStorageClass() == StorageClass::SC_Static && in WriteNamedDecl()
79 if (FD->getStorageClass() == StorageClass::SC_Static) in WriteNamedDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp590 static StorageClass getStorageClass(const Decl *D) { in getStorageClass() function
595 return VD->getStorageClass(); in getStorageClass()
597 return FD->getStorageClass(); in getStorageClass()
615 if ((getStorageClass(D->getCanonicalDecl()) == SC_Static) || in getLVForNamespaceScopeDecl()
652 if (Var->getStorageClass() != SC_Extern && in getLVForNamespaceScopeDecl()
653 Var->getStorageClass() != SC_PrivateExtern && in getLVForNamespaceScopeDecl()
660 if (PrevVar->getStorageClass() == SC_PrivateExtern && in getLVForNamespaceScopeDecl()
661 Var->getStorageClass() == SC_None) in getLVForNamespaceScopeDecl()
664 if (PrevVar->getStorageClass() == SC_Static) in getLVForNamespaceScopeDecl()
783 if (Var->getStorageClass() == SC_PrivateExtern) in getLVForNamespaceScopeDecl()
[all …]
H A DDeclPrinter.cpp694 switch (D->getStorageClass()) { in VisitFunctionDecl()
971 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
H A DJSONNodeDumper.cpp928 StorageClass SC = VD->getStorageClass(); in VisitVarDecl()
965 StorageClass SC = FD->getStorageClass(); in VisitFunctionDecl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp515 if (Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC || in createDefinedSymbol()
516 Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_LABEL) { in createDefinedSymbol()
540 formatv("{0:d}", Symbol.getStorageClass()) + in createDefinedSymbol()
H A DXCOFFLinkGraphBuilder.cpp228 OS << " " << getStorageClassString(Sym.getStorageClass()); in printSymbolEntry()
305 << getStorageClassString(CsectSymbol.getStorageClass()) in processCsectsAndSymbols()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCXCOFFStreamer.cpp127 Symbol->setExternal(cast<MCSymbolXCOFF>(Symbol)->getStorageClass() != in emitCommonSymbol()
H A DXCOFFObjectWriter.cpp72 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function
73 return MCSym->getStorageClass(); in getStorageClass()
945 SymbolRef.getStorageClass(), in writeSymbolEntryForCsectMemberLabel()
969 SymbolRef.getStorageClass()); in writeSymbolEntryForCsectMemberLabel()
1195 Csect.MCSec->getStorageClass()); in writeSymbolTable()
1211 Csect.MCSec->getStorageClass()); in writeSymbolTable()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp138 if (CoffSym.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
145 CS.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
H A DARMWinEHPrinter.cpp270 if (CoffSym.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
277 CS.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1147 StorageClass getStorageClass() const { in getStorageClass() function
1164 if (getStorageClass() == SC_None) { in hasLocalStorage()
1176 if (getStorageClass() == SC_Register && !isLocalVarDeclOrParm()) in hasLocalStorage()
1182 return getStorageClass() >= SC_Auto; in hasLocalStorage()
1188 return (getStorageClass() == SC_Static || in isStaticLocal()
1190 (getStorageClass() == SC_None && getTSCSpec() == TSCS_thread_local)) in isStaticLocal()
1197 return getStorageClass() == SC_Extern || in hasExternalStorage()
1198 getStorageClass() == SC_PrivateExtern; in hasExternalStorage()
2861 StorageClass getStorageClass() const { in getStorageClass() function
2902 bool isStatic() const { return getStorageClass() == SC_Static; } in isStatic()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCAsmBackend.cpp124 S->getStorageClass() == XCOFF::C_WEAKEXT; in shouldForceRelocation()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp316 if (XCOFF::C_FILE == XCOFFSym.getStorageClass()) in getSymbolType()
661 XCOFF::StorageClass SC = XCOFFSym.getStorageClass(); in getSymbolFlags()
1312 XCOFF::StorageClass SC = getStorageClass(); in isCsectSymbol()
1363 if (getStorageClass() & 0x80) in getName()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp233 if (FD->getStorageClass() != DFD->getStorageClass() || in gatherTemplatePseudoOverrides()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/XCOFF/
H A DObjectFileXCOFF.cpp225 auto storageClass = xcoff_sym_ref.getStorageClass(); in ParseSymtab()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDylibVerifier.cpp163 return FD->getStorageClass() == StorageClass::SC_PrivateExtern; in shouldIgnorePrivateExternAttr()
165 return VD->getStorageClass() == StorageClass::SC_PrivateExtern; in shouldIgnorePrivateExternAttr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp147 if (VD->getStorageClass() == SC_Static || in emitBufferGlobalsAndMetadata()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp3479 FD->getStorageClass() == SC_Extern); in canRedefineFunction()
3667 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
4655 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
4680 else if (New->getCanonicalDecl()->getStorageClass() != SC_Static && in MergeVarDecl()
4682 Old->getCanonicalDecl()->getStorageClass() == SC_Static) { in MergeVarDecl()
4772 if (Old->getStorageClass() != SC_Extern || Old->hasInit()) { in MergeVarDecl()
8062 NewVD->isStaticDataMember() || NewVD->getStorageClass() != SC_None); in ActOnVariableDeclarator()
8856 if (NewVD->getStorageClass() != SC_Static) { in CheckVariableDeclarationType()
12422 if (FD->getStorageClass() == SC_Static) in CheckMain()
13928 } else if (VDecl->getStorageClass() == SC_Static) { in AddInitializerToDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp537 StorageClass SC = Var->getStorageClass(); in getFragmentsForVar()
692 switch (Func->getStorageClass()) { in getFragmentsForFunction()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp873 << "(scl " << format("%3x", unsigned(Symbol->getStorageClass())) in printCOFFSymbolTable()

123