Searched refs:address_space (Results 1 - 24 of 24) sorted by relevance

/external/clang/test/SemaCXX/
H A Daddress-space-initialize.cpp3 __attribute__((address_space(42)))
6 __attribute__((address_space(42)))
9 __attribute__((address_space(42)))
12 __attribute__((address_space(42)))
15 __attribute__((address_space(42)))
19 __attribute__((address_space(9999)))
20 int* as_ptr = nocv_iarray; // expected-error{{cannot initialize a variable of type '__attribute__((address_space(9999))) int *' with an lvalue of type '__attribute__((address_space(42))) int [10]'}}
23 __attribute__((address_space(42))) int* __attribute__((address_space(4
[all...]
H A Daddress-space-newdelete.cpp6 typedef int __attribute__((address_space(1))) int_1;
10 (void)new __attribute__((address_space(1))) int; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
12 (void)new __attribute__((address_space(1))) int [5]; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
16 (void)new (p) __attribute__((address_space(1))) int; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
18 (void)new (p) __attribute__((address_space(1))) int [5]; // expected-error{{'new' cannot allocate objects of type 'int' in address space '1'}}
H A Daddress-space-references.cpp3 typedef int __attribute__((address_space(1))) int_1;
4 typedef int __attribute__((address_space(2))) int_2;
7 // expected-note{{candidate function not viable: 1st argument ('int_2' (aka '__attribute__((address_space(2))) int')) is in address space 2, but parameter must be in address space 1}}
9 // expected-note{{candidate function not viable: 1st argument ('int_2' (aka '__attribute__((address_space(2))) int')) is in address space 2, but parameter must be in address space 1}}
H A Daddress-space-conversion.cpp10 typedef void __attribute__((address_space(1))) *void_ptr_1;
11 typedef void __attribute__((address_space(2))) *void_ptr_2;
14 typedef int __attribute__((address_space(1))) *int_ptr_1;
15 typedef int __attribute__((address_space(2))) *int_ptr_2;
18 typedef A __attribute__((address_space(1))) *A_ptr_1;
19 typedef A __attribute__((address_space(2))) *A_ptr_2;
22 typedef B __attribute__((address_space(1))) *B_ptr_1;
23 typedef B __attribute__((address_space(2))) *B_ptr_2;
28 const int __attribute__((address_space(1))) *cip1) {
134 const void __attribute__((address_space(
[all...]
H A Dvalue-dependent-exprs.cpp38 typedef int int_a0 __attribute__((address_space(1 + B)));
/external/clang/test/CodeGen/
H A Daddress-space-cast.c3 volatile unsigned char* const __attribute__((address_space(1))) serial_ctrl = 0x02;
H A Daddress-space-compound-literal.c3 typedef int a __attribute__((address_space(1)));
H A Daddress-space.c7 int foo __attribute__((address_space(1)));
10 int ban[10] __attribute__((address_space(1)));
22 __attribute__((address_space(2))) int *A, *B;
41 void test4(MyStruct __attribute__((address_space(2))) *pPtr) {
H A Daddress-space-field1.c26 #define __addr1 __attribute__((address_space(1)))
27 #define __addr2 __attribute__((address_space(2)))
H A Datomic.c105 void addrspace(int __attribute__((address_space(256))) * P) {
H A Dcatch-undef-behavior.c99 int addr_space(int __attribute__((address_space(256))) *a) {
/external/clang/test/CodeGenCXX/
H A Dmangle-address-space.cpp6 void f0(char __attribute__((address_space(1))) *p) { }
9 typedef OpaqueType __attribute__((address_space(100))) * OpaqueTypePtr;
H A Dmangle.cpp877 void ASfunc(__attribute__((address_space(3))) int* x) {}
/external/clang/test/Sema/
H A Daddress_spaces.c3 #define _AS1 __attribute__((address_space(1)))
4 #define _AS2 __attribute__((address_space(2)))
5 #define _AS3 __attribute__((address_space(3)))
22 __attribute__((address_space(-1))) int *_boundsA; // expected-error {{address space is negative}}
23 __attribute__((address_space(0xFFFFFF))) int *_boundsB;
24 __attribute__((address_space(0x1000000))) int *_boundsC; // expected-error {{address space is larger than the maximum supported}}
26 __attribute__((address_space(4294967500))) int *_boundsD; // expected-error {{address space is larger than the maximum supported}}
33 } s __attribute ((address_space(1))) = {1, 1};
37 __attribute__((address_space(256))) void * * const base = 0;
39 return base[0]; // expected-error {{returning '__attribute__((address_space(25
[all...]
H A Dconditional-expr.c74 int __attribute__((address_space(2))) *adr2;
75 int __attribute__((address_space(3))) *adr3;
/external/clang/test/SemaTemplate/
H A Daddress-spaces.cpp13 typedef int __attribute__((address_space(1))) int_1;;
14 typedef int __attribute__((address_space(2))) int_2;;
15 typedef int __attribute__((address_space(1))) *int_1_ptr;
41 struct is_pointer_in_address_space_1<T __attribute__((address_space(1))) *> {
53 T *x = 1; // expected-error{{cannot initialize a variable of type '__attribute__((address_space(1))) int *' with an rvalue of type 'int'}} \
54 // expected-error{{cannot initialize a variable of type '__attribute__((address_space(3))) int *' with an rvalue of type 'int'}}
58 static __attribute__((address_space(3))) int array[17];
66 identity<T> accept_arg_in_address_space_1(__attribute__((address_space(1))) T &ir1);
72 static int __attribute__((address_space(1))) int_1;
74 identity<int __attribute__((address_space(
[all...]
/external/clang/test/PCH/
H A Dtypes.h4 typedef __attribute__((address_space(1))) int ASInt;
H A Dtypes.c11 __attribute__((address_space(1))) int int_as_one;
/external/clang/test/Parser/
H A Datomic.c31 typedef _Atomic int __attribute__((address_space(1))) atomic_addr_space_int;
32 typedef _Atomic(int) __attribute__((address_space(1))) atomic_addr_space_int;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/llvm/
H A Dinvocation.cpp228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); local
229 switch (address_space) {
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
H A Dinvocation.cpp228 unsigned address_space = llvm::cast<llvm::PointerType>(arg_type)->getAddressSpace(); local
229 switch (address_space) {
/external/yaffs2/yaffs2/
H A Dyaffs_fs.c549 struct address_space *mapping = page->mapping;
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml378 external address_space : lltype -> int = "llvm_address_space"
H A Dllvm.mli625 (** [address_space pty] returns the address space qualifier of the pointer type
627 val address_space : lltype -> int var

Completed in 1678 milliseconds