Home
last modified time | relevance | path

Searched refs:unaligned (Results 1 – 25 of 215) sorted by relevance

123456789

/external/llvm/unittests/Support/
DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read<int32_t, big, unaligned>(bigval))); in TEST()
29 EXPECT_EQ(LittleAsHost,(endian::read<int32_t, little, unaligned>(littleval))); in TEST()
31 EXPECT_EQ((endian::read<int32_t, big, unaligned>(bigval + 1)), in TEST()
32 (endian::read<int32_t, little, unaligned>(littleval + 1))); in TEST()
40 (endian::readAtBitAlignment<int, little, unaligned>(&littleval[0], 6)), in TEST()
42 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval[0], 6)), in TEST()
49 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 4)), in TEST()
51 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 4)), in TEST()
55 (endian::readAtBitAlignment<int, little, unaligned>(&littleval2[0], 1)), in TEST()
57 EXPECT_EQ((endian::readAtBitAlignment<int, big, unaligned>(&bigval2[0], 1)), in TEST()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DEndian.h25 enum alignment {unaligned, aligned}; enumerator
42 struct alignment_access_helper<value_type, unaligned>
96 class packed_endian_specific_integral<value_type, little, unaligned> {
99 return endian::read_le<value_type, unaligned>(Value);
106 class packed_endian_specific_integral<value_type, big, unaligned> {
109 return endian::read_be<value_type, unaligned>(Value);
138 <uint8_t, little, unaligned> ulittle8_t;
140 <uint16_t, little, unaligned> ulittle16_t;
142 <uint32_t, little, unaligned> ulittle32_t;
144 <uint64_t, little, unaligned> ulittle64_t;
[all …]
/external/llvm/test/MC/AArch64/
Dfixup-out-of-range.s10 ldr x0, unaligned
16 b.eq unaligned
22 ldr x0, [x1, unaligned-.]
28 ldr w0, [x1, unaligned-.]
34 ldrh w0, [x1, unaligned-.]
43 ldr q0, [x1, unaligned-.]
49 tbz x0, #1, unaligned
55 b unaligned
58 unaligned: label
/external/llvm/include/llvm/Support/
DEndian.h26 enum {aligned = 0, unaligned = 1}; enumerator
234 <uint16_t, little, unaligned> ulittle16_t;
236 <uint32_t, little, unaligned> ulittle32_t;
238 <uint64_t, little, unaligned> ulittle64_t;
241 <int16_t, little, unaligned> little16_t;
243 <int32_t, little, unaligned> little32_t;
245 <int64_t, little, unaligned> little64_t;
262 <uint16_t, big, unaligned> ubig16_t;
264 <uint32_t, big, unaligned> ubig32_t;
266 <uint64_t, big, unaligned> ubig64_t;
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h25 enum {aligned = 0, unaligned = 1}; enumerator
233 <uint16_t, little, unaligned> ulittle16_t;
235 <uint32_t, little, unaligned> ulittle32_t;
237 <uint64_t, little, unaligned> ulittle64_t;
240 <int16_t, little, unaligned> little16_t;
242 <int32_t, little, unaligned> little32_t;
244 <int64_t, little, unaligned> little64_t;
261 <uint16_t, big, unaligned> ubig16_t;
263 <uint32_t, big, unaligned> ubig32_t;
265 <uint64_t, big, unaligned> ubig64_t;
[all …]
/external/swiftshader/third_party/LLVM/unittests/Support/
DEndianTest.cpp27 EXPECT_EQ(BigAsHost, (endian::read_be<int32_t, unaligned>(big))); in TEST()
29 EXPECT_EQ(LittleAsHost, (endian::read_le<int32_t, unaligned>(little))); in TEST()
31 EXPECT_EQ((endian::read_be<int32_t, unaligned>(big + 1)), in TEST()
32 (endian::read_le<int32_t, unaligned>(little + 1))); in TEST()
37 endian::write_be<int32_t, unaligned>(data, -1362446643); in TEST()
42 endian::write_be<int32_t, unaligned>(data + 1, -1362446643); in TEST()
48 endian::write_le<int32_t, unaligned>(data, -1362446643); in TEST()
53 endian::write_le<int32_t, unaligned>(data + 1, -1362446643); in TEST()
/external/elfutils/libcpu/
Dmemory-access.h84 union unaligned union
98 const union unaligned *up = p; in read_2ubyte_unaligned()
106 const union unaligned *up = p; in read_2sbyte_unaligned()
115 const union unaligned *up = p; in read_4ubyte_unaligned_noncvt()
121 const union unaligned *up = p; in read_4ubyte_unaligned()
129 const union unaligned *up = p; in read_4sbyte_unaligned()
138 const union unaligned *up = p; in read_8ubyte_unaligned()
146 const union unaligned *up = p; in read_8sbyte_unaligned()
/external/elfutils/libdw/
Dmemory-access.h164 union unaligned union
191 const union unaligned *up = p; in read_2ubyte_unaligned_1()
199 const union unaligned *up = p; in read_2sbyte_unaligned_1()
208 const union unaligned *up = p; in read_4ubyte_unaligned_noncvt()
214 const union unaligned *up = p; in read_4ubyte_unaligned_1()
222 const union unaligned *up = p; in read_4sbyte_unaligned_1()
231 const union unaligned *up = p; in read_8ubyte_unaligned_noncvt()
237 const union unaligned *up = p; in read_8ubyte_unaligned_1()
245 const union unaligned *up = p; in read_8sbyte_unaligned_1()
/external/llvm/test/CodeGen/Mips/
Dswzero.ll3 %struct.unaligned = type <{ i32 }>
5 define void @zero_u(%struct.unaligned* nocapture %p) nounwind {
9 %x = getelementptr inbounds %struct.unaligned, %struct.unaligned* %p, i32 0, i32 0
/external/mesa3d/src/gallium/auxiliary/util/
Du_pointer.h85 align_pointer( const void *unaligned, uintptr_t alignment ) in align_pointer() argument
87 uintptr_t aligned = (pointer_to_uintptr( unaligned ) + alignment - 1) & ~(alignment - 1); in align_pointer()
96 align16( void *unaligned ) in align16() argument
98 return align_pointer( unaligned, 16 ); in align16()
/external/boringssl/src/ssl/test/runner/poly1305/
Dpoly1305_test.go78 func testSum(t *testing.T, unaligned bool) {
84 if unaligned {
131 func benchmark(b *testing.B, size int, unaligned bool) {
135 if unaligned {
/external/llvm/test/CodeGen/SystemZ/
Dint-move-09.ll89 ; Repeat f1 with an unaligned variable.
100 ; Repeat f2 with an unaligned variable.
111 ; Repeat f3 with an unaligned variable.
122 ; Repeat f4 with an unaligned variable.
133 ; Repeat f5 with an unaligned variable.
144 ; Repeat f6 with an unaligned variable.
155 ; Repeat f7 with unaligned variables.
Dunaligned-01.ll1 ; Check that unaligned accesses are allowed in general. We check the
25 ; Check that unaligned 2-byte accesses are allowed.
36 ; Check that unaligned 4-byte accesses are allowed.
50 ; Check that unaligned 8-byte accesses are allowed.
Dint-move-08.ll57 ; Repeat f1 with an unaligned variable.
68 ; Repeat f2 with an unaligned variable.
79 ; Repeat f3 with an unaligned variable.
90 ; Repeat f4 with unaligned variables.
/external/llvm/test/Analysis/ValueTracking/
Dmemory-dereferenceable.ll86 ; CHECK: @globalptr.align1{{.*}}(unaligned)
92 ; CHECK: %dparam.align1{{.*}}(unaligned)
98 ; CHECK: %alloca.align1{{.*}}(unaligned)
106 ; CHECK: %gep.align1.offset1{{.*}}(unaligned)
107 ; CHECK: %gep.align16.offset1{{.*}}(unaligned)
108 ; CHECK: %gep.align1.offset16{{.*}}(unaligned)
120 ; CHECK: %deref_return{{.*}}(unaligned)
130 ; CHECK: %d4_unaligned_load{{.*}}(unaligned)
/external/vulkan-validation-layers/build-android/
Dbuild_all.sh53 …xml -I "$ANDROID_SDK_HOME/platforms/android-23/android.jar" -S res -F bin/$1-unaligned.apk bin/libs
55 …e ~/.android/debug.keystore -storepass android -keypass android bin/$1-unaligned.apk androiddebug…
56 zipalign -f 4 bin/$1-unaligned.apk bin/$1.apk
/external/llvm/test/CodeGen/X86/
Dslow-unaligned-mem.ll1 ; Intel chips with slow unaligned memory accesses
15 ; Intel chips with fast unaligned memory accesses
27 ; AMD chips with slow unaligned memory accesses
39 ; AMD chips with fast unaligned memory accesses
50 ; Other chips with slow unaligned memory accesses
54 ; Verify that the slow/fast unaligned memory attribute is set correctly for each CPU model.
58 ; Also verify that SSE4.2 or SSE4a imply fast unaligned accesses.
Dwin64_alloca_dynalloca.ll8 define i64 @unaligned(i64 %n, i64 %x) nounwind {
9 ; M64-LABEL: unaligned:
10 ; W64-LABEL: unaligned:
11 ; EFI-LABEL: unaligned:
Ddag-merge-fast-accesses.ll2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=-slow-unaligned-mem-16 | FileCheck %s --chec…
3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+slow-unaligned-mem-16 | FileCheck %s --chec…
5 ; Verify that the DAGCombiner is creating unaligned 16-byte loads and stores
Dsandybridge-loads.ll11 %v0 = load <8 x float>, <8 x float>* %a, align 16 ; <---- unaligned!
36 store <8 x float> %v1, <8 x float>* %a, align 16 ; <--- unaligned
Dlogical-load-fold.ll1 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=sse2,sse-unaligned-mem | FileCheck %s --chec…
4 ; Although we have the ability to fold an unaligned load with AVX
/external/clang/lib/Lex/
DPTHLexer.cpp333 (unsigned)endian::readNext<uint16_t, little, unaligned>(d); in ReadKeyDataLength()
363 uint32_t x = endian::readNext<uint32_t, little, unaligned>(d); in ReadData()
364 uint32_t y = endian::readNext<uint32_t, little, unaligned>(d); in ReadData()
395 (unsigned)endian::readNext<uint16_t, little, unaligned>(d), in ReadKeyDataLength()
408 return endian::readNext<uint32_t, little, unaligned>(d); in ReadData()
550 endian::readNext<uint16_t, little, unaligned>(originalSourceBase); in Create()
674 uint64_t File = endian::readNext<uint64_t, little, unaligned>(d); in ReadData()
675 uint64_t Device = endian::readNext<uint64_t, little, unaligned>(d); in ReadData()
677 time_t ModTime = endian::readNext<uint64_t, little, unaligned>(d); in ReadData()
678 uint64_t Size = endian::readNext<uint64_t, little, unaligned>(d); in ReadData()
/external/llvm/test/MC/ARM/
Ddirective-align.s5 unaligned: label
9 @ CHECK-LABEL: unaligned
/external/elfutils/libelf/
Dgelf_xlate.c72 union unaligned union
79 #define FETCH(Bits, ptr) (((const union unaligned *) ptr)->u##Bits)
80 #define STORE(Bits, ptr, val) (((union unaligned *) ptr)->u##Bits = val)
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java1350 final int unaligned = (int) offset & 7; in unsafeEstimateConsecutiveAscii() local
1351 for (int j = unaligned; j > 0; j--) { in unsafeEstimateConsecutiveAscii()
1353 return unaligned - j; in unsafeEstimateConsecutiveAscii()
1360 remaining -= unaligned; in unsafeEstimateConsecutiveAscii()
1380 final int unaligned = (int) address & 7; in unsafeEstimateConsecutiveAscii() local
1381 for (int j = unaligned; j > 0; j--) { in unsafeEstimateConsecutiveAscii()
1383 return unaligned - j; in unsafeEstimateConsecutiveAscii()
1390 remaining -= unaligned; in unsafeEstimateConsecutiveAscii()

123456789