Home | History | Annotate | Download | only in IR

Lines Matching refs:Alignment

79   assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
80 assert(Align <= 0x40000000 && "Alignment too large.");
81 return get(Context, Alignment, Align);
86 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
87 assert(Align <= 0x100 && "Alignment too large.");
156 /// This returns the alignment field of an attribute as a byte alignment value.
158 assert(hasAttribute(Attribute::Alignment) &&
159 "Trying to get alignment from non-alignment attribute!");
163 /// This returns the stack alignment field of an attribute as a byte alignment
167 "Trying to get alignment from non-alignment attribute!");
283 if (hasAttribute(Attribute::Alignment)) {
425 case Attribute::Alignment: return 31 << 16;
534 if (I->hasAttribute(Attribute::Alignment))
589 if (Kind == Attribute::Alignment)
695 case Attribute::Alignment:
817 // FIXME it is not obvious how this should work for alignment. For now, say
818 // we can't change a known alignment.
822 "Attempt to change alignment!");
871 // FIXME it is not obvious how this should work for alignment.
872 // For now, say we can't pass in alignment, which no current use does.
873 assert(!Attrs.hasAttribute(Index, Attribute::Alignment) &&
874 "Attempt to change alignment!");
913 // FIXME it is not obvious how this should work for alignment.
914 // For now, say we can't pass in alignment, which no current use does.
915 assert(!Attrs.hasAlignmentAttr() && "Attempt to change alignment!");
1134 : Attrs(0), Alignment(0), StackAlignment(0), DerefBytes(0),
1153 Alignment = StackAlignment = DerefBytes = DerefOrNullBytes = 0;
1158 assert(Val != Attribute::Alignment && Val != Attribute::StackAlignment &&
1174 if (Kind == Attribute::Alignment)
1175 Alignment = Attr.getAlignment();
1194 if (Val == Attribute::Alignment)
1195 Alignment = 0;
1239 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
1240 assert(Align <= 0x40000000 && "Alignment too large.");
1242 Attrs[Attribute::Alignment] = true;
1243 Alignment = Align;
1248 // Default alignment, allow the target to define how to align it.
1251 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
1252 assert(Align <= 0x100 && "Alignment too large.");
1278 if (!Alignment)
1279 Alignment = B.Alignment;
1300 if (B.Alignment)
1301 Alignment = 0;
1366 return Alignment != 0;
1378 return Alignment == B.Alignment && StackAlignment == B.StackAlignment &&
1395 if (I == Attribute::Alignment)
1396 Alignment = 1ULL << ((A >> 16) - 1);