Lines Matching full:sdata
13 #define DEBUG_TYPE "hexagon-sdata"
39 cl::desc("The maximum size of an object in the sdata section"));
46 cl::desc("Allow static variables in .sdata"));
84 // For instance, global variables with section attributes such as ".sdata"
85 // ".sdata.*", ".sbss", and ".sbss.*" will go into small data.
87 // sectionName is either ".sdata" or ".sbss". Looking for an exact match in isSmallDataSection()
89 if (Sec.equals(".sdata") || Sec.equals(".sbss") || Sec.equals(".scommon")) in isSmallDataSection()
91 // If either ".sdata." or ".sbss." is a substring of the section name in isSmallDataSection()
93 return Sec.find(".sdata.") != StringRef::npos || in isSmallDataSection()
118 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS, in Initialize()
224 // If sdata is disabled, stop the checks here. in isGlobalInSmallSection()
249 // (only references), so assuming that they are not in sdata is safe. If in isGlobalInSmallSection()
250 // these objects end up in the sdata, the references will still be valid. in isGlobalInSmallSection()
264 LLVM_DEBUG(dbgs() << "no, size exceeds sdata threshold: " << Size << '\n'); in isGlobalInSmallSection()
347 // global value to a unique section specifically for it... even for sdata. in selectSmallSectionForGlobal()
393 // We could have changed sdata object to a constant... in this in selectSmallSectionForGlobal()
404 TRACE(" default sdata\n"); in selectSmallSectionForGlobal()
408 StringRef Prefix(".sdata"); in selectSmallSectionForGlobal()
416 TRACE(" unique sdata(" << Name << ")\n"); in selectSmallSectionForGlobal()