Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DAlignOf.h75 struct AlignedCharArray { struct
82 struct AlignedCharArray; argument
86 struct AlignedCharArray<x, Size> { \
109 struct AlignedCharArray;
120 struct AlignedCharArray<1, Size> {
128 struct AlignedCharArray<2, Size> {
136 struct AlignedCharArray<4, Size> {
144 struct AlignedCharArray<8, Size> {
157 struct AlignedCharArray<x, Size> { \
199 struct AlignedCharArrayUnion : llvm::AlignedCharArray<
DEndian.h86 AlignedCharArray<PickAlignment<value_type, alignment>::value,
/external/llvm/unittests/Support/
DAlignOfTest.cpp324 EXPECT_EQ(1u, (alignOf<AlignedCharArray<1, 1> >())); in TEST()
325 EXPECT_EQ(2u, (alignOf<AlignedCharArray<2, 1> >())); in TEST()
326 EXPECT_EQ(4u, (alignOf<AlignedCharArray<4, 1> >())); in TEST()
327 EXPECT_EQ(8u, (alignOf<AlignedCharArray<8, 1> >())); in TEST()
328 EXPECT_EQ(16u, (alignOf<AlignedCharArray<16, 1> >())); in TEST()
330 EXPECT_EQ(1u, sizeof(AlignedCharArray<1, 1>)); in TEST()
331 EXPECT_EQ(7u, sizeof(AlignedCharArray<1, 7>)); in TEST()
332 EXPECT_EQ(2u, sizeof(AlignedCharArray<2, 2>)); in TEST()
333 EXPECT_EQ(16u, sizeof(AlignedCharArray<2, 16>)); in TEST()
/external/llvm/test/CodeGen/PowerPC/
Dpr15031.ll164 %"struct.llvm::AlignedCharArrayUnion" = type { %"struct.llvm::AlignedCharArray" }
165 %"struct.llvm::AlignedCharArray" = type { [8 x i8] }
174 %"struct.llvm::AlignedCharArrayUnion.198" = type { %"struct.llvm::AlignedCharArray.199" }
175 %"struct.llvm::AlignedCharArray.199" = type { [4 x i8] }
194 %"struct.llvm::AlignedCharArrayUnion.137" = type { %"struct.llvm::AlignedCharArray.138" }
195 %"struct.llvm::AlignedCharArray.138" = type { [40 x i8] }
246 %"struct.llvm::AlignedCharArrayUnion.178" = type { %"struct.llvm::AlignedCharArray" }
287 %"struct.llvm::AlignedCharArrayUnion.213" = type { %"struct.llvm::AlignedCharArray" }