Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.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(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/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDataLayout.cpp813 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment() local
814 if (GVAlignment >= Alignment) { in getPreferredAlignment()
815 Alignment = GVAlignment; in getPreferredAlignment()
816 } else if (GVAlignment != 0) { in getPreferredAlignment()
817 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
820 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()