Home
last modified time | relevance | path

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

/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/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp575 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment() local
576 if (GVAlignment >= Alignment) { in getPreferredAlignment()
577 Alignment = GVAlignment; in getPreferredAlignment()
578 } else if (GVAlignment != 0) { in getPreferredAlignment()
579 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
582 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()
/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()