/external/llvm/test/Assembler/ |
2007-12-11-AddressSpaces.ll | 1 ; 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 addrspace(42)*> [#uses=1] 9 @output = addrspace(66) global %struct.mystruct zeroinitializer ; <%struct.mystruct addrspace(66)*> [#uses=1 [all...] |
/external/llvm/test/CodeGen/XCore/ |
resources.ll | 3 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...] |
threads.ll | 3 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) [all...] |
events.ll | 3 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/X86/ |
2010-06-14-fast-isel-fs-load.ll | 3 define i32 @test1(i32 addrspace(257)* %arg) nounwind { 4 %tmp = load i32 addrspace(257)* %arg
|
movfs.ll | 5 %tmp = load i32* addrspace(257)* getelementptr (i32* addrspace(257)* inttoptr (i32 72 to i32* addrspace(257)*), i32 31) ; <i32*> [#uses=1]
|
scalar_widen_div.ll | 7 define void @vectorDiv (<2 x i32> addrspace(1)* %nsource, <2 x i32> addrspace(1)* %dsource, <2 x i32> addrspace(1)* %qdest) nounwind { 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.add [all...] |
movgs.ll | 7 %tmp = load i32* addrspace(256)* getelementptr (i32* addrspace(256)* inttoptr (i32 72 to i32* addrspace(256)*), i32 31) ; <i32*> [#uses=1] 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
|
/external/clang/test/CodeGen/ |
address-space-field1.c | 3 // CHECK:define void @test_addrspace(%struct.S addrspace(1)* %p1, %struct.S addrspace(2)* %p2) nounwind 4 // CHECK: [[p1addr:%.*]] = alloca %struct.S addrspace(1)* 5 // CHECK: [[p2addr:%.*]] = alloca %struct.S addrspace(2)* 6 // CHECK: store %struct.S addrspace(1)* %p1, %struct.S addrspace(1)** [[p1addr]] 7 // CHECK: store %struct.S addrspace(2)* %p2, %struct.S addrspace(2)** [[p2addr]] 8 // CHECK: [[t0:%.*]] = load %struct.S addrspace(2)** [[p2addr]], align 8 9 // CHECK: [[t1:%.*]] = getelementptr inbounds %struct.S addrspace(2)* [[t0]], i32 0, i32 [all...] |
address-space.c | 2 // RUN: %clang_cc1 -emit-llvm < %s | grep 'load.*addrspace(2).. @A' 3 // RUN: %clang_cc1 -emit-llvm < %s | grep 'load.*addrspace(2).. @B' 6 // CHECK: @foo = common addrspace(1) global 9 // CHECK: @ban = common addrspace(1) global 13 // CHECK: load i32 addrspace(1)* @foo 17 // CHECK: load i32 addrspace(1)* 21 // Both A and B point into addrspace(2). 25 // CHECK: load i32 addrspace(2)** @B 26 // CHECK: load i32 addrspace(2)* 27 // CHECK: load i32 addrspace(2)** @ [all...] |
address-space-compound-literal.c | 1 // RUN: %clang_cc1 -emit-llvm < %s | grep "internal addrspace(1) global i32 1"
|
/external/llvm/test/Transforms/GlobalOpt/ |
2008-07-17-addrspace.ll | 7 ; 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 [all...] |
/external/llvm/test/CodeGen/ARM/ |
fast-isel-crash.ll | 7 define internal void @stretch(<4 x i8> addrspace(1)* %src, <4 x i8> addrspace(1)* %dst, i32 %width, i32 %height, i32 %iLS, i32 %oLS, <2 x float> %c, <4 x float> %param) nounwind { 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 undef, i32 undef, i32 undef, <2 x float> undef, <4 x float> undef)
|
/external/clang/test/CodeGenOpenCL/ |
address-spaces.cl | 7 // 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
|
local.cl | 4 // CHECK: @foo.i = internal addrspace(2)
|
/external/llvm/test/Transforms/InstCombine/ |
2009-06-11-StoreAddrSpace.ll | 5 store i32 0, i32 addrspace(1)* null
|
memset2.ll | 7 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)
|
2009-01-16-PointerAddrSpace.ll | 1 ; 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
|
gep-addrspace.ll | 9 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/Linker/ |
2008-06-26-AddressSpace.ll | 5 ; 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
|
/external/llvm/test/Transforms/ScalarRepl/ |
address-space.ll | 10 ; 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 addrspace(2)*> [#uses=1] 18 %tmp2 = bitcast %struct.anon addrspace(2)* %arrayidx to i8 addrspace(2)* ; <i8 addrspace(2)*> [#uses=1] 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 addrspace(2)*> [#uses=1 [all...] |
/external/llvm/test/Transforms/ConstantMerge/ |
dont-merge.ll | 21 @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/Transforms/CorrelatedValuePropagation/ |
non-null.ll | 80 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, i1 false) 86 %KEEP1 = icmp ne i8 addrspace(1) * %dest, null 88 %KEEP2 = icmp ne i8 addrspace(1) * %src, null
|
/external/llvm/test/CodeGen/PTX/ |
ld.ll | 7 @array_constant_i16 = external addrspace(1) constant [10 x i16] 10 @array_shared_i16 = external addrspace(4) global [10 x i16] 16 @array_constant_i32 = external addrspace(1) constant [10 x i32] 19 @array_shared_i32 = external addrspace(4) global [10 x i32] 25 @array_constant_i64 = external addrspace(1) constant [10 x i64] 28 @array_shared_i64 = external addrspace(4) global [10 x i64] 34 @array_constant_float = external addrspace(1) constant [10 x float] 37 @array_shared_float = external addrspace(4) global [10 x float] 43 @array_constant_double = external addrspace(1) constant [10 x double] 46 @array_shared_double = external addrspace(4) global [10 x double [all...] |
/bionic/libc/kernel/arch-sh/asm/ |
io.h | 17 #include <asm/addrspace.h>
|