Home
last modified time | relevance | path

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

1234567

/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/boringssl/src/crypto/chacha/
Dchacha_vec_arm.S92 ldr r0, [r6] @ unaligned
94 ldr r1, [r6, #4] @ unaligned
95 ldr r2, [r6, #8] @ unaligned
96 ldr r3, [r9, #12] @ unaligned
100 ldr r1, [r9, #4] @ unaligned
101 ldr r2, [r9, #8] @ unaligned
102 ldr r0, [r9] @ unaligned
107 ldr r0, [r8, #16]! @ unaligned
110 ldr r1, [r8, #4] @ unaligned
113 ldr r3, [r8, #12] @ unaligned
[all …]
/external/llvm/include/llvm/Support/
DEndian.h26 enum {aligned = 0, unaligned = 1}; enumerator
230 <uint16_t, little, unaligned> ulittle16_t;
232 <uint32_t, little, unaligned> ulittle32_t;
234 <uint64_t, little, unaligned> ulittle64_t;
237 <int16_t, little, unaligned> little16_t;
239 <int32_t, little, unaligned> little32_t;
241 <int64_t, little, unaligned> little64_t;
258 <uint16_t, big, unaligned> ubig16_t;
260 <uint32_t, big, unaligned> ubig32_t;
262 <uint64_t, big, unaligned> ubig64_t;
[all …]
/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/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/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/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/eigen/test/eigen2/
Deigen2_unalignedassert.cpp85 float *unaligned = buf; in check_unalignedassert_bad() local
86 …while((reinterpret_cast<std::size_t>(unaligned)&0xf)==0) ++unaligned; // make sure unaligned is re… in check_unalignedassert_bad()
87 T *x = ::new(static_cast<void*>(unaligned)) T; in check_unalignedassert_bad()
/external/boringssl/src/ssl/test/runner/poly1305/
Dpoly1305_test.go38 func testSum(t *testing.T, unaligned bool) {
44 if unaligned {
58 func benchmark(b *testing.B, size int, unaligned bool) {
62 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.
Dla-01.ll52 ; Test a load of an unaligned external variable, which must go via the GOT.
60 ; Test a load of an unaligned local variable, which must go via the GOT.
/external/llvm/test/Analysis/ValueTracking/
Dmemory-dereferenceable.ll85 ; CHECK: @globalptr.align1{{.*}}(unaligned)
91 ; CHECK: %dparam.align1{{.*}}(unaligned)
97 ; CHECK: %alloca.align1{{.*}}(unaligned)
105 ; CHECK: %gep.align1.offset1{{.*}}(unaligned)
106 ; CHECK: %gep.align16.offset1{{.*}}(unaligned)
107 ; CHECK: %gep.align1.offset16{{.*}}(unaligned)
119 ; CHECK: %deref_return{{.*}}(unaligned)
129 ; CHECK: %d4_unaligned_load{{.*}}(unaligned)
/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/llvm/test/MC/ARM/
Ddirective-align.s5 unaligned: label
9 @ CHECK-LABEL: unaligned
/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/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/valgrind/none/tests/
Dmap_unaligned.stderr.exp2 unaligned mmap failed: Invalid argument
/external/llvm/test/CodeGen/AArch64/
Dmerge-store.ll27 ; unaligned 16-byte stores are slow. This test would infinite loop when
28 ; the fastness of unaligned accesses was not specified correctly.
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c41 void *unaligned ) in tgsi_align_128bit() argument
46 ph.pointer = unaligned; in tgsi_align_128bit()

1234567