Home
last modified time | relevance | path

Searched refs:StructAlignment (Results 1 – 6 of 6) 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 = alignTo(StructSize, StructAlignment); in StructLayout()
/external/llvm/include/llvm/IR/
DDataLayout.h475 unsigned StructAlignment; variable
484 unsigned getAlignment() const { return StructAlignment; } in getAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp64 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
72 if (!isAligned(StructAlignment, StructSize)) { in StructLayout()
74 StructSize = alignTo(StructSize, StructAlignment); in StructLayout()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp65 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
73 if (!isAligned(StructAlignment, StructSize)) { in StructLayout()
75 StructSize = alignTo(StructSize, StructAlignment); in StructLayout()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h627 Align StructAlignment; variable
637 Align getAlignment() const { return StructAlignment; } in getAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h587 Align StructAlignment; variable
597 Align getAlignment() const { return StructAlignment; } in getAlignment()