| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ |
| H A D | interleaved-acess-with-remarks.ll | 17 define void @atomicLoadsBothWriteAndReadMem(%MyStruct *%a, %MyStruct *%b, %MyStruct *%lim) { 22 %0 = phi %MyStruct* [ %a, %entry ], [ %ainc, %loop ] 24 %2 = getelementptr %MyStruct, %MyStruct* %1, i64 0, i32 0 26 %4 = getelementptr inbounds %MyStruct, %MyStruct* %0, i64 0, i32 0 28 %5 = getelementptr inbounds %MyStruct, %MyStruct* %1, i64 0, i32 1, i32 0, i32 0 30 %7 = getelementptr inbounds %MyStruct, %MyStruct* %0, i64 0, i32 1, i32 0, i32 0 32 %8 = getelementptr inbounds %MyStruct, %MyStruct* %1, i64 0, i32 2, i32 0 33 %9 = getelementptr inbounds %MyStruct, %MyStruct* %0, i64 0, i32 2, i32 0 36 %binc = getelementptr inbounds %MyStruct, %MyStruct* %1, i64 1 37 %ainc = getelementptr inbounds %MyStruct, %MyStruct* %0, i64 1 [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-missing-prototypes.c | 59 struct MyStruct {}; struct 61 const struct MyStruct get_struct() { // expected-warning{{no previous prototype for function 'get_s… in get_struct() 64 struct MyStruct ret; in get_struct() 71 const struct MyStruct get_struct_2() { // expected-warning{{no previous prototype for function 'g… in get_struct_2() 74 struct MyStruct ret; in get_struct_2() 79 const struct MyStruct* get_struct_ptr() { // expected-warning{{no previous prototype for function… in get_struct_ptr() 86 /*some randome comment*/const struct MyStruct* get_struct_3() { // expected-warning{{no previous … in get_struct_3() 93 const/*some randome comment*/ struct MyStruct* get_struct_4() { // expected-warning{{no previous p… in get_struct_4() 104 MY_CONST struct MyStruct *get_struct_nyi() { // expected-warning{{no previous prototype for functio… in get_struct_nyi()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/ |
| H A D | libcxx-shared-ptr-recursive.mm | 14 struct MyStruct { 16 ~MyStruct() { 17 fprintf(stderr, "~MyStruct\n"); 25 std::shared_ptr<MyStruct> shared(new MyStruct()); 33 // CHECK: ~MyStruct
|
| H A D | libcxx-shared-ptr.mm | 12 struct MyStruct { struct 16 ~MyStruct() { 26 std::shared_ptr<MyStruct> shared(new MyStruct()); argument 30 std::weak_ptr<MyStruct> weak(shared); 34 std::shared_ptr<MyStruct> strong = weak.lock();
|
| H A D | libcxx-shared-ptr-stress.mm | 16 struct MyStruct { struct 18 MyStruct() : self_counter(0) { } argument 26 virtual ~MyStruct() { 41 std::shared_ptr<MyStruct> shared(new MyStruct()); argument 42 std::weak_ptr<MyStruct> weak(shared); 46 std::shared_ptr<MyStruct> shared_copy(shared); 52 std::shared_ptr<MyStruct> weak_copy = weak.lock();
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | const-return-type.cpp | 41 struct MyStruct {}; struct 146 const MyStruct<0 < 1> p34() {} 150 MyStruct<0 < 1> const p35() {} 154 Klazz<MyStruct<0 < 1> const> const p36() {} 158 const Klazz<MyStruct<0 < 1> const> *const p37() {} 162 Klazz<const MyStruct<0 < 1>> const p38() {} 166 const Klazz<const MyStruct<0 < 1>> p39() {} 170 const Klazz<const MyStruct<(0 > 1)>> p40() {} in p40()
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | property-reference.mm | 4 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 …ll noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) %struct.MyStruct* bitcast (i8* (i8… 30 // CHECK: store %struct.MyStruct* [[C]], %struct.MyStruct** [[D:%.*]]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | globals_lowering.ll | 4 %MyStruct = type { i32, i32, float } 5 @Gbl = internal addrspace(3) global [1024 x %MyStruct] zeroinitializer 11 …d float, float addrspace(3)* getelementptr inbounds ([1024 x %MyStruct], [1024 x %MyStruct] addrsp… 14 …at %add, float addrspace(3)* getelementptr inbounds ([1024 x %MyStruct], [1024 x %MyStruct] addrsp…
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopDataPrefetch/AArch64/ |
| H A D | opt-remark.ll | 13 ; 1 struct MyStruct { 18 ; 6 int f(struct MyStruct *p, int N) { 28 %struct.MyStruct = type { i32, [2044 x i8] } 30 @my_struct = common global %struct.MyStruct* null, align 8 32 define i32 @f(%struct.MyStruct* nocapture readnone %p, i32 %N) !dbg !6 { 38 %0 = load %struct.MyStruct*, %struct.MyStruct** @my_struct, align 8, !dbg !10, !tbaa !11 48 …%field = getelementptr inbounds %struct.MyStruct, %struct.MyStruct* %0, i64 %indvars.iv, i32 0, !d… 79 !18 = !{!"MyStruct", !19, i64 0, !13, i64 4}
|
| H A D | opt-remark-with-hotness.ll | 15 ; 1 struct MyStruct { 20 ; 6 int f(struct MyStruct *p, int N) { 30 %struct.MyStruct = type { i32, [2044 x i8] } 32 @my_struct = common global %struct.MyStruct* null, align 8 34 define i32 @f(%struct.MyStruct* nocapture readnone %p, i32 %N) !dbg !6 !prof !21 { 40 %0 = load %struct.MyStruct*, %struct.MyStruct** @my_struct, align 8, !dbg !10, !tbaa !11 50 …%field = getelementptr inbounds %struct.MyStruct, %struct.MyStruct* %0, i64 %indvars.iv, i32 0, !d… 81 !18 = !{!"MyStruct", !19, i64 0, !13, i64 4}
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/fixits/ |
| H A D | main.cpp | 9 struct MyStruct struct 18 struct MyStruct my_struct = {10, {20, 30}}; in main() argument 19 struct MyStruct *my_pointer = &my_struct; in main() 20 struct MyStruct *null_pointer = nullptr; in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/GVN/ |
| H A D | pre-new-inst.ll | 3 %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
|
| /llvm-project-15.0.7/llvm/test/Transforms/NewGVN/ |
| H A D | pre-new-inst-xfail.ll | 4 %MyStruct = type { i32, i32 } 6 %addr = alloca %MyStruct 15 %addr64 = bitcast %MyStruct* %addr to i64* 20 %addr32 = getelementptr %MyStruct, %MyStruct* %addr, i32 0, i32 0
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/libdispatch/ |
| H A D | groups-destructor.cpp | 12 struct MyStruct { struct 13 virtual ~MyStruct() { in ~MyStruct() argument 26 std::shared_ptr<MyStruct> shared(new MyStruct()); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/ |
| H A D | nil-return-struct.mm | 6 struct MyStruct { struct 11 - (MyStruct)methodWhichReturnsARect; argument 14 - (MyStruct)methodWhichReturnsARect { 15 MyStruct s;
|
| /llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/ |
| H A D | josh.C | 10 struct MyStruct { struct 18 MyStruct first; // works in test() argument 21 MyStruct inner; // fails to compile! in test()
|
| H A D | objectassign.c | 35 struct MyStruct { struct 40 typedef struct MyStruct *__attribute__((NSObject)) MyStruct_t; argument 48 struct MyStruct X; in main()
|
| H A D | objectRRGC.c | 36 struct MyStruct { struct 41 typedef struct MyStruct *__attribute__((NSObject)) MyStruct_t; argument 45 struct MyStruct X; in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | redundant-expression.cpp | 161 struct MyStruct { struct 163 bool operator==(const MyStruct& rhs) const {return this->x == rhs.x; } // not modifing in operator ==() argument 164 bool operator>=(const MyStruct& rhs) const { return this->x >= rhs.x; } // not modifing in operator >=() argument 165 bool operator<=(MyStruct& rhs) const { return this->x <= rhs.x; } in operator <=() argument 166 bool operator&&(const MyStruct& rhs){ this->x++; return this->x && rhs.x; } in operator &&() argument 169 bool operator!=(const MyStruct& lhs, const MyStruct& rhs) { return lhs.x == rhs.x; } // not modifing in operator !=() 170 bool operator<(const MyStruct& lhs, const MyStruct& rhs) { return lhs.x < rhs.x; } // not modifing in operator <() 171 bool operator>(const MyStruct& lhs, MyStruct& rhs) { rhs.x--; return lhs.x > rhs.x; } in operator >() 172 bool operator||(MyStruct& lhs, const MyStruct& rhs) { lhs.x++; return lhs.x || rhs.x; } in operator ||() 183 bool TestOverloadedOperator(MyStruct& S) { in TestOverloadedOperator()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | address-space.c | 39 } MyStruct; typedef 44 void test4(MyStruct __attribute__((address_space(2))) *pPtr) { in test4() 45 MyStruct s = pPtr[0]; in test4()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | initializer.cpp | 168 struct MyStruct { struct 169 MyStruct(int i); 170 MyStruct(OtherStruct os); 176 const MyStruct &myStruct(5); in referenceInitializeLocal() 181 const MyStruct &myStruct1(5), myStruct2(5), &myStruct3(5); in referenceInitializeMultipleLocals() 188 const MyStruct &myStruct(OtherStruct(5)); in referenceInitializeLocalWithCleanup()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-unused-local-typedef.cpp | 230 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()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | coldcc2.ll | 3 %struct.MyStruct = type { i32, i32, i32, i32 } 5 @caller.s = internal unnamed_addr global %struct.MyStruct zeroinitializer, align 8 15 store i64 %0, i64* bitcast (%struct.MyStruct* @caller.s to i64*), align 8 16 …store i64 %1, i64* bitcast (i32* getelementptr inbounds (%struct.MyStruct, %struct.MyStruct* @call…
|
| /llvm-project-15.0.7/clang/test/CodeGenCUDA/ |
| H A D | address-spaces.cu | 18 struct MyStruct { struct 46 __shared__ MyStruct a; in func0() 47 MyStruct *ap = &a; // composite type in func0()
|
| /llvm-project-15.0.7/clang/test/ExtractAPI/ |
| H A D | typedef_anonymous_record.c | 17 typedef struct { } MyStruct; typedef 18 typedef MyStruct MyStructStruct;
|