Home
last modified time | relevance | path

Searched refs:MyStruct (Results 1 – 22 of 22) sorted by relevance

/external/clang/test/Analysis/
Dinitializer.cpp153 struct MyStruct { struct
154 MyStruct(int i);
155 MyStruct(OtherStruct os);
161 const MyStruct &myStruct(5); in referenceInitializeLocal()
166 const MyStruct &myStruct1(5), myStruct2(5), &myStruct3(5); in referenceInitializeMultipleLocals()
173 const MyStruct &myStruct(OtherStruct(5)); in referenceInitializeLocalWithCleanup()
178 const MyStruct &ms; // expected-note {{reference member declared here}}
179 const MyStruct &msWithCleanups; // expected-note {{reference member declared here}}
/external/llvm/test/CodeGen/NVPTX/
Dglobals_lowering.ll3 %MyStruct = type { i32, i32, float }
4 @Gbl = internal addrspace(3) global [1024 x %MyStruct] zeroinitializer
10 …d float, float addrspace(3)* getelementptr inbounds ([1024 x %MyStruct], [1024 x %MyStruct] addrsp…
13 …at %add, float addrspace(3)* getelementptr inbounds ([1024 x %MyStruct], [1024 x %MyStruct] addrsp…
/external/clang/test/CodeGenObjCXX/
Dproperty-reference.mm4 struct MyStruct { struct
11 MyStruct _foo; argument
14 @property (assign, readwrite) const MyStruct& foo;
16 - (const MyStruct&) foo;
17 - (void) setFoo:(const MyStruct&)inFoo; argument
22 MyStruct myStruct;
26 const MyStruct& currentMyStruct = myClass.foo;
29 // CHECK: [[C:%.*]] = call dereferenceable({{[0-9]+}}) %struct.MyStruct* bitcast (i8* (i8*, i8*, ..…
30 // CHECK: store %struct.MyStruct* [[C]], %struct.MyStruct** [[D:%.*]]
/external/llvm/test/Transforms/GVN/
Dpre-new-inst.ll3 %MyStruct = type { i32, i32 }
5 %addr = alloca %MyStruct
14 %addr64 = bitcast %MyStruct* %addr to i64*
19 %addr32 = getelementptr %MyStruct, %MyStruct* %addr, i32 0, i32 0
/external/eigen/test/eigen2/
Deigen2_dynalloc.cpp67 struct MyStruct struct
108 MyStruct foo0; VERIFY(std::size_t(foo0.avec.data())%ALIGNMENT==0); in test_eigen2_dynalloc()
115 MyStruct *foo0 = new MyStruct(); VERIFY(std::size_t(foo0->avec.data())%ALIGNMENT==0); in test_eigen2_dynalloc()
125 MyStruct *foo0 = new MyStruct[N]; VERIFY(std::size_t(foo0->avec.data())%ALIGNMENT==0); in test_eigen2_dynalloc()
/external/eigen/test/
Ddynalloc.cpp67 struct MyStruct struct
110 MyStruct foo0; VERIFY(size_t(foo0.avec.data())%ALIGNMENT==0); in test_dynalloc()
117 MyStruct *foo0 = new MyStruct(); VERIFY(size_t(foo0->avec.data())%ALIGNMENT==0); in test_dynalloc()
127 MyStruct *foo0 = new MyStruct[N]; VERIFY(size_t(foo0->avec.data())%ALIGNMENT==0); in test_dynalloc()
/external/compiler-rt/test/BlocksRuntime/
Djosh.C11 struct MyStruct { struct
19 MyStruct first; // works in test() argument
22 MyStruct inner; // fails to compile! in test()
Dobjectassign.c36 struct MyStruct { struct
41 typedef struct MyStruct *__attribute__((NSObject)) MyStruct_t; argument
49 struct MyStruct X; in main()
DobjectRRGC.c37 struct MyStruct { struct
42 typedef struct MyStruct *__attribute__((NSObject)) MyStruct_t; argument
46 struct MyStruct X; in main()
/external/clang/test/CodeGen/
Daddress-space.c33 } MyStruct; typedef
38 void test4(MyStruct __attribute__((address_space(2))) *pPtr) { in test4()
39 MyStruct s = pPtr[0]; in test4()
D2007-04-05-UnPackedStruct.c9 struct MyStruct { struct
15 struct MyStruct MS = { tB, 0 }; in bar() argument
D2007-04-05-PackedStruct.c10 struct MyStruct { struct
17 struct MyStruct MS = { tB, 0 }; in bar() argument
/external/clang/test/SemaCXX/
Dwarn-unused-local-typedef.cpp230 struct MyStruct { }; in placement_new_and_delete() struct
231 char memory[sizeof(MyStruct)]; in placement_new_and_delete()
234 typedef MyStruct A_t1; in placement_new_and_delete()
235 MyStruct *a = new (p) A_t1(); in placement_new_and_delete()
237 typedef MyStruct A_t2; in placement_new_and_delete()
Dwarn-thread-safety-analysis.cpp4689 struct MyStruct { struct in RangeBasedForAndReferences::Foo
4696 MyStruct s GUARDED_BY(mu);
4719 MyStruct &rs = s; in ref_test()
/external/clang/test/CodeGenCUDA/
Daddress-spaces.cu17 struct MyStruct { struct
55 __shared__ MyStruct a; in func0()
56 MyStruct *ap = &a; // composite type in func0()
/external/v8/tools/gyp/test/mac/xcode-gcc/
Dwarn_about_invalid_offsetof_macro.cc7 struct MyStruct { struct
13 unsigned x = offsetof(MyStruct, my_member); in main() argument
/external/llvm/test/Instrumentation/MemorySanitizer/
Darray_types.ll54 %MyStruct = type { i32, i32, [3 x i32] }
56 define i32 @ArrayInStruct(%MyStruct %s) sanitize_memory {
57 %x = extractvalue %MyStruct %s, 2, 1
/external/clang/test/Index/Inputs/
Dfoo.h6 struct MyStruct { struct
Dt2.c9 struct MyStruct *ms; in bar_func()
Dt1.c24 struct MyStruct ms; in field_test()
/external/clang/test/Index/
Dusrs.m18 } MyStruct; typedef
119 // CHECK: usrs.m c:@SA@MyStruct Extent=[15:9 - 18:2]
120 // CHECK: usrs.m c:@SA@MyStruct@FI@wa Extent=[16:3 - 16:9]
121 // CHECK: usrs.m c:@SA@MyStruct@FI@moo Extent=[17:3 - 17:10]
122 // CHECK: usrs.m c:usrs.m@T@MyStruct Extent=[15:1 - 18:11]
194 // CHECK-source: usrs.m:18:3: TypedefDecl=MyStruct:18:3 (Definition) Extent=[15:1 - 18:11]
/external/llvm/docs/
DGetElementPtr.rst147 %MyStruct = uninitialized global { float*, i32 }
149 %idx = getelementptr { float*, i32 }, { float*, i32 }* %MyStruct, i64 0, i32 1
152 structure ``%MyStruct``. When people first look at it, they wonder why the ``i64
157 #. The type of ``%MyStruct`` is *not* ``{ float*, i32 }`` but rather ``{ float*,
158 i32 }*``. That is, ``%MyStruct`` is a pointer to a structure containing a
162 instruction (``%MyStruct``) which is ``{ float*, i32 }*``.
165 ``%MyStruct``. Since the first argument to the GEP instruction must always