Home | History | Annotate | Download | only in IR

Lines Matching refs:Align

78 Attribute Attribute::getWithAlignment(LLVMContext &Context, uint64_t Align) {
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);
85 uint64_t Align) {
86 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
87 assert(Align <= 0x100 && "Alignment too large.");
88 return get(Context, StackAlignment, Align);
280 // align=4
285 Result += "align";
1236 AttrBuilder &AttrBuilder::addAlignmentAttr(unsigned Align) {
1237 if (Align == 0) return *this;
1239 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
1240 assert(Align <= 0x40000000 && "Alignment too large.");
1243 Alignment = Align;
1247 AttrBuilder &AttrBuilder::addStackAlignmentAttr(unsigned Align) {
1248 // Default alignment, allow the target to define how to align it.
1249 if (Align == 0) return *this;
1251 assert(isPowerOf2_32(Align) && "Alignment must be a power of two.");
1252 assert(Align <= 0x100 && "Alignment too large.");
1255 StackAlignment = Align;