Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 909) sorted by relevance

12345678910>>...37

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dself-comparison.cpp46 int field; member
49 return field == field; // expected-warning {{self-comparison always evaluates to true}} in test()
55 return field == b.field; in test()
56 return this->field == b.field; in test()
67 int field; member
73 int field; member
80 return s1.field == s1.field; // expected-warning {{self-comparison always evaluates to true}} in struct_test()
81 return s2.field == s2.field; // expected-warning {{self-comparison always evaluates to true}} in struct_test()
95 return t.field == t.field; // expected-warning {{self-comparison always evaluates to true}} in struct_test()
96 return t.field <= t.field; // expected-warning {{self-comparison always evaluates to true}} in struct_test()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInstrFormats.td17 field bit SALU = 0;
18 field bit VALU = 0;
21 field bit SOP1 = 0;
22 field bit SOP2 = 0;
23 field bit SOPC = 0;
24 field bit SOPK = 0;
25 field bit SOPP = 0;
28 field bit VOP1 = 0;
35 field bit DPP = 0;
43 field bit EXP = 0;
[all …]
/llvm-project-15.0.7/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
H A Dneg_format.pass.cpp62 assert(p.field[0] == std::money_base::symbol); in main()
63 assert(p.field[1] == std::money_base::sign); in main()
64 assert(p.field[2] == std::money_base::none); in main()
65 assert(p.field[3] == std::money_base::value); in main()
71 assert(p.field[1] == std::money_base::sign); in main()
72 assert(p.field[2] == std::money_base::none); in main()
73 assert(p.field[3] == std::money_base::value); in main()
80 assert(p.field[1] == std::money_base::sign); in main()
81 assert(p.field[2] == std::money_base::none); in main()
88 assert(p.field[1] == std::money_base::sign); in main()
[all …]
H A Dpos_format.pass.cpp62 assert(p.field[0] == std::money_base::symbol); in main()
63 assert(p.field[1] == std::money_base::sign); in main()
64 assert(p.field[2] == std::money_base::none); in main()
65 assert(p.field[3] == std::money_base::value); in main()
71 assert(p.field[1] == std::money_base::sign); in main()
72 assert(p.field[2] == std::money_base::none); in main()
73 assert(p.field[3] == std::money_base::value); in main()
80 assert(p.field[1] == std::money_base::sign); in main()
81 assert(p.field[2] == std::money_base::none); in main()
88 assert(p.field[1] == std::money_base::sign); in main()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Darray-struct-region.cpp29 int field; member
61 if (s.field != 42) return; in testAssignment()
64 s.field = 0; in testAssignment()
82 int x = getS().field; in testImmediateUse()
99 if (s.field != 42) return 42; in getConstrainedField()
100 return s.field; in getConstrainedField()
104 s.field = 42; in getAssignedField()
105 return s.field; in getAssignedField()
114 int x = ((getS())).field; in testImmediateUseParens()
138 if (s.field != 42) return; in testReferenceAssignment()
[all …]
H A Dsymbol-reaper.c59 int field; member
65 void *field; member
75 s2.array[x].field = 1; in test_element_index_lifetime_with_complicated_hierarchy_of_regions()
85 x = (int)&(s->field); in test_loc_as_integer_element_index_lifetime()
105 int *x = &s->field; in produce_region_referenced_only_through_field_in_environment_value()
116 ptr = &s->field; // Write the symbol into a global. It should live forever. in test_region_referenced_only_through_field_in_store_value()
134 int *x = &s->field; in test_zombie_referenced_only_through_field_in_store_value()
/llvm-project-15.0.7/polly/lib/External/isl/include/isl/
H A Dctx.h188 int prefix ## _get_ ## field(isl_ctx *ctx) \
196 return options->field; \
208 options->field = val; \
221 return options->field; \
235 free(options->field); \
236 options->field = strdup(val); \
237 if (!options->field) \
243 ISL_CTX_GET_INT_DEF(prefix,st,args,field)
246 ISL_CTX_SET_INT_DEF(prefix,st,args,field)
249 ISL_CTX_GET_INT_DEF(prefix,st,args,field)
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/
H A Dpdb-resolve-forward-refs.test9 ; CHECK: vtable: <no type>, base list: <no type>, field list: 0x1007
13 ; CHECK: vtable: <no type>, base list: <no type>, field list: 0x1007
17 ; CHECK: vtable: <no type>, base list: <no type>, field list: <no type>
21 ; CHECK: vtable: <no type>, base list: <no type>, field list: 0x1055
25 ; CHECK: vtable: <no type>, base list: <no type>, field list: 0x1007
33 ; CHECK: vtable: <no type>, base list: <no type>, field list: 0x105B
37 ; CHECK: vtable: <no type>, base list: <no type>, field list: 0x1007
41 ; CHECK: field list: 0x1007
49 ; CHECK: vtable: <no type>, base list: <no type>, field list: 0x1063
53 ; CHECK: field list: 0x1065, underlying type: 0x0074 (int)
[all …]
/llvm-project-15.0.7/flang/test/Semantics/
H A Dresolve105.f909 procedure (real(kindParam)), pointer, nopass :: field => null() method
15 procedure (real(kindParam)), pointer, nopass :: field => null() method
19 procedure (type(base(kindParam))), pointer, nopass :: field => null() method
27 procedure (real(kindParam)), pointer, nopass :: field => null() method
37 integer :: field component
42 if (associated(arg%field)) stop 'fail'
47 if (associated(arg%field)) stop 'fail'
52 if (associated(arg%field)) stop 'fail'
57 if (associated(local%field)) stop 'fail'
H A Dresolve88.f9028 real, allocatable, codimension[:] :: field component
32 type(team_type), allocatable :: field component
36 type(c_ptr), allocatable :: field component
40 type(c_funptr), allocatable :: field component
45 type(team_type), allocatable, codimension[:] :: field component
50 type(c_ptr), allocatable, codimension[:] :: field component
55 type(c_funptr), allocatable, codimension[:] :: field component
/llvm-project-15.0.7/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/
H A Dneg_format.pass.cpp67 assert(p.field[1] == std::money_base::sign); in assert_symbol_sign_none_value()
68 assert(p.field[2] == std::money_base::none); in assert_symbol_sign_none_value()
69 assert(p.field[3] == std::money_base::value); in assert_symbol_sign_none_value()
74 assert(p.field[0] == std::money_base::sign); in assert_sign_symbol_none_value()
76 assert(p.field[2] == std::money_base::none); in assert_sign_symbol_none_value()
77 assert(p.field[3] == std::money_base::value); in assert_sign_symbol_none_value()
82 assert(p.field[0] == std::money_base::value); in assert_value_none_symbol_sign()
83 assert(p.field[1] == std::money_base::none); in assert_value_none_symbol_sign()
85 assert(p.field[3] == std::money_base::sign); in assert_value_none_symbol_sign()
90 assert(p.field[0] == std::money_base::sign); in assert_sign_value_none_symbol()
[all …]
H A Dpos_format.pass.cpp67 assert(p.field[1] == std::money_base::sign); in assert_symbol_sign_none_value()
68 assert(p.field[2] == std::money_base::none); in assert_symbol_sign_none_value()
69 assert(p.field[3] == std::money_base::value); in assert_symbol_sign_none_value()
74 assert(p.field[0] == std::money_base::sign); in assert_sign_symbol_none_value()
76 assert(p.field[2] == std::money_base::none); in assert_sign_symbol_none_value()
77 assert(p.field[3] == std::money_base::value); in assert_sign_symbol_none_value()
82 assert(p.field[0] == std::money_base::value); in assert_value_none_symbol_sign()
83 assert(p.field[1] == std::money_base::none); in assert_value_none_symbol_sign()
85 assert(p.field[3] == std::money_base::sign); in assert_value_none_symbol_sign()
90 assert(p.field[0] == std::money_base::sign); in assert_sign_value_none_symbol()
[all …]
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dinvalid-kernel-parameters.cl61 struct SizeTStruct { // expected-note{{within field of type 'SizeTStruct' declared here}}
66 union SizeTUnion { // expected-note{{within field of type 'SizeTUnion' declared here}}
83 bool x; // expected-note{{field of illegal type 'bool' declared here}}
95 …field of illegal type '__read_only image2d_t' declared here}} expected-error{{the '__read_only ima…
100 typedef struct Foo // expected-note{{within field of type 'Foo' declared here}}
107 typedef union FooUnion // expected-note{{within field of type 'FooUnion' declared here}}
147 bool boolField; // expected-note 2 {{field of illegal type 'bool' declared here}}
160 bool boolField; // expected-note{{field of illegal type 'bool' declared here}}
192 struct AlsoUser // expected-note{{within field of type 'AlsoUser' declared here}}
202 struct ArrayOfPtr // expected-note{{within field of type 'ArrayOfPtr' declared here}}
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A DBitOffsetDecoder.td20 field bits<16> Inst;
25 field bits<16> SoftFail = 0;
30 field bits<16> Inst;
35 field bits<16> SoftFail = 0;
40 field bits<16> Inst;
45 field bits<16> SoftFail = 0;
50 field bits<16> Inst;
55 field bits<16> SoftFail = 0;
H A DBigEncoder.td20 field bits<65> Inst;
25 field bits<16> SoftFail = 0;
30 field bits<65> Inst;
35 field bits<16> SoftFail = 0;
40 field bits<65> Inst;
45 field bits<16> SoftFail = 0;
H A Dget-operand-type.td25 field bits<8> Inst;
26 field bits<8> SoftFail = 0;
34 field bits<8> Inst;
35 field bits<8> SoftFail = 0;
43 field bits<8> Inst;
44 field bits<8> SoftFail = 0;
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-using-decl.cpp111 int field; member
115 using Base<Scalar>::field;
119 (void)field; in m_fn1()
121 (void)&field; in m_fn1()
128 (void)&Base<Scalar>::field; in m_fn1()
133 enum { TheSize = sizeof(field) };
134 typedef decltype(field) U;
137 enum { TheSize = sizeof(field) };
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dskip-vtable-pointer-initialization.cpp49 Field field; member
75 Field field; member
99 Field field; member
127 Field field; member
153 Field field; member
179 Field field; member
/llvm-project-15.0.7/clang/tools/clang-fuzzer/corpus_examples/objc/
H A DClassCategory.m5 @property(atomic, assign, readonly) int field; property
9 @property(atomic, assign, readwrite) int field; property
16 self.field = self.field + 1;
17 return self.field;
/llvm-project-15.0.7/lldb/test/API/python_api/type/
H A DTestTypeList.py68 for field in type.fields:
69 if field.name == "type":
70 for enum_member in field.type.enum_members:
73 elif field.name == "my_type_is_nameless":
75 field.type.IsAnonymousType(),
77 self.assertTrue(field.type.IsAggregateType())
78 elif field.name == "my_type_is_named":
80 field.type.IsAnonymousType(),
82 self.assertTrue(field.type.IsAggregateType())
83 elif field.name == None:
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-ml/
H A Dstruct_errors.asm10 ; CHECK: error: Initializer too long for field; expected at most 2 elements, got 3
13 ; CHECK: error: Cannot initialize array field with scalar value
16 ; CHECK: error: Cannot initialize scalar field with array value
24 ; CHECK: error: Initializer too long for field; expected at most 3 elements, got 4
27 ; CHECK: error: Cannot initialize array field with scalar value
30 ; CHECK: error: Cannot initialize scalar field with array value
42 ; CHECK: error: Initializer too long for field; expected at most 4 elements, got 5
/llvm-project-15.0.7/llvm/test/TableGen/FixedLenDecoderEmitter/
H A DInitValue.td15 field bits<16> Inst;
16 field bits<16> SoftFail = 0;
24 field bits<16> Inst;
25 field bits<16> SoftFail = 0;
33 field bits<16> Inst;
34 field bits<16> SoftFail = 0;
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/Windows/
H A Dwineh-basic.ll3 ; CHECK: "??1field@@AAA@XZ":
7 ; class field { ~field(); };
9 ; field::~field() { free((void *)0); }
16 %class.field = type { i8 }
19 define arm_aapcs_vfpcc void @"\01??1field@@AAA@XZ"(%class.field* nocapture readnone %this) unnamed_…
/llvm-project-15.0.7/flang/test/Evaluate/
H A Dfolding25.f905 integer, parameter :: field(2,3) = reshape([(-j,j=1,6)], shape(field)) variable
6 …parameter :: mask(*,*) = reshape([.false., .true., .true., .false., .false., .true.], shape(field))
8 …logical, parameter :: test_unpack_2 = all(unpack(vector, mask, field) == reshape([-1,1,2,-4,-5,3],…
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dinsert-basic.ll38 %bf.field.offs = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 4
39 %4 = bitcast i8* %bf.field.offs to i32*
45 %bf.field.offs3 = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 8
46 %8 = bitcast i8* %bf.field.offs3 to i32*
52 %bf.field.offs5 = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 12
53 %12 = bitcast i8* %bf.field.offs5 to i32*
59 %bf.field.offs7 = getelementptr %struct.structx_t, %struct.structx_t* %px, i32 0, i32 0, i32 16
60 %16 = bitcast i8* %bf.field.offs7 to i32*

12345678910>>...37