Home
last modified time | relevance | path

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

/external/llvm/lib/Target/
DTargetData.cpp640 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment() local
641 if (GVAlignment >= Alignment) { in getPreferredAlignment()
642 Alignment = GVAlignment; in getPreferredAlignment()
643 } else if (GVAlignment != 0) { in getPreferredAlignment()
644 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment()
647 if (GV->hasInitializer() && GVAlignment == 0) { in getPreferredAlignment()