CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 15:57:23 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/PaddlePaddle/Paddle.git
etag: W/"562e861c99563119c9cc3f5f3893ddd9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=7cccf%2BdeQ2aRjRpbhGJZzXMTwupNkfF6CGxdlSitUpRpm%2BsdS0oGu%2B3w3uLEnYJ9aMsv0CiLvKomv2GYsJaM0JnD1rAO1otboOrFNyO9qPqJ0DU9d%2FGL5%2F%2Bgros9jYYDUFZPP1vVumLfCDnx2whFhcBETs0fV%2FTes2TsvsJrmpaPHjHkp6xv8orronl%2F3YD1cIu%2FpucOG949mHuZS1NslQgycxFsi3lAPsu%2B8Rjrp2SUhOUyPARTRQaZ8vBzqeXQz09Xdx2wbCTIuM3p6AgcVQ%3D%3D--di2Vlf8O%2BGTtfeHT--XKrir9agqBcMIfSnuZfjkA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.428705924.1753459042; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 15:57:22 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 15:57:22 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A4AA:B4BE2:10FA9D:1428AC:6883A962
[DRR] Create PatternRewritePass in pass.h (#58655) · PaddlePaddle/Paddle@03e59e4 · GitHub
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/constant_folding_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/attention_fuse_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/fused_gemm_epilogue_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/fused_linear_param_grad_add_pass.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 03e59e4
authored
[DRR] Create PatternRewritePass in pass.h (#58655)
* create class DrrBasePass
* add PatternPass in pass.h
* Change the RewritePattern type pass from inheriting Pass to inheriting PatternPass
* Rename PatternPass as PatternRewritePass and delete CanApplyOn() func
* fix bug
* Fix compilation bugs
* fix bug1 parent 3ac5e69 commit 03e59e4Copy full SHA for 03e59e4
File tree
Expand file treeCollapse file tree
14 files changed
+85
-171
lines changedFilter options
- paddle
- cinn/hlir/dialect/operator/transforms
- fluid/pir/transforms
- fusion
- pir
- pass
- pattern_rewrite
- test/cpp/pir/pattern_rewrite
Expand file treeCollapse file tree
14 files changed
+85
-171
lines changedpaddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.cc+4-12Lines changed: 4 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
| 146 | + | |
147 | 147 |
| |
148 |
| - | |
| 148 | + | |
| 149 | + | |
149 | 150 |
| |
150 | 151 |
| |
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
154 | 155 |
| |
155 | 156 |
| |
156 |
| - | |
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
| |||
164 | 164 |
| |
165 | 165 |
| |
166 | 166 |
| |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
| 167 | + | |
176 | 168 |
| |
177 | 169 |
| |
178 | 170 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/add_broadcast_to_elementwise_pass.h+2-7Lines changed: 2 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
| 28 | + | |
31 | 29 |
| |
32 | 30 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 | 31 |
| |
37 | 32 |
| |
38 | 33 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.cc+5-11Lines changed: 5 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
221 | 221 |
| |
222 | 222 |
| |
223 | 223 |
| |
224 |
| - | |
| 224 | + | |
| 225 | + | |
225 | 226 |
| |
226 |
| - | |
| 227 | + | |
| 228 | + | |
227 | 229 |
| |
228 | 230 |
| |
229 | 231 |
| |
| |||
232 | 234 |
| |
233 | 235 |
| |
234 | 236 |
| |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
| 237 | + | |
244 | 238 |
| |
245 | 239 |
| |
246 | 240 |
| |
|
paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.h+2-7Lines changed: 2 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 29 | + | |
32 | 30 |
| |
33 | 31 |
| |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 | 32 |
| |
38 | 33 |
| |
39 | 34 |
| |
|
paddle/fluid/pir/transforms/constant_folding_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/constant_folding_pass.cc+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
| 175 | + | |
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
|
paddle/fluid/pir/transforms/fusion/attention_fuse_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/attention_fuse_pass.cc+4-19Lines changed: 4 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
217 |
| - | |
| 217 | + | |
218 | 218 |
| |
219 |
| - | |
| 219 | + | |
220 | 220 |
| |
221 |
| - | |
| 221 | + | |
222 | 222 |
| |
223 | 223 |
| |
224 | 224 |
| |
225 | 225 |
| |
226 |
| - | |
227 |
| - | |
| 226 | + | |
228 | 227 |
| |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 | 228 |
| |
244 | 229 |
| |
245 | 230 |
| |
|
paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/fused_dropout_add_pass.cc+5-19Lines changed: 5 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 |
| - | |
| 110 | + | |
| 111 | + | |
111 | 112 |
| |
112 |
| - | |
| 113 | + | |
113 | 114 |
| |
114 |
| - | |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 | 117 |
| |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
| 118 | + | |
126 | 119 |
| |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 | 120 |
| |
135 | 121 |
| |
136 | 122 |
| |
|
paddle/fluid/pir/transforms/fusion/fused_gemm_epilogue_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/fused_gemm_epilogue_pass.cc+5-19Lines changed: 5 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
342 | 342 |
| |
343 | 343 |
| |
344 | 344 |
| |
345 |
| - | |
| 345 | + | |
346 | 346 |
| |
347 |
| - | |
| 347 | + | |
| 348 | + | |
348 | 349 |
| |
349 |
| - | |
| 350 | + | |
350 | 351 |
| |
351 | 352 |
| |
352 | 353 |
| |
| |||
355 | 356 |
| |
356 | 357 |
| |
357 | 358 |
| |
358 |
| - | |
359 |
| - | |
| 359 | + | |
360 | 360 |
| |
361 |
| - | |
362 |
| - | |
363 |
| - | |
364 |
| - | |
365 |
| - | |
366 |
| - | |
367 |
| - | |
368 |
| - | |
369 |
| - | |
370 |
| - | |
371 |
| - | |
372 |
| - | |
373 |
| - | |
374 |
| - | |
375 | 361 |
| |
376 | 362 |
| |
377 | 363 |
| |
|
paddle/fluid/pir/transforms/fusion/fused_linear_param_grad_add_pass.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/transforms/fusion/fused_linear_param_grad_add_pass.cc+4-18Lines changed: 4 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
319 |
| - | |
| 319 | + | |
320 | 320 |
| |
321 | 321 |
| |
322 |
| - | |
| 322 | + | |
323 | 323 |
| |
324 |
| - | |
| 324 | + | |
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
328 | 328 |
| |
329 | 329 |
| |
330 | 330 |
| |
331 | 331 |
| |
332 |
| - | |
333 |
| - | |
334 |
| - | |
335 |
| - | |
336 |
| - | |
337 |
| - | |
338 |
| - | |
339 |
| - | |
340 |
| - | |
341 |
| - | |
342 | 332 |
| |
343 |
| - | |
344 |
| - | |
| 333 | + | |
345 | 334 |
| |
346 |
| - | |
347 |
| - | |
348 |
| - | |
349 | 335 |
| |
350 | 336 |
| |
351 | 337 |
| |
|
+37Lines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
105 | 107 |
| |
106 | 108 |
| |
107 | 109 |
| |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
108 | 145 |
|
You can’t perform that action at this time.
0 commit comments