Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()