Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DDataLayout.cpp764 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment() local
765 if (GVAlignment >= Alignment) { in getPreferredAlignment()
766 Alignment = GVAlignment; in getPreferredAlignment()
767 } else if (GVAlignment != 0) { in getPreferredAlignment()
768 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
771 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()