Searched refs:GVAlignment (Results 1 – 2 of 2) sorted by relevance
130 unsigned GVAlignment = GV->getAlignment(); in addEmuTlsVar() local131 if (!GVAlignment) { in addEmuTlsVar()134 GVAlignment = DL.getABITypeAlignment(GVType); in addEmuTlsVar()146 EmuTlsTmplVar->setAlignment(Align(GVAlignment)); in addEmuTlsVar()153 ConstantInt::get(WordType, GVAlignment), in addEmuTlsVar()
838 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment() local841 if (GVAlignment && GV->hasSection()) in getPreferredAlignment()842 return GVAlignment; in getPreferredAlignment()852 if (GVAlignment >= Alignment) { in getPreferredAlignment()853 Alignment = GVAlignment; in getPreferredAlignment()854 } else if (GVAlignment != 0) { in getPreferredAlignment()855 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()861 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()