Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DDataLayout.cpp42 StructAlignment = 0; in StructLayout()
59 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
66 if (StructAlignment == 0) StructAlignment = 1; in StructLayout()
70 if ((StructSize & (StructAlignment-1)) != 0) { in StructLayout()
72 StructSize = RoundUpToAlignment(StructSize, StructAlignment); in StructLayout()
/external/llvm/include/llvm/IR/
DDataLayout.h477 unsigned StructAlignment; variable
486 unsigned getAlignment() const { return StructAlignment; } in getAlignment()