1
1
add_custom_command (
2
2
OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /arg0_text_encoder.data
3
- ${CMAKE_CURRENT_BINARY_DIR} arg1_text_encoder.data
3
+ ${CMAKE_CURRENT_BINARY_DIR} / arg1_text_encoder.data
4
4
${CMAKE_CURRENT_BINARY_DIR} /arg0_unet.data
5
5
${CMAKE_CURRENT_BINARY_DIR} /arg0_vae.data
6
6
${CMAKE_CURRENT_BINARY_DIR} /forward_text_encoder.mlir
@@ -23,6 +23,9 @@ add_custom_command(
23
23
-eliminate-empty-tensors
24
24
-empty-tensor-to-alloc-tensor
25
25
-one-shot-bufferize="bufferize-function-boundaries"
26
+ -ownership-based-buffer-deallocation
27
+ -buffer-deallocation-simplification
28
+ -bufferization-lower-deallocations
26
29
-matmul-parallel-vectorization-optimize
27
30
-batchmatmul-optimize
28
31
-convert-linalg-to-affine-loops
@@ -64,13 +67,17 @@ add_custom_command(
64
67
-eliminate-empty-tensors
65
68
-empty-tensor-to-alloc-tensor
66
69
-one-shot-bufferize="bufferize-function-boundaries"
70
+ -ownership-based-buffer-deallocation
71
+ -buffer-deallocation-simplification
72
+ -bufferization-lower-deallocations
67
73
-func-bufferize-dynamic-offset
68
74
-conv-nhwc-fhwc-optimize
69
75
-matmul-parallel-vectorization-optimize
70
76
-batchmatmul-optimize
71
77
-convert-linalg-to-affine-loops
72
78
-affine-loop-fusion
73
79
-affine-parallelize
80
+ -lower-affine
74
81
-convert-scf-to-openmp
75
82
-convert-vector-to-scf
76
83
-expand-strided-metadata
@@ -106,7 +113,10 @@ add_custom_command(
106
113
-arith-expand
107
114
-eliminate-empty-tensors
108
115
-empty-tensor-to-alloc-tensor
109
- -one-shot-bufferize
116
+ -one-shot-bufferize="bufferize-function-boundaries"
117
+ -ownership-based-buffer-deallocation
118
+ -buffer-deallocation-simplification
119
+ -bufferization-lower-deallocations
110
120
-matmul-parallel-vectorization-optimize
111
121
-batchmatmul-optimize
112
122
-convert-linalg-to-affine-loops
@@ -147,13 +157,16 @@ add_custom_command(
147
157
-eliminate-empty-tensors
148
158
-empty-tensor-to-alloc-tensor
149
159
-one-shot-bufferize="bufferize-function-boundaries"
150
- -func-bufferize-dynamic-offset
160
+ -ownership-based-buffer-deallocation
161
+ -buffer-deallocation-simplification
162
+ -bufferization-lower-deallocations
151
163
-conv-nhwc-fhwc-optimize
152
164
-matmul-parallel-vectorization-optimize
153
165
-batchmatmul-optimize
154
166
-convert-linalg-to-affine-loops
155
167
-affine-loop-fusion
156
168
-affine-parallelize
169
+ -lower-affine
157
170
-convert-scf-to-openmp
158
171
-convert-vector-to-scf
159
172
-expand-strided-metadata
@@ -190,6 +203,9 @@ add_custom_command(
190
203
-eliminate-empty-tensors
191
204
-empty-tensor-to-alloc-tensor
192
205
-one-shot-bufferize="bufferize-function-boundaries"
206
+ -ownership-based-buffer-deallocation
207
+ -buffer-deallocation-simplification
208
+ -bufferization-lower-deallocations
193
209
-matmul-parallel-vectorization-optimize
194
210
-batchmatmul-optimize
195
211
-convert-linalg-to-affine-loops
@@ -231,13 +247,16 @@ add_custom_command(
231
247
-eliminate-empty-tensors
232
248
-empty-tensor-to-alloc-tensor
233
249
-one-shot-bufferize="bufferize-function-boundaries"
234
- -func-bufferize-dynamic-offset
250
+ -ownership-based-buffer-deallocation
251
+ -buffer-deallocation-simplification
252
+ -bufferization-lower-deallocations
235
253
-conv-nhwc-fhwc-optimize
236
254
-matmul-parallel-vectorization-optimize
237
255
-batchmatmul-optimize
238
256
-convert-linalg-to-affine-loops
239
257
-affine-loop-fusion
240
258
-affine-parallelize
259
+ -lower-affine
241
260
-convert-scf-to-openmp
242
261
-convert-vector-to-scf
243
262
-expand-strided-metadata
0 commit comments