| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
| H A D | narrowing-conversions-bitfields.cpp | 42 x.id & 1; in test_binary_and() 43 x.id & 1u; in test_binary_and() 45 1 & x.id; in test_binary_and() 46 1u & x.id; in test_binary_and() 53 x.id | 1; in test_binary_or() 54 x.id | 1u; in test_binary_or() 56 1 | x.id; in test_binary_or() 57 1u | x.id; in test_binary_or() 119 x.id + 1; in test() 126 1 + x.id; in test() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | objc-weak-type-traits.mm | 122 TRAIT_IS_TRUE_2(__is_trivially_assignable, __strong id&, __strong id); 123 TRAIT_IS_TRUE_2(__is_trivially_assignable, __strong id&, __weak id); 126 TRAIT_IS_TRUE_2(__is_trivially_assignable, __strong id&, __strong id&&); 127 TRAIT_IS_TRUE_2(__is_trivially_assignable, __strong id&, __weak id&&); 130 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __strong id); 131 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __weak id); 134 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __strong id&&); 135 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __weak id&&); 171 TRAIT_IS_TRUE_2(__is_trivially_constructible, __strong id, __weak id); 178 TRAIT_IS_FALSE_2(__is_trivially_constructible, __weak id, __strong id); [all …]
|
| H A D | arc-type-traits.mm | 126 TRAIT_IS_FALSE_2(__is_trivially_assignable, __strong id&, __strong id); 127 TRAIT_IS_FALSE_2(__is_trivially_assignable, __strong id&, __weak id); 131 TRAIT_IS_FALSE_2(__is_trivially_assignable, __strong id&, __weak id&&); 134 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __strong id); 135 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __weak id); 138 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __strong id&&); 139 TRAIT_IS_FALSE_2(__is_trivially_assignable, __weak id&, __weak id&&); 175 TRAIT_IS_FALSE_2(__is_trivially_constructible, __strong id, __weak id); 182 TRAIT_IS_FALSE_2(__is_trivially_constructible, __weak id, __strong id); 183 TRAIT_IS_FALSE_2(__is_trivially_constructible, __weak id, __weak id); [all …]
|
| H A D | arc-type-conversion.mm | 8 (void)(id)arg; 53 void test_const_cast(__strong id *sip, __weak id *wip, 136 void to_void(__strong id *sip, __weak id *wip, 171 __strong id *sip = (__strong id *)vp; 172 __weak id *wip = (__weak id *)vp; 176 __weak id *wip2 = static_cast<__weak id *>(vp); 184 __strong id **sipp = (__strong id **)vp; 185 __weak id **wipp = (__weak id **)vp; 205 __autoreleasing id *aip2 = static_cast<id *>(static_cast<__autoreleasing id *>(vp)); 207 __strong id *sip3 = reinterpret_cast<id *>(reinterpret_cast<__strong id *>(vp)); [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | shrink-vop3-carry-out.mir | 21 - { id: 0, class: sgpr_64 } 23 - { id: 2, class: sgpr_32 } 24 - { id: 3, class: vgpr_32 } 27 - { id: 6, class: sreg_32 } 28 - { id: 7, class: sreg_32 } 33 - { id: 12, class: sgpr_64 } 36 - { id: 15, class: sreg_64 } 38 - { id: 17, class: vgpr_32 } 39 - { id: 18, class: vreg_64 } 40 - { id: 19, class: vgpr_32 } [all …]
|
| H A D | fold-immediate-output-mods.mir | 10 - { id: 0, class: sgpr_64 } 12 - { id: 2, class: sgpr_32 } 13 - { id: 3, class: vgpr_32 } 17 - { id: 7, class: sreg_32 } 18 - { id: 8, class: sreg_32 } 20 - { id: 10, class: sreg_64 } 23 - { id: 13, class: sgpr_64 } 26 - { id: 16, class: sreg_64 } 29 - { id: 19, class: vgpr_32 } 30 - { id: 20, class: vreg_64 } [all …]
|
| H A D | clamp-omod-special-case.mir | 10 - { id: 0, class: sgpr_64 } 12 - { id: 2, class: sgpr_32 } 13 - { id: 3, class: vgpr_32 } 16 - { id: 6, class: sreg_32 } 17 - { id: 7, class: sreg_32 } 19 - { id: 9, class: sreg_64 } 22 - { id: 12, class: sgpr_64 } 25 - { id: 15, class: sreg_64 } 27 - { id: 17, class: vgpr_32 } 28 - { id: 18, class: vreg_64 } [all …]
|
| H A D | sdwa-scalar-ops.mir | 101 - { id: 0, class: sreg_64 } 102 - { id: 1, class: sreg_64 } 103 - { id: 2, class: vgpr_32 } 104 - { id: 3, class: sgpr_128 } 105 - { id: 4, class: sgpr_64 } 107 - { id: 6, class: sgpr_32 } 108 - { id: 7, class: sreg_64 } 109 - { id: 8, class: sreg_64 } 117 - { id: 16, class: sreg_64 } 118 - { id: 17, class: vgpr_32 } [all …]
|
| H A D | sdwa-peephole-instr-gfx10.mir | 26 - { id: 0, class: vreg_64 } 27 - { id: 1, class: vreg_64 } 28 - { id: 2, class: sreg_64 } 29 - { id: 3, class: vgpr_32 } 34 - { id: 8, class: sreg_32 } 35 - { id: 9, class: vgpr_32 } 36 - { id: 10, class: vgpr_32 } 37 - { id: 11, class: vgpr_32 } 38 - { id: 12, class: vgpr_32 } 39 - { id: 13, class: vgpr_32 } [all …]
|
| H A D | opt-sgpr-to-vgpr-copy.mir | 67 - { id: 0, class: sreg_64 } 68 - { id: 1, class: sreg_64 } 69 - { id: 2, class: vgpr_32 } 70 - { id: 3, class: sgpr_64 } 72 - { id: 5, class: sgpr_32 } 73 - { id: 6, class: sreg_64 } 76 - { id: 9, class: sreg_32 } 77 - { id: 10, class: sreg_64 } 84 - { id: 17, class: sreg_64 } 87 - { id: 20, class: sreg_64 } [all …]
|
| H A D | regcoal-subrange-join.mir | 22 - { id: 0, class: sreg_64 } 23 - { id: 1, class: vreg_128 } 24 - { id: 2, class: vreg_128 } 25 - { id: 3, class: vreg_128 } 29 - { id: 7, class: vreg_128 } 31 - { id: 9, class: vreg_128 } 32 - { id: 10, class: sgpr_32 } 33 - { id: 11, class: sgpr_32 } 34 - { id: 12, class: sgpr_32 } 35 - { id: 13, class: sgpr_32 } [all …]
|
| H A D | macro-fusion-cluster-vcc-uses.mir | 9 - { id: 0, class: vgpr_32 } 10 - { id: 1, class: vgpr_32 } 11 - { id: 2, class: vgpr_32 } 13 - { id: 4, class: vgpr_32 } 15 - { id: 6, class: vgpr_32 } 16 - { id: 7, class: vgpr_32 } 36 - { id: 0, class: vgpr_32 } 37 - { id: 1, class: vgpr_32 } 38 - { id: 2, class: vgpr_32 } 39 - { id: 3, class: vgpr_32 } [all …]
|
| H A D | regcoal-subrange-join-seg.mir | 18 - { id: 0, class: sgpr_128 } 19 - { id: 1, class: sgpr_128 } 20 - { id: 2, class: sgpr_128 } 21 - { id: 3, class: sgpr_128 } 22 - { id: 4, class: sgpr_128 } 23 - { id: 5, class: sgpr_128 } 24 - { id: 6, class: sgpr_128 } 25 - { id: 7, class: sgpr_128 } 26 - { id: 8, class: sgpr_128 } 29 - { id: 11, class: vgpr_32 } [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | RAbasic-invalid-LR-update.mir | 23 # CHECK: id: 114, class 29 - { id: 0, class: vr128bit } 30 - { id: 1, class: vr128bit } 31 - { id: 2, class: vr128bit } 32 - { id: 3, class: vr64bit } 33 - { id: 4, class: gr64bit } 34 - { id: 5, class: vr128bit } 35 - { id: 6, class: grx32bit } 36 - { id: 7, class: vr128bit } 38 - { id: 9, class: gr32bit } [all …]
|
| H A D | clear-liverange-spillreg.mir | 30 - { id: 2, class: grx32bit } 31 - { id: 3, class: grx32bit } 32 - { id: 4, class: gr32bit } 33 - { id: 5, class: gr32bit } 36 - { id: 8, class: gr64bit } 37 - { id: 9, class: grx32bit } 38 - { id: 10, class: gr32bit } 40 - { id: 12, class: gr32bit } 42 - { id: 14, class: gr32bit } 45 - { id: 17, class: gr32bit } [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_id.c | 33 return id ? id->ctx : NULL; in isl_id_get_ctx() 38 return id ? id->user : NULL; in isl_id_get_user() 43 return id ? id->name : NULL; in isl_id_get_name() 54 if (!id) in id_alloc() 65 id->hash = isl_hash_string(id->hash, name); in id_alloc() 67 id->hash = isl_hash_builtin(id->hash, user); in id_alloc() 77 return id ? id->hash : 0; in isl_id_get_hash() 131 if (!id) in isl_id_copy() 175 if (id) in isl_hash_id() 210 entry = isl_hash_table_find(id->ctx, &id->ctx->id_table, id->hash, in isl_id_free() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/unittests/ |
| H A D | GrammarTest.cpp | 67 AllOf(TargetID(id("_")), Sequence(id("IDENTIFIER"), id("+"), id("_"))); in TEST_F() 83 Sequence(id("CONST"), id("INT"), id(";")), in TEST_F() 174 Pair(id("_"), UnorderedElementsAre(id("IDENTIFIER"), id("("))), in TEST_F() 175 Pair(id("expr"), UnorderedElementsAre(id("IDENTIFIER"), id("("))), in TEST_F() 176 Pair(id("term"), UnorderedElementsAre(id("IDENTIFIER"), id("("))))); in TEST_F() 180 Pair(id("_"), UnorderedElementsAre(id("EOF"))), in TEST_F() 181 Pair(id("expr"), UnorderedElementsAre(id("-"), id("EOF"), id(")"))), in TEST_F() 182 Pair(id("term"), UnorderedElementsAre(id("-"), id("EOF"), id(")"))))); in TEST_F() 197 Pair(id("_"), UnorderedElementsAre(id("INLINE"), id("INT"))), in TEST_F() 209 UnorderedElementsAre(id("INLINE"), id("INT"), id("EOF"))), in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-instancetype.m | 10 + (id)alloc; 29 + (id)array; 30 + (id)arrayWithObject:(id)anObject; argument 32 + (id)arrayWithObjects:(id)firstObj, ...; argument 36 - (id)initWithObjects:(id)firstObj, ...; argument 44 + (id)arrayWithObject:(id)anObject { argument 48 + (id)arrayWithObjects:(id)firstObj, ... { argument 67 - (id)objectForKeyedSubscript:(id)key; argument 72 + (id)dictionaryWithObject:(id)object forKey:(id)key; argument 83 - (id)objectForKey:(id)aKey; argument [all …]
|
| H A D | objcmt-subscripting-literals-in-arc.m.result | 12 + (id)alloc; 32 + (id)array; 33 + (id)arrayWithObject:(id)anObject; 35 + (id)arrayWithObjects:(id)firstObj, ...; 39 - (id)initWithObjects:(id)firstObj, ...; 52 - (id)objectForKey:(id)aKey; 56 - (id)objectForKeyedSubscript:(id)key; 61 + (id)dictionaryWithObject:(id)object forKey:(id)key; 67 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 68 - (id)initWithObjectsAndKeys:(id)firstObject, ...; [all …]
|
| H A D | objcmt-subscripting-literals.m.result | 12 + (id)alloc; 33 + (id)arrayWithObject:(id)anObject; 35 + (id)arrayWithObjects:(id)firstObj, ...; 39 - (id)initWithObjects:(id)firstObj, ...; 52 - (id)objectForKey:(id)aKey; 56 - (id)objectForKeyedSubscript:(id)key; 61 + (id)dictionaryWithObject:(id)object forKey:(id)key; 68 - (id)initWithObjectsAndKeys:(id)firstObject, ...; 74 - (void)setObject:(id)anObject forKey:(id)aKey; 174 NSArray *arr = @[(id)globStr, (id)globStr]; [all …]
|
| H A D | objcmt-subscripting-literals-in-arc.m | 12 + (id)alloc; 32 + (id)array; 33 + (id)arrayWithObject:(id)anObject; argument 35 + (id)arrayWithObjects:(id)firstObj, ...; argument 39 - (id)initWithObjects:(id)firstObj, ...; argument 52 - (id)objectForKey:(id)aKey; argument 56 - (id)objectForKeyedSubscript:(id)key; argument 61 + (id)dictionaryWithObject:(id)object forKey:(id)key; argument 67 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; argument 68 - (id)initWithObjectsAndKeys:(id)firstObject, ...; argument [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | cocoa-api-usage.m | 11 + (id)alloc; 25 + (id)array; 26 + (id)arrayWithObject:(id)anObject; argument 28 + (id)arrayWithObjects:(id)firstObj, ...; argument 32 - (id)initWithObjects:(id)firstObj, ...; argument 44 - (id)objectForKeyedSubscript:(id)key; argument 49 + (id)dictionaryWithObject:(id)object forKey:(id)key; argument 55 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; argument 56 - (id)initWithObjectsAndKeys:(id)firstObject, ...; argument 60 - (id)objectForKey:(id)aKey; argument [all …]
|
| H A D | cocoa-api-usage.m.fixed | 11 + (id)alloc; 25 + (id)array; 26 + (id)arrayWithObject:(id)anObject; 28 + (id)arrayWithObjects:(id)firstObj, ...; 32 - (id)initWithObjects:(id)firstObj, ...; 44 - (id)objectForKeyedSubscript:(id)key; 49 + (id)dictionaryWithObject:(id)object forKey:(id)key; 55 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 56 - (id)initWithObjectsAndKeys:(id)firstObject, ...; 60 - (id)objectForKey:(id)aKey; [all …]
|
| H A D | mrc-weak.m | 6 @property (weak) id wb; 21 __weak id _wb; 23 id _ua; 26 id _sa; 52 __weak id *a = (__weak id*) value; 53 …id *b = (__weak id*) value; // expected-error {{initializing 'id *' with an expression of type '__… 54 …__weak id *c = (id*) value; // expected-error {{initializing '__weak id *' with an expression of t… 58 __unsafe_unretained id *a = (__unsafe_unretained id*) value; 59 id *b = (__unsafe_unretained id*) value; 60 __unsafe_unretained id *c = (id*) value; [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/GlobalISel/ |
| H A D | arm-regbankselect.mir | 117 - { id: 0, class: _ } 118 - { id: 1, class: _ } 119 - { id: 2, class: _ } 143 - { id: 0, class: _ } 144 - { id: 1, class: _ } 145 - { id: 2, class: _ } 169 - { id: 0, class: _ } 170 - { id: 1, class: _ } 171 - { id: 2, class: _ } 195 - { id: 0, class: _ } [all …]
|