Home
last modified time | relevance | path

Searched refs:GVAlignment (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLowerEmuTLS.cpp130 unsigned GVAlignment = GV->getAlignment(); in addEmuTlsVar() local
131 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()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp128 unsigned GVAlignment = GV->getAlignment(); in addEmuTlsVar() local
129 if (!GVAlignment) { in addEmuTlsVar()
132 GVAlignment = DL.getABITypeAlignment(GVType); in addEmuTlsVar()
144 EmuTlsTmplVar->setAlignment(GVAlignment); in addEmuTlsVar()
151 ConstantInt::get(WordType, GVAlignment), in addEmuTlsVar()
/external/llvm-project/llvm/lib/CodeGen/
DLowerEmuTLS.cpp131 Align GVAlignment = DL.getValueOrABITypeAlignment(GV->getAlign(), GVType); in addEmuTlsVar() local
142 EmuTlsTmplVar->setAlignment(GVAlignment); in addEmuTlsVar()
149 ConstantInt::get(WordType, GVAlignment.value()), NullPtr, in addEmuTlsVar()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp838 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment() local
841 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()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp904 MaybeAlign GVAlignment = GV->getAlign(); in getPreferredAlign() local
907 if (GVAlignment && GV->hasSection()) in getPreferredAlign()
908 return *GVAlignment; in getPreferredAlign()
918 if (GVAlignment) { in getPreferredAlign()
919 if (*GVAlignment >= Alignment) in getPreferredAlign()
920 Alignment = *GVAlignment; in getPreferredAlign()
922 Alignment = std::max(*GVAlignment, getABITypeAlign(ElemType)); in getPreferredAlign()
928 if (GV->hasInitializer() && !GVAlignment) { in getPreferredAlign()
/external/llvm/lib/IR/
DDataLayout.cpp763 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment() local
764 if (GVAlignment >= Alignment) { in getPreferredAlignment()
765 Alignment = GVAlignment; in getPreferredAlignment()
766 } else if (GVAlignment != 0) { in getPreferredAlignment()
767 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
770 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()