Home
last modified time | relevance | path

Searched refs:addrspace (Results 1 – 25 of 54) sorted by relevance

123

/external/llvm/test/Assembler/
D2007-12-11-AddressSpaces.ll1 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(33)" | count 7
2 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(42)" | count 2
3 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(66)" | count 2
4 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(11)" | count 6
5 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(22)" | count 5
7 %struct.mystruct = type { i32, i32 addrspace(33)*, i32, i32 addrspace(33)* }
8 @input = weak addrspace(42) global %struct.mystruct zeroinitializer ; <%struct.mystruct addrspac…
9 @output = addrspace(66) global %struct.mystruct zeroinitializer ; <%struct.mystruct addrspace(66)…
10 @y = external addrspace(33) global i32 addrspace(11)* addrspace(22)* ; <i32 addrspace(11)* addrsp…
14 …p1 = load i32 addrspace(33)* addrspace(42)* getelementptr (%struct.mystruct addrspace(42)* @input,…
[all …]
/external/llvm/test/CodeGen/XCore/
Dresources.ll3 declare i8 addrspace(1)* @llvm.xcore.getr.p1i8(i32 %type)
4 declare void @llvm.xcore.freer.p1i8(i8 addrspace(1)* %r)
5 declare i32 @llvm.xcore.in.p1i8(i8 addrspace(1)* %r)
6 declare i32 @llvm.xcore.int.p1i8(i8 addrspace(1)* %r)
7 declare i32 @llvm.xcore.inct.p1i8(i8 addrspace(1)* %r)
8 declare void @llvm.xcore.out.p1i8(i8 addrspace(1)* %r, i32 %value)
9 declare void @llvm.xcore.outt.p1i8(i8 addrspace(1)* %r, i32 %value)
10 declare void @llvm.xcore.outct.p1i8(i8 addrspace(1)* %r, i32 %value)
11 declare void @llvm.xcore.chkct.p1i8(i8 addrspace(1)* %r, i32 %value)
12 declare i32 @llvm.xcore.testct.p1i8(i8 addrspace(1)* %r)
[all …]
Dthreads.ll3 declare i8 addrspace(1)* @llvm.xcore.getst.p1i8.p1i8(i8 addrspace(1)* %r)
4 declare void @llvm.xcore.msync.p1i8(i8 addrspace(1)* %r)
6 declare void @llvm.xcore.mjoin.p1i8(i8 addrspace(1)* %r)
7 declare void @llvm.xcore.initsp.p1i8(i8 addrspace(1)* %r, i8* %value)
8 declare void @llvm.xcore.initpc.p1i8(i8 addrspace(1)* %r, i8* %value)
9 declare void @llvm.xcore.initlr.p1i8(i8 addrspace(1)* %r, i8* %value)
10 declare void @llvm.xcore.initcp.p1i8(i8 addrspace(1)* %r, i8* %value)
11 declare void @llvm.xcore.initdp.p1i8(i8 addrspace(1)* %r, i8* %value)
13 define i8 addrspace(1)* @getst(i8 addrspace(1)* %r) {
16 %result = call i8 addrspace(1)* @llvm.xcore.getst.p1i8.p1i8(i8 addrspace(1)* %r)
[all …]
Devents.ll3 declare void @llvm.xcore.setv.p1i8(i8 addrspace(1)* %r, i8* %p)
8 define i32 @f(i8 addrspace(1)* %r) nounwind {
13 call void @llvm.xcore.setv.p1i8(i8 addrspace(1)* %r, i8* blockaddress(@f, %L1))
14 call void @llvm.xcore.setv.p1i8(i8 addrspace(1)* %r, i8* blockaddress(@f, %L2))
27 define i32 @g(i8 addrspace(1)* %r) nounwind {
32 call void @llvm.xcore.setv.p1i8(i8 addrspace(1)* %r, i8* blockaddress(@f, %L1))
/external/llvm/test/CodeGen/NVPTX/
Dld-addrspace.ll8 define i8 @ld_global_i8(i8 addrspace(1)* %ptr) {
13 %a = load i8 addrspace(1)* %ptr
17 define i8 @ld_shared_i8(i8 addrspace(3)* %ptr) {
22 %a = load i8 addrspace(3)* %ptr
26 define i8 @ld_local_i8(i8 addrspace(5)* %ptr) {
31 %a = load i8 addrspace(5)* %ptr
36 define i16 @ld_global_i16(i16 addrspace(1)* %ptr) {
41 %a = load i16 addrspace(1)* %ptr
45 define i16 @ld_shared_i16(i16 addrspace(3)* %ptr) {
50 %a = load i16 addrspace(3)* %ptr
[all …]
Dst-addrspace.ll9 define void @st_global_i8(i8 addrspace(1)* %ptr, i8 %a) {
14 store i8 %a, i8 addrspace(1)* %ptr
18 define void @st_shared_i8(i8 addrspace(3)* %ptr, i8 %a) {
23 store i8 %a, i8 addrspace(3)* %ptr
27 define void @st_local_i8(i8 addrspace(5)* %ptr, i8 %a) {
32 store i8 %a, i8 addrspace(5)* %ptr
38 define void @st_global_i16(i16 addrspace(1)* %ptr, i16 %a) {
43 store i16 %a, i16 addrspace(1)* %ptr
47 define void @st_shared_i16(i16 addrspace(3)* %ptr, i16 %a) {
52 store i16 %a, i16 addrspace(3)* %ptr
[all …]
Dld-generic.ll6 define i8 @ld_global_i8(i8 addrspace(0)* %ptr) {
11 %a = load i8 addrspace(0)* %ptr
16 define i16 @ld_global_i16(i16 addrspace(0)* %ptr) {
21 %a = load i16 addrspace(0)* %ptr
26 define i32 @ld_global_i32(i32 addrspace(0)* %ptr) {
31 %a = load i32 addrspace(0)* %ptr
36 define i64 @ld_global_i64(i64 addrspace(0)* %ptr) {
41 %a = load i64 addrspace(0)* %ptr
46 define float @ld_global_f32(float addrspace(0)* %ptr) {
51 %a = load float addrspace(0)* %ptr
[all …]
Dst-generic.ll7 define void @st_global_i8(i8 addrspace(0)* %ptr, i8 %a) {
12 store i8 %a, i8 addrspace(0)* %ptr
18 define void @st_global_i16(i16 addrspace(0)* %ptr, i16 %a) {
23 store i16 %a, i16 addrspace(0)* %ptr
29 define void @st_global_i32(i32 addrspace(0)* %ptr, i32 %a) {
34 store i32 %a, i32 addrspace(0)* %ptr
40 define void @st_global_i64(i64 addrspace(0)* %ptr, i64 %a) {
45 store i64 %a, i64 addrspace(0)* %ptr
51 define void @st_global_f32(float addrspace(0)* %ptr, float %a) {
56 store float %a, float addrspace(0)* %ptr
[all …]
Dannotations.ll7 @texture = internal addrspace(1) global i64 0, align 8
9 @surface = internal addrspace(1) global i64 0, align 8
54 !7 = metadata !{i64 addrspace(1)* @texture, metadata !"texture", i32 1}
55 !8 = metadata !{i64 addrspace(1)* @surface, metadata !"surface", i32 1}
/external/llvm/test/Transforms/ScalarRepl/
Daddress-space.ll10 ; CHECK: load float addrspace(2)*
12 ; CHECK: store float {{.*}}, float addrspace(2)*
13 define void @Test(%struct.anon addrspace(2)* %pPtr) nounwind {
16 …%arrayidx = getelementptr inbounds %struct.anon addrspace(2)* %pPtr, i64 0 ; <%struct.anon addrspa…
18 …%tmp2 = bitcast %struct.anon addrspace(2)* %arrayidx to i8 addrspace(2)* ; <i8 addrspace(2)*> [#us…
19 call void @llvm.memcpy.p0i8.p2i8.i64(i8* %tmp1, i8 addrspace(2)* %tmp2, i64 4, i32 4, i1 false)
25 …%arrayidx7 = getelementptr inbounds %struct.anon addrspace(2)* %pPtr, i64 0 ; <%struct.anon addrsp…
26 …%tmp8 = bitcast %struct.anon addrspace(2)* %arrayidx7 to i8 addrspace(2)* ; <i8 addrspace(2)*> [#u…
28 call void @llvm.memcpy.p2i8.p0i8.i64(i8 addrspace(2)* %tmp8, i8* %tmp9, i64 4, i32 4, i1 false)
32 declare void @llvm.memcpy.p0i8.p2i8.i64(i8* nocapture, i8 addrspace(2)* nocapture, i64, i32, i1) no…
[all …]
/external/llvm/test/Transforms/GlobalOpt/
D2008-07-17-addrspace.ll7 ; RUN: cat %t | grep addrspace.*global
9 @struct = internal addrspace(1) global { i32, i32 } zeroinitializer
10 @array = internal addrspace(1) global [ 2 x i32 ] zeroinitializer
13 %A = load i32 addrspace(1) * getelementptr ({ i32, i32 } addrspace(1) * @struct, i32 0, i32 0)
14 %B = load i32 addrspace(1) * getelementptr ([ 2 x i32 ] addrspace(1) * @array, i32 0, i32 0)
23 store i32 %R, i32 addrspace(1) * getelementptr ([ 2 x i32 ] addrspace(1) * @array, i32 0, i32 0)
24 store i32 %R, i32 addrspace(1) * getelementptr ({ i32, i32 } addrspace(1) * @struct, i32 0, i32 0)
/external/llvm/test/CodeGen/X86/
Dmovgs.ll7 …%tmp = load i32* addrspace(256)* getelementptr (i32* addrspace(256)* inttoptr (i32 72 to i32* addr…
21 define i64 @test2(void (i8*)* addrspace(256)* %tmp8) nounwind {
23 %tmp9 = load void (i8*)* addrspace(256)* %tmp8, align 8
39 define <2 x i64> @pmovsxwd_1(i64 addrspace(256)* %p) nounwind readonly {
41 %0 = load i64 addrspace(256)* %p
62 …%tmp = load i32* addrspace(256)* getelementptr (i32* addrspace(256)* inttoptr (i32 72 to i32* addr…
64 …%tmp2 = load i32* addrspace(257)* getelementptr (i32* addrspace(257)* inttoptr (i32 72 to i32* add…
Dscalar_widen_div.ll7 define void @vectorDiv (<2 x i32> addrspace(1)* %nsource, <2 x i32> addrspace(1)* %dsource, <2 x i3…
13 %nsource.addr = alloca <2 x i32> addrspace(1)*, align 4
14 %dsource.addr = alloca <2 x i32> addrspace(1)*, align 4
15 %qdest.addr = alloca <2 x i32> addrspace(1)*, align 4
17 store <2 x i32> addrspace(1)* %nsource, <2 x i32> addrspace(1)** %nsource.addr
18 store <2 x i32> addrspace(1)* %dsource, <2 x i32> addrspace(1)** %dsource.addr
19 store <2 x i32> addrspace(1)* %qdest, <2 x i32> addrspace(1)** %qdest.addr
20 %tmp = load <2 x i32> addrspace(1)** %qdest.addr
22 %arrayidx = getelementptr <2 x i32> addrspace(1)* %tmp, i32 %tmp1
23 %tmp2 = load <2 x i32> addrspace(1)** %nsource.addr
[all …]
Dmovfs.ll5 …%tmp = load i32* addrspace(257)* getelementptr (i32* addrspace(257)* inttoptr (i32 72 to i32* addr…
D2011-12-08-AVXISelBugs.ll16 %1 = load <16 x i32> addrspace(1)* undef, align 64
18 store <16 x i32> %2, <16 x i32> addrspace(1)* undef, align 64
32 %2 = load <16 x i32> addrspace(1)* undef, align 64
34 store <16 x i32> %3, <16 x i32> addrspace(1)* undef, align 64
53 %2 = load <16 x i32> addrspace(1)* undef, align 64
55 store <16 x i32> %3, <16 x i32> addrspace(1)* undef, align 64
67 %0 = load <2 x i64> addrspace(1)* undef, align 16
77 store <8 x i64> %1, <8 x i64> addrspace(1)* undef, align 64
Ddbg-value-isel.ll9 @sgv = internal addrspace(2) constant [1 x i8] zeroinitializer
10 @fgv = internal addrspace(2) constant [1 x i8] zeroinitializer
12 … (void (i32 addrspace(1)*)* @__OpenCL_nbt02_kernel to i8*), i8* bitcast ([1 x i8] addrspace(2)* @s…
14 define void @__OpenCL_nbt02_kernel(i32 addrspace(1)* %ip) nounwind {
16 call void @llvm.dbg.value(metadata !{i32 addrspace(1)* %ip}, i64 0, metadata !8), !dbg !9
64 store i32 %tmp7, i32 addrspace(1)* %ip, align 4, !dbg !17
DMachineSink-eflags.ll8 %2 = type <{ i32, i32, i8 addrspace(2)* }>
23 %i7 = bitcast i8* %ptr20 to <2 x double> addrspace(1)**
24 %tmp21 = load <2 x double> addrspace(1)** %i7, align 8
51 %arrayidx161.i = getelementptr <2 x double> addrspace(1)* %tmp21, i64 %tmp22.sum652.i
52 %tmp162.i = load <2 x double> addrspace(1)* %arrayidx161.i, align 16
58 %arrayidx229.i = getelementptr <2 x double> addrspace(1)* %tmp21, i64 %tmp22.sum656.i
59 %tmp230.i = load <2 x double> addrspace(1)* %arrayidx229.i, align 16
/external/llvm/test/CodeGen/ARM/
Dfast-isel-crash.ll7 define internal void @stretch(<4 x i8> addrspace(1)* %src, <4 x i8> addrspace(1)* %dst, i32 %width,…
17 define void @wrap(i8 addrspace(1)* addrspace(1)* %arglist, i32 addrspace(1)* %gtid) nounwind ssp {
19 …call void @stretch(<4 x i8> addrspace(1)* undef, <4 x i8> addrspace(1)* undef, i32 undef, i32 unde…
/external/clang/test/CodeGenOpenCL/
Daddress-spaces.cl7 // CHECK: i32 addrspace(1)* nocapture %arg
10 // CHECK: i32 addrspace(2)* nocapture %arg
13 // CHECK: i32 addrspace(3)* nocapture %arg
20 // CHECK: i32 addrspace(1)* nocapture %arg
23 // CHECK: i32 addrspace(2)* nocapture %arg
26 // CHECK: i32 addrspace(3)* nocapture %arg
/external/llvm/test/Transforms/InstCombine/
Dmemset2.ll7 define i32 @test(%struct.Moves addrspace(1)* nocapture %moves) {
9 ; CHECK: bitcast i8 addrspace(1)* %gep to i64 addrspace(1)*
10 %gep = getelementptr inbounds %struct.Moves addrspace(1)* %moves, i32 1, i32 0, i32 9
11 …call void @llvm.memset.p1i8.i64(i8 addrspace(1)* %gep, i8 0, i64 8, i32 1, i1 false) …
D2009-01-16-PointerAddrSpace.ll1 ; RUN: opt < %s -instcombine -S | grep "store.*addrspace(1)"
8 %Q = bitcast i32* %P to i32 addrspace(1)*
9 store i32 0, i32 addrspace(1)* %Q, align 4
Dgep-addrspace.ll9 define void @func(%myStruct addrspace(1)* nocapture %p) nounwind {
11 %A = getelementptr inbounds %myStruct addrspace(1)* %p, i64 0
12 %B = bitcast %myStruct addrspace(1)* %A to %myStruct*
/external/llvm/test/Transforms/CorrelatedValuePropagation/
Dnon-null.ll80 declare void @llvm.memcpy.p1i8.p1i8.i32(i8 addrspace(1) *, i8 addrspace(1) *, i32, i32, i1)
81 define void @test8(i8 addrspace(1) * %dest, i8 addrspace(1) * %src) {
83 …call void @llvm.memcpy.p1i8.p1i8.i32(i8 addrspace(1) * %dest, i8 addrspace(1) * %src, i32 1, i32 1…
86 %KEEP1 = icmp ne i8 addrspace(1) * %dest, null
88 %KEEP2 = icmp ne i8 addrspace(1) * %src, null
/external/llvm/test/Transforms/ConstantMerge/
Ddont-merge.ll21 @T2b = internal addrspace(30) constant i32 224
26 define void @test2(i32** %P1, i32 addrspace(30)** %P2) {
28 store i32 addrspace(30)* @T2b, i32 addrspace(30)** %P2
/external/llvm/test/Linker/
D2008-06-26-AddressSpace.ll5 ; RUN: llvm-link %t.foo2.bc %t.foo1.bc -S | grep "addrspace(2)"
6 ; RUN: llvm-link %t.foo1.bc %t.foo2.bc -S | grep "addrspace(2)"
9 @G = addrspace(2) global i32 256

123