Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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.h826 assert(getStorageClass() == XCOFF::C_FILE &&
832 assert(getStorageClass() == XCOFF::C_FILE &&
837 XCOFF::StorageClass getStorageClass() const { return GETVALUE(StorageClass); }
/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/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.cpp596 static StorageClass getStorageClass(const Decl *D) { in getStorageClass() function
601 return VD->getStorageClass(); in getStorageClass()
603 return FD->getStorageClass(); in getStorageClass()
621 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.cpp665 switch (D->getStorageClass()) { in VisitFunctionDecl()
935 StorageClass SC = D->getStorageClass(); in VisitVarDecl()
H A DJSONNodeDumper.cpp926 StorageClass SC = VD->getStorageClass(); in VisitVarDecl()
963 StorageClass SC = FD->getStorageClass(); in VisitFunctionDecl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp512 if (Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC || in createDefinedSymbol()
513 Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_LABEL) { in createDefinedSymbol()
537 formatv("{0:d}", Symbol.getStorageClass()) + in createDefinedSymbol()
/freebsd/contrib/llvm-project/lld/COFF/
H A DMapFile.cpp110 symRef.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL) { in getSymbols()
111 if (symRef.getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC) in getSymbols()
/freebsd/contrib/llvm-project/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()
H A DARMWinEHPrinter.cpp269 if (CoffSym.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
276 CS.getStorageClass() != COFF::IMAGE_SYM_CLASS_LABEL && in getPreferredSymbol()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCXCOFFStreamer.cpp125 Symbol->setExternal(cast<MCSymbolXCOFF>(Symbol)->getStorageClass() != in emitCommonSymbol()
H A DXCOFFObjectWriter.cpp73 XCOFF::StorageClass getStorageClass() const { in getStorageClass() function
74 return MCSym->getStorageClass(); in getStorageClass()
958 SymbolRef.getStorageClass(), in writeSymbolEntryForCsectMemberLabel()
982 SymbolRef.getStorageClass()); in writeSymbolEntryForCsectMemberLabel()
1211 Csect.MCSec->getStorageClass()); in writeSymbolTable()
1227 Csect.MCSec->getStorageClass()); in writeSymbolTable()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1116 StorageClass getStorageClass() const { in getStorageClass() function
1133 if (getStorageClass() == SC_None) { in hasLocalStorage()
1145 if (getStorageClass() == SC_Register && !isLocalVarDeclOrParm()) in hasLocalStorage()
1151 return getStorageClass() >= SC_Auto; in hasLocalStorage()
1157 return (getStorageClass() == SC_Static || in isStaticLocal()
1159 (getStorageClass() == SC_None && getTSCSpec() == TSCS_thread_local)) in isStaticLocal()
1166 return getStorageClass() == SC_Extern || in hasExternalStorage()
1167 getStorageClass() == SC_PrivateExtern; in hasExternalStorage()
2760 StorageClass getStorageClass() const { in getStorageClass() function
2801 bool isStatic() const { return getStorageClass() == SC_Static; } in isStatic()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCAsmBackend.cpp187 S->getStorageClass() == XCOFF::C_WEAKEXT; in shouldForceRelocation()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp315 if (XCOFF::C_FILE == XCOFFSym.getStorageClass()) in getSymbolType()
656 XCOFF::StorageClass SC = XCOFFSym.getStorageClass(); in getSymbolFlags()
1307 XCOFF::StorageClass SC = getStorageClass(); in isCsectSymbol()
1358 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/clang/lib/InstallAPI/
H A DDylibVerifier.cpp144 return FD->getStorageClass() == StorageClass::SC_PrivateExtern; in shouldIgnorePrivateExternAttr()
146 return VD->getStorageClass() == StorageClass::SC_PrivateExtern; in shouldIgnorePrivateExternAttr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp123 if (D->getStorageClass() == SC_Static) { in addConstant()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp526 StorageClass SC = Var->getStorageClass(); in getFragmentsForVar()
678 switch (Func->getStorageClass()) { in getFragmentsForFunction()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp855 << "(scl " << format("%3x", unsigned(Symbol->getStorageClass())) in printCOFFSymbolTable()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp3410 FD->getStorageClass() == SC_Extern); in canRedefineFunction()
3598 New->getStorageClass() == SC_Static && in MergeFunctionDecl()
4561 if (New->getStorageClass() == SC_Static && in MergeVarDecl()
4586 else if (New->getCanonicalDecl()->getStorageClass() != SC_Static && in MergeVarDecl()
4588 Old->getCanonicalDecl()->getStorageClass() == SC_Static) { in MergeVarDecl()
7875 NewVD->isStaticDataMember() || NewVD->getStorageClass() != SC_None); in ActOnVariableDeclarator()
8656 if (NewVD->getStorageClass() != SC_Static) { in CheckVariableDeclarationType()
12221 if (FD->getStorageClass() == SC_Static) in CheckMain()
13583 } else if (VDecl->getStorageClass() == SC_Static) { in AddInitializerToDecl()
13706 if (VDecl->getStorageClass() == SC_Extern && in AddInitializerToDecl()
[all …]
H A DSemaLambda.cpp1743 From->getTypeSourceInfo(), From->getStorageClass(), in addFunctionPointerConversion()
2323 From->getStorageClass(), in BuildBlockForLambdaConversion()
H A DSemaStmtAsm.cpp200 if (Variable && Variable->getStorageClass() == SC_Register) { in extractRegisterName()

123