Lines Matching full:sdata
13 #define DEBUG_TYPE "hexagon-sdata"
29 cl::desc("The maximum size of an object in the sdata section"));
36 cl::desc("Allow static variables in .sdata"));
58 // For instance, global variables with section attributes such as ".sdata"
59 // ".sdata.*", ".sbss", and ".sbss.*" will go into small data.
61 // sectionName is either ".sdata" or ".sbss". Looking for an exact match in isSmallDataSection()
63 if (Sec.equals(".sdata") || Sec.equals(".sbss") || Sec.equals(".scommon")) in isSmallDataSection()
65 // If either ".sdata." or ".sbss." is a substring of the section name in isSmallDataSection()
67 return Sec.find(".sdata.") != StringRef::npos || in isSmallDataSection()
94 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS, in Initialize()
218 // (only references), so assuming that they are not in sdata is safe. If in isGlobalInSmallSection()
219 // these objects end up in the sdata, the references will still be valid. in isGlobalInSmallSection()
233 DEBUG(dbgs() << "no, size exceeds sdata threshold: " << Size << '\n'); in isGlobalInSmallSection()
313 // global value to a unique section specifically for it... even for sdata. in selectSmallSectionForGlobal()
359 // We could have changed sdata object to a constant... in this in selectSmallSectionForGlobal()
370 TRACE(" default sdata\n"); in selectSmallSectionForGlobal()
374 StringRef Prefix(".sdata"); in selectSmallSectionForGlobal()
382 TRACE(" unique sdata(" << Name << ")\n"); in selectSmallSectionForGlobal()