Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 5460) sorted by relevance

12345678910>>...219

/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dattributes-3.3.ll214 ; CHECK: attributes #0 = { noreturn }
215 ; CHECK: attributes #1 = { nounwind }
216 ; CHECK: attributes #2 = { readnone }
217 ; CHECK: attributes #3 = { readonly }
218 ; CHECK: attributes #4 = { noinline }
220 ; CHECK: attributes #6 = { optsize }
221 ; CHECK: attributes #7 = { ssp }
222 ; CHECK: attributes #8 = { sspreq }
225 ; CHECK: attributes #11 = { naked }
229 ; CHECK: attributes #15 = { uwtable }
[all …]
H A Dattributes.ll538 ; CHECK: attributes #0 = { noreturn }
539 ; CHECK: attributes #1 = { nounwind }
540 ; CHECK: attributes #2 = { readnone }
544 ; CHECK: attributes #6 = { optsize }
545 ; CHECK: attributes #7 = { ssp }
546 ; CHECK: attributes #8 = { sspreq }
549 ; CHECK: attributes #11 = { naked }
575 ; CHECK: attributes #37 = { nofree }
576 ; CHECK: attributes #38 = { nosync }
581 ; CHECK: attributes #43 = { cold }
[all …]
H A Dupgrade-frame-pointer.ll1 ;; Test that function attributes "no-frame-pointer-elim" ("true" or "false") and
25 attributes #0 = { readnone "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" }
26 attributes #1 = { readnone "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" }
28 ;; Other attributes (e.g. readnone) are unaffected.
29 ; CHECK: attributes #0 = { "frame-pointer"="all" }
30 ; CHECK: attributes #1 = { readnone "frame-pointer"="all" }
31 ; CHECK: attributes #2 = { "frame-pointer"="non-leaf" }
32 ; CHECK: attributes #3 = { readnone "frame-pointer"="non-leaf" }
33 ; CHECK: attributes #4 = { "frame-pointer"="none" }
/llvm-project-15.0.7/llvm/test/Other/
H A Dopt-override-frame-pointer.ll31 ; ALL-DAG: attributes [[VARATTR]] = { nounwind "frame-pointer"="all" }
32 ; ALL-DAG: attributes [[NONE_ATTR]] = { nounwind "frame-pointer"="none" }
34 ; ALL-NOT: attributes
36 ; NONE-DAG: attributes [[VARATTR]] = { nounwind "frame-pointer"="none" }
37 ; NONE-DAG: attributes [[ALL_ATTR]] = { nounwind "frame-pointer"="all" }
39 ; NONE-NOT: attributes
44 ; NONLEAF-NOT: attributes
47 attributes #0 = { nounwind }
48 attributes #1 = { nounwind "frame-pointer"="all" }
49 attributes #2 = { nounwind "frame-pointer"="none" }
[all …]
H A Dopt-override-denormal-fp-math-mixed.ll27 ; ALL-DAG: attributes [[ATTR]] = { nounwind "denormal-fp-math"="preserve-sign,ieee" "denormal-fp-ma…
29 ; IEEE-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math"="ieee,ieee" }
30 ; PRESERVESIGN-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math"="preserve-sign,preserve-s…
31 ; POSITIVEZERO-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math"="positive-zero,positive-z…
33 ; IEEEF32-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math-f32"="ieee,ieee" }
34 ; PRESERVESIGNF32-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math-f32"="preserve-sign,pre…
35 ; POSITIVEZEROF32-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math-f32"="positive-zero,pos…
37 ; IEEE-BOTH-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math"="ieee,ieee" "denormal-fp-mat…
38 ; PRESERVESIGN-BOTH-DAG: attributes [[NOATTR]] = { nounwind "denormal-fp-math"="preserve-sign,prese…
41 attributes #0 = { nounwind }
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DFunctionInterfaces.h116 ArrayRef<NamedAttribute> attributes) { in setArgAttrs() argument
126 attributes ? attributes : DictionaryAttr::get(op->getContext())); in setArgAttrs()
134 NamedAttrList attributes(op.getArgAttrDict(index)); in setArgAttr()
135 Attribute oldValue = attributes.set(name, value); in setArgAttr()
147 NamedAttrList attributes(op.getArgAttrDict(index)); in removeArgAttr()
148 Attribute removedAttr = attributes.erase(name); in removeArgAttr()
172 DictionaryAttr attributes) { in setResultAttrs() argument
176 attributes ? attributes : DictionaryAttr::get(op->getContext())); in setResultAttrs()
184 NamedAttrList attributes(op.getResultAttrDict(index)); in setResultAttr()
185 Attribute oldAttr = attributes.set(name, value); in setResultAttr()
[all …]
H A DFunctionInterfaces.td144 state.attributes.append(attrs.begin(), attrs.end());
238 /// parameters they won't have any attributes.
416 /// Return all argument attributes of this function.
452 /// Set the attributes held by the argument at 'index'. `attributes` may be
465 void setAllArgAttrs(ArrayAttr attributes) {
507 /// Return all result attributes of this function.
543 /// Set the attributes held by the result at 'index'. `attributes` may be
549 assert(attributes.size() == $_op.getNumResults());
551 this->getOperation(), attributes);
556 this->getOperation(), attributes);
[all …]
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dop-python-bindings.td34 // CHECK: attributes=attributes, results=results, operands=operands,
78 // CHECK: attributes=attributes, results=results, operands=operands,
125 // CHECK: attributes=attributes, results=results, operands=operands,
167 // CHECK: attributes=attributes, results=results, operands=operands,
195 // CHECK: attributes=attributes, results=results, operands=operands,
236 // CHECK: attributes=attributes, results=results, operands=operands,
285 // CHECK: attributes=attributes, results=results, operands=operands,
319 // CHECK: attributes=attributes, results=results, operands=operands,
347 // CHECK: attributes=attributes, results=results, operands=operands,
376 // CHECK: attributes=attributes, results=results, operands=operands,
[all …]
H A Dattr-or-type-format.mlir3 func.func private @test_ugly_attr_cannot_be_pretty() -> () attributes {
10 func.func private @test_ugly_attr_no_mnemonic() -> () attributes {
17 func.func private @test_ugly_attr_parser_dispatch() -> () attributes {
24 func.func private @test_ugly_attr_missing_parameter() -> () attributes {
32 func.func private @test_ugly_attr_missing_literal() -> () attributes {
39 func.func private @test_pretty_attr_expects_less() -> () attributes {
54 func.func private @test_parse_invalid_param() -> () attributes {
70 func.func private @test_struct_missing_key() -> () attributes {
78 func.func private @test_struct_unknown_key() -> () attributes {
85 func.func private @test_struct_duplicate_key() -> () attributes {
[all …]
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dinvalid-immarg.ll3 ; CHECK: Attribute 'immarg' is incompatible with other attributes
6 ; CHECK: Attribute 'immarg' is incompatible with other attributes
9 ; CHECK: Attribute 'immarg' is incompatible with other attributes
12 ; CHECK: Attribute 'immarg' is incompatible with other attributes
15 ; CHECK: Attribute 'immarg' is incompatible with other attributes
18 ; CHECK: Attribute 'immarg' is incompatible with other attributes
21 ; CHECK: Attribute 'immarg' is incompatible with other attributes
24 ; CHECK: Attribute 'immarg' is incompatible with other attributes
27 ; CHECK: Attribute 'immarg' is incompatible with other attributes
30 ; CHECK: Attribute 'immarg' is incompatible with other attributes
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-reduce/
H A Dremove-global-variable-attributes.ll1 ; Test that llvm-reduce can remove uninteresting attributes.
13 ; CHECK-INTERESTINGNESS: attributes #0 = {
17 ; CHECK-INTERESTINGNESS-NEXT: attributes #1 = {
20 ; CHECK-FINAL: attributes #0 = { "attr0" "attr2" }
21 ; CHECK-FINAL-NEXT: attributes #1 = { "attr4" }
23 ; CHECK-FINAL-NOT: attributes #2
25 attributes #0 = { "attr0" "attr1" "attr2"}
26 attributes #1 = { "attr3" "attr4" "attr5"}
27 attributes #2 = { "attr6" "attr7" "attr8"}
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dproperty-10.m6 @property(readonly, readwrite) int p0; // expected-error {{property attributes 'readonly' and 'read…
13 @property(assign, copy) id p3_0; // expected-error {{property attributes 'assign' and 'copy' are mu…
14 @property(assign, retain) id p3_1; // expected-error {{property attributes 'assign' and 'retain' ar…
15 @property(assign, strong) id s3_1; // expected-error {{property attributes 'assign' and 'strong' ar…
16 @property(copy, retain) id p3_2; // expected-error {{property attributes 'copy' and 'retain' are mu…
17 @property(copy, strong) id s3_2; // expected-error {{property attributes 'copy' and 'strong' are mu…
18 … // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}}, expected-er…
19 … // expected-error {{property attributes 'assign' and 'copy' are mutually exclusive}}, expected-er…
21 @property(unsafe_unretained, copy) id p4_0; // expected-error {{property attributes 'unsafe_unretai…
24 …pected-error {{property attributes 'unsafe_unretained' and 'copy' are mutually exclusive}}, expect…
[all …]
/llvm-project-15.0.7/clang/test/utils/update_cc_test_checks/
H A Dcheck_attrs.test1 ## Test that CHECK lines are generated as expected without --check-attributes
2 # RUN: cp %S/Inputs/check-attributes.cpp %t.cpp && %update_cc_test_checks %t.cpp
3 # RUN: diff -u %S/Inputs/check-attributes.cpp.plain.expected %t.cpp
4 ## Test with --check-attributes flag.
5 # RUN: cp %S/Inputs/check-attributes.cpp %t.cpp && %update_cc_test_checks %t.cpp --check-attributes
6 # RUN: diff -u %S/Inputs/check-attributes.cpp.funcattrs.expected %t.cpp
9 # RUN: diff -u %S/Inputs/check-attributes.cpp.funcattrs.expected %t.cpp
/llvm-project-15.0.7/mlir/test/Conversion/GPUToSPIRV/
H A Dbuiltins.mlir3 module attributes {gpu.container_module} {
27 module attributes {gpu.container_module} {
53 module attributes {gpu.container_module} {
77 module attributes {gpu.container_module} {
102 module attributes {gpu.container_module} {
124 module attributes {gpu.container_module} {
146 module attributes {gpu.container_module} {
170 module attributes {gpu.container_module} {
194 module attributes {gpu.container_module} {
210 module attributes {gpu.container_module} {
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dtarget-and-abi.mlir4 func.func @unknown_attr_on_op() attributes {
30 func.func @spv_entry_point() attributes {
36 func.func @spv_entry_point() attributes {
44 func.func @spv_entry_point() attributes {
108 func.func @target_env() attributes {
121 func.func @target_env_vendor_id() attributes {
205 func.func @vce_wrong_type() attributes {
212 func.func @vce_missing_fields() attributes {
219 func.func @vce_wrong_version() attributes {
233 func.func @vce_wrong_extension() attributes {
[all …]
H A Dtarget-env.mlir6 // values for enum attributes may not make much sense for the test op.
99 func.func @subgroup_ballot_missing_capability(%predicate: i1) -> vector<4xi32> attributes {
108 func.func @bit_reverse_directly_implied_capability(%operand: i32) -> i32 attributes {
117 func.func @bit_reverse_recursively_implied_capability(%operand: i32) -> i32 attributes {
130 func.func @subgroup_ballot_suitable_extension(%predicate: i1) -> vector<4xi32> attributes {
139 func.func @subgroup_ballot_missing_extension(%predicate: i1) -> vector<4xi32> attributes {
148 func.func @module_suitable_extension1() attributes {
157 func.func @module_suitable_extension2() attributes {
166 func.func @module_missing_extension_mm() attributes {
175 func.func @module_missing_extension_am() attributes {
[all …]
/llvm-project-15.0.7/mlir/test/IR/
H A Dtest-symbol-rauw.mlir7 module attributes {sym.outside_use = @symbol_foo } {
9 func.func private @symbol_foo() attributes {sym.new_name = "replaced_foo" }
13 func.func @symbol_bar() attributes {sym.use = @symbol_foo} {
25 // CHECK: module attributes {test.reference = @replaced_foo}
26 module attributes {test.reference = @symbol_foo} {
42 func.func nested @foo() attributes {sym.new_name = "replaced_foo" }
46 module @module_b attributes {sym.new_name = "replaced_module_b"} {
48 module @module_c attributes {sym.new_name = "replaced_module_c"} {
50 func.func nested @foo() attributes {sym.new_name = "replaced_foo" }
71 func.func private @failed_repl() attributes {sym.new_name = "replaced_name" }
[all …]
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Damdgpu-attrs.cl164 // CHECK-DAG: attributes [[FLAT_WORK_GROUP_SIZE_32_64]] = {{.*}} "amdgpu-flat-work-group-size"="32,…
165 // CHECK-DAG: attributes [[FLAT_WORK_GROUP_SIZE_64_64]] = {{.*}} "amdgpu-flat-work-group-size"="64,…
166 // CHECK-DAG: attributes [[FLAT_WORK_GROUP_SIZE_16_128]] = {{.*}} "amdgpu-flat-work-group-size"="16…
168 // CHECK-DAG: attributes [[WAVES_PER_EU_2]] = {{.*}} "amdgpu-flat-work-group-size"="1,256" "amdgpu…
170 // CHECK-DAG: attributes [[WAVES_PER_EU_2_4]] = {{.*}} "amdgpu-flat-work-group-size"="1,256" "amdgp…
171 // CHECK-DAG: attributes [[NUM_SGPR_32]] = {{.*}} "amdgpu-flat-work-group-size"="1,256" "amdgpu-num…
172 // CHECK-DAG: attributes [[NUM_VGPR_64]] = {{.*}} "amdgpu-flat-work-group-size"="1,256" "amdgpu-num…
176 // CHECK-DAG: attributes [[FLAT_WORK_GROUP_SIZE_32_64_NUM_SGPR_32]] = {{.*}} "amdgpu-flat-work-grou…
177 // CHECK-DAG: attributes [[FLAT_WORK_GROUP_SIZE_32_64_NUM_VGPR_64]] = {{.*}} "amdgpu-flat-work-grou…
192 // CHECK-DAG: attributes [[A_FUNCTION]] = {{.*}}
[all …]
/llvm-project-15.0.7/mlir/python/mlir/dialects/
H A D_ml_program_ops_ext.py67 return FunctionType(TypeAttr(self.attributes["function_type"]).value)
71 return self.attributes["sym_visibility"]
75 return StringAttr(self.attributes["sym_name"])
96 return ArrayAttr(self.attributes[ARGUMENT_ATTRIBUTE_NAME])
101 self.attributes[ARGUMENT_ATTRIBUTE_NAME] = attribute
103 self.attributes[ARGUMENT_ATTRIBUTE_NAME] = ArrayAttr.get(
112 return self.attributes[RESULT_ATTRIBUTE_NAME]
116 self.attributes[RESULT_ATTRIBUTE_NAME] = attribute
/llvm-project-15.0.7/mlir/test/Conversion/GPUToCUDA/
H A Dlower-nvvm-kernel-to-cubin.mlir3 // CHECK: gpu.module @foo attributes {gpu.binary = "CUBIN"}
6 // CHECK: attributes {gpu.kernel}
7 attributes { gpu.kernel } {
12 // CHECK: gpu.module @bar attributes {gpu.binary = "CUBIN"}
16 attributes { gpu.kernel } {
22 attributes { gpu.kernel } {
/llvm-project-15.0.7/mlir/test/Conversion/GPUToROCm/
H A Dlower-rocdl-kernel-to-hsaco.mlir3 // CHECK: gpu.module @foo attributes {gpu.binary = "HSACO"}
6 // CHECK: attributes {gpu.kernel}
7 attributes { gpu.kernel } {
12 // CHECK: gpu.module @bar attributes {gpu.binary = "HSACO"}
16 attributes { gpu.kernel } {
22 attributes { gpu.kernel } {
/llvm-project-15.0.7/mlir/test/Dialect/OpenACC/
H A Dinvalid.mlir7 } attributes {seq}
15 } attributes {seq}
23 } attributes {seq}
31 } attributes {seq}
39 } attributes {seq}
47 } attributes {seq}
55 } attributes {seq}
68 } attributes {auto_, seq}
113 acc.wait async(%cst: index) attributes {async}
160 acc.exit_data attributes {async}
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dattr-unparseable.ll8 attributes #0 = {"amdgpu-num-sgpr"}
15 attributes #1 = {"amdgpu-num-sgpr"="k"}
22 attributes #2 = {"amdgpu-num-sgpr"="1,2"}
29 attributes #3 = {"amdgpu-flat-work-group-size"}
36 attributes #4 = {"amdgpu-flat-work-group-size"="k"}
43 attributes #5 = {"amdgpu-flat-work-group-size"="1"}
50 attributes #6 = {"amdgpu-flat-work-group-size"="1,k"}
57 attributes #7 = {"amdgpu-flat-work-group-size"="1,2,3"}
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/
H A Dlowerheap.ll1 …ed by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes --check-globals
62 attributes #0 = { nounwind willreturn }
64 ; IS________OPM: attributes #[[ATTR0:[0-9]+]] = { nounwind willreturn }
66 ; IS________OPM: attributes #[[ATTR2:[0-9]+]] = { allockind("alloc,zeroed") allocsize(0,1) "alloc-f…
67 ; IS________OPM: attributes #[[ATTR3:[0-9]+]] = { allockind("free") "alloc-family"="malloc" }
68 ; IS________OPM: attributes #[[ATTR4]] = { nounwind }
70 ; IS________NPM: attributes #[[ATTR0:[0-9]+]] = { nounwind willreturn }
72 ; IS________NPM: attributes #[[ATTR2:[0-9]+]] = { allockind("alloc,zeroed") allocsize(0,1) "alloc-f…
73 ; IS________NPM: attributes #[[ATTR3:[0-9]+]] = { allockind("free") "alloc-family"="malloc" }
74 ; IS________NPM: attributes #[[ATTR4:[0-9]+]] = { argmemonly nocallback nofree nounwind willreturn …
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/FunctionAttrs/
H A Dincompatible_fn_attrs.ll5 ; function attributes when we derive readnone.
28 attributes #0 = { argmemonly }
29 attributes #1 = { inaccessiblememonly }
30 attributes #2 = { inaccessiblemem_or_argmemonly }
31 ; CHECK: attributes #0 = { mustprogress nofree norecurse nosync nounwind readnone willreturn }
32 ; CHECK-NOT: attributes

12345678910>>...219