René's URL Explorer Experiment


Title: GitHub - lcong/mlir-tutorial: Hands-On Practical MLIR Tutorial · GitHub

Open Graph Title: GitHub - lcong/mlir-tutorial: Hands-On Practical MLIR Tutorial

X Title: GitHub - lcong/mlir-tutorial: Hands-On Practical MLIR Tutorial

Description: Hands-On Practical MLIR Tutorial. Contribute to lcong/mlir-tutorial development by creating an account on GitHub.

Open Graph Description: Hands-On Practical MLIR Tutorial. Contribute to lcong/mlir-tutorial development by creating an account on GitHub.

X Description: Hands-On Practical MLIR Tutorial. Contribute to lcong/mlir-tutorial development by creating an account on GitHub.

Mail addresses
zhoukexing@pku.edu.cn

Opengraph URL: https://github.com/lcong/mlir-tutorial

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:2a26870c-ec23-bd50-c05d-2d34ae5e6a0e
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE4C2:35F5B8:87676BF:B80C20D:6A5E87BB
html-safe-nonce7f29bc1af6d8a73478b54b7b2fb24f559403b397c6d5dcee55e4c08e0be6fc66
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEMyOjM1RjVCODo4NzY3NkJGOkI4MEMyMEQ6NkE1RTg3QkIiLCJ2aXNpdG9yX2lkIjoiNTk0MDM5NDA2MzcyODM3OTgzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd0810d8d2ca30668e2164c1249e03bf08c01542afda774c5b65e706258cbbe6a
hovercard-subject-tagrepository:790277907
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lcong/mlir-tutorial
twitter:imagehttps://opengraph.githubassets.com/25c14199c8ab48e1363f617dc41b7464c61e375c25c6ee06d644b2bcc9bf347f/lcong/mlir-tutorial
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/25c14199c8ab48e1363f617dc41b7464c61e375c25c6ee06d644b2bcc9bf347f/lcong/mlir-tutorial
og:image:altHands-On Practical MLIR Tutorial. Contribute to lcong/mlir-tutorial development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee0c30ec4bc4cc128be7eee7ef869507723a2ac9916267b7e0d370b3580a5e7ba
turbo-cache-controlno-cache
go-importgithub.com/lcong/mlir-tutorial git https://github.com/lcong/mlir-tutorial.git
octolytics-dimension-user_id19462863
octolytics-dimension-user_loginlcong
octolytics-dimension-repository_id790277907
octolytics-dimension-repository_nwolcong/mlir-tutorial
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id703566106
octolytics-dimension-repository_parent_nwoKEKE046/mlir-tutorial
octolytics-dimension-repository_network_root_id703566106
octolytics-dimension-repository_network_root_nwoKEKE046/mlir-tutorial
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release68ef39d284f7f48d37e751bc9bc0a9a4166228d5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lcong/mlir-tutorial#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcong%2Fmlir-tutorial
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcong%2Fmlir-tutorial
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=lcong%2Fmlir-tutorial
Reloadhttps://github.com/lcong/mlir-tutorial
Reloadhttps://github.com/lcong/mlir-tutorial
Reloadhttps://github.com/lcong/mlir-tutorial
lcong https://github.com/lcong
mlir-tutorialhttps://github.com/lcong/mlir-tutorial
KEKE046/mlir-tutorialhttps://github.com/KEKE046/mlir-tutorial
Notifications https://github.com/login?return_to=%2Flcong%2Fmlir-tutorial
Fork 1 https://github.com/login?return_to=%2Flcong%2Fmlir-tutorial
Star 0 https://github.com/login?return_to=%2Flcong%2Fmlir-tutorial
Code https://github.com/lcong/mlir-tutorial
Pull requests 0 https://github.com/lcong/mlir-tutorial/pulls
Actions https://github.com/lcong/mlir-tutorial/actions
Projects https://github.com/lcong/mlir-tutorial/projects
Security and quality 0 https://github.com/lcong/mlir-tutorial/security
Insights https://github.com/lcong/mlir-tutorial/pulse
Code https://github.com/lcong/mlir-tutorial
Pull requests https://github.com/lcong/mlir-tutorial/pulls
Actions https://github.com/lcong/mlir-tutorial/actions
Projects https://github.com/lcong/mlir-tutorial/projects
Security and quality https://github.com/lcong/mlir-tutorial/security
Insights https://github.com/lcong/mlir-tutorial/pulse
https://github.com/lcong/mlir-tutorial
Brancheshttps://github.com/lcong/mlir-tutorial/branches
Tagshttps://github.com/lcong/mlir-tutorial/tags
https://github.com/lcong/mlir-tutorial/branches
https://github.com/lcong/mlir-tutorial/tags
26 Commitshttps://github.com/lcong/mlir-tutorial/commits/main/
https://github.com/lcong/mlir-tutorial/commits/main/
Toyhttps://github.com/lcong/mlir-tutorial/tree/main/Toy
Toyhttps://github.com/lcong/mlir-tutorial/tree/main/Toy
ex1-iohttps://github.com/lcong/mlir-tutorial/tree/main/ex1-io
ex1-iohttps://github.com/lcong/mlir-tutorial/tree/main/ex1-io
ex2-buildhttps://github.com/lcong/mlir-tutorial/tree/main/ex2-build
ex2-buildhttps://github.com/lcong/mlir-tutorial/tree/main/ex2-build
ex3-dialecthttps://github.com/lcong/mlir-tutorial/tree/main/ex3-dialect
ex3-dialecthttps://github.com/lcong/mlir-tutorial/tree/main/ex3-dialect
ex4-beautiful-dialecthttps://github.com/lcong/mlir-tutorial/tree/main/ex4-beautiful-dialect
ex4-beautiful-dialecthttps://github.com/lcong/mlir-tutorial/tree/main/ex4-beautiful-dialect
ex5-passhttps://github.com/lcong/mlir-tutorial/tree/main/ex5-pass
ex5-passhttps://github.com/lcong/mlir-tutorial/tree/main/ex5-pass
ex6-patternhttps://github.com/lcong/mlir-tutorial/tree/main/ex6-pattern
ex6-patternhttps://github.com/lcong/mlir-tutorial/tree/main/ex6-pattern
ex7-converthttps://github.com/lcong/mlir-tutorial/tree/main/ex7-convert
ex7-converthttps://github.com/lcong/mlir-tutorial/tree/main/ex7-convert
fighttps://github.com/lcong/mlir-tutorial/tree/main/fig
fighttps://github.com/lcong/mlir-tutorial/tree/main/fig
mlir-toyhttps://github.com/lcong/mlir-tutorial/tree/main/mlir-toy
mlir-toyhttps://github.com/lcong/mlir-tutorial/tree/main/mlir-toy
toyhttps://github.com/lcong/mlir-tutorial/tree/main/toy
toyhttps://github.com/lcong/mlir-tutorial/tree/main/toy
.clangdhttps://github.com/lcong/mlir-tutorial/blob/main/.clangd
.clangdhttps://github.com/lcong/mlir-tutorial/blob/main/.clangd
.gitignorehttps://github.com/lcong/mlir-tutorial/blob/main/.gitignore
.gitignorehttps://github.com/lcong/mlir-tutorial/blob/main/.gitignore
CMakeLists.txthttps://github.com/lcong/mlir-tutorial/blob/main/CMakeLists.txt
CMakeLists.txthttps://github.com/lcong/mlir-tutorial/blob/main/CMakeLists.txt
LICENSEhttps://github.com/lcong/mlir-tutorial/blob/main/LICENSE
LICENSEhttps://github.com/lcong/mlir-tutorial/blob/main/LICENSE
README.mdhttps://github.com/lcong/mlir-tutorial/blob/main/README.md
README.mdhttps://github.com/lcong/mlir-tutorial/blob/main/README.md
READMEhttps://github.com/lcong/mlir-tutorial
Licensehttps://github.com/lcong/mlir-tutorial
https://github.com/lcong/mlir-tutorial#hands-on-practical-mlir-tutorial
MLIR 简介https://github.com/lcong/mlir-tutorial#mlir-%E7%AE%80%E4%BB%8B
MLIR 编译管线https://github.com/lcong/mlir-tutorial#mlir-%E7%BC%96%E8%AF%91%E7%AE%A1%E7%BA%BF
常见的 Dialecthttps://github.com/lcong/mlir-tutorial#%E5%B8%B8%E8%A7%81%E7%9A%84-dialect
insight:“及时做优化”https://github.com/lcong/mlir-tutorial#insight%EF%BC%9A%E2%80%9C%E5%8F%8A%E6%97%B6%E5%81%9A%E4%BC%98%E5%8C%96%E2%80%9D
MLIR 的用处https://github.com/lcong/mlir-tutorial#mlir-%E7%9A%84%E7%94%A8%E5%A4%84
MLIR 的缺点https://github.com/lcong/mlir-tutorial#mlir-%E7%9A%84%E7%BC%BA%E7%82%B9
MLIR 基本用法https://github.com/lcong/mlir-tutorial#mlir-%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95
IR 基本结构https://github.com/lcong/mlir-tutorial#ir-%E5%9F%BA%E6%9C%AC%E7%BB%93%E6%9E%84
MLIR 基本工程模板https://github.com/lcong/mlir-tutorial#mlir-%E5%9F%BA%E6%9C%AC%E5%B7%A5%E7%A8%8B%E6%A8%A1%E6%9D%BF
配置 clangdhttps://github.com/lcong/mlir-tutorial#%E9%85%8D%E7%BD%AE-clangd
MLIR 的读入、输出https://github.com/lcong/mlir-tutorial#mlir-%E7%9A%84%E8%AF%BB%E5%85%A5%E3%80%81%E8%BE%93%E5%87%BA
用代码生成 MLIRhttps://github.com/lcong/mlir-tutorial#%E7%94%A8%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90-mlir
MLIR Op 的结构https://github.com/lcong/mlir-tutorial#mlir-op-%E7%9A%84%E7%BB%93%E6%9E%84
Attribute 和 Operandhttps://github.com/lcong/mlir-tutorial#attribute-%E5%92%8C-operand
Attribute, Value 和 Typehttps://github.com/lcong/mlir-tutorial#attribute,-value-%E5%92%8C-type
MLIR 的类型转换https://github.com/lcong/mlir-tutorial#mlir-%E7%9A%84%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2
Op 的类型转换https://github.com/lcong/mlir-tutorial#op-%E7%9A%84%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2
Type / Attribute 的类型转换https://github.com/lcong/mlir-tutorial#type-/-attribute-%E7%9A%84%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2
MLIR 的图结构https://github.com/lcong/mlir-tutorial#mlir-%E7%9A%84%E5%9B%BE%E7%BB%93%E6%9E%84
MLIR 数据流图结构https://github.com/lcong/mlir-tutorial#mlir-%E6%95%B0%E6%8D%AE%E6%B5%81%E5%9B%BE%E7%BB%93%E6%9E%84
MLIR 数据流图的遍历与修改https://github.com/lcong/mlir-tutorial#mlir-%E6%95%B0%E6%8D%AE%E6%B5%81%E5%9B%BE%E7%9A%84%E9%81%8D%E5%8E%86%E4%B8%8E%E4%BF%AE%E6%94%B9
MLIR 控制流图的遍历与修改https://github.com/lcong/mlir-tutorial#mlir-%E6%8E%A7%E5%88%B6%E6%B5%81%E5%9B%BE%E7%9A%84%E9%81%8D%E5%8E%86%E4%B8%8E%E4%BF%AE%E6%94%B9
基本的 Dialect 工程https://github.com/lcong/mlir-tutorial#%E5%9F%BA%E6%9C%AC%E7%9A%84-dialect-%E5%B7%A5%E7%A8%8B
TableGen 工程模板https://github.com/lcong/mlir-tutorial#tablegen-%E5%B7%A5%E7%A8%8B%E6%A8%A1%E6%9D%BF
Tablegen Language Serverhttps://github.com/lcong/mlir-tutorial#tablegen-language-server
IR 的默认定义与实现https://github.com/lcong/mlir-tutorial#ir-%E7%9A%84%E9%BB%98%E8%AE%A4%E5%AE%9A%E4%B9%89%E4%B8%8E%E5%AE%9E%E7%8E%B0
TableGen 文件https://github.com/lcong/mlir-tutorial#tablegen-%E6%96%87%E4%BB%B6
头文件https://github.com/lcong/mlir-tutorial#%E5%A4%B4%E6%96%87%E4%BB%B6
库文件https://github.com/lcong/mlir-tutorial#%E5%BA%93%E6%96%87%E4%BB%B6
程序入口https://github.com/lcong/mlir-tutorial#%E7%A8%8B%E5%BA%8F%E5%85%A5%E5%8F%A3
TableGen Op 定义详解https://github.com/lcong/mlir-tutorial#tablegen-op-%E5%AE%9A%E4%B9%89%E8%AF%A6%E8%A7%A3
Attribute、Type、Constrainthttps://github.com/lcong/mlir-tutorial#attribute%E3%80%81type%E3%80%81constraint
内置 Attributehttps://github.com/lcong/mlir-tutorial#%E5%86%85%E7%BD%AE-attribute
内置的 Typehttps://github.com/lcong/mlir-tutorial#%E5%86%85%E7%BD%AE%E7%9A%84-type
为什么 Attribute 和 Type 都是 Constrainthttps://github.com/lcong/mlir-tutorial#%E4%B8%BA%E4%BB%80%E4%B9%88-attribute-%E5%92%8C-type-%E9%83%BD%E6%98%AF-constraint
Verifier:发现IR错误https://github.com/lcong/mlir-tutorial#verifier%EF%BC%9A%E5%8F%91%E7%8E%B0ir%E9%94%99%E8%AF%AF
emitErrorhttps://github.com/lcong/mlir-tutorial#emiterror
LogicalResulthttps://github.com/lcong/mlir-tutorial#logicalresult
Variadic:可变参数https://github.com/lcong/mlir-tutorial#variadic%EF%BC%9A%E5%8F%AF%E5%8F%98%E5%8F%82%E6%95%B0
多个可变参数:AttrSizedOperandSegmentshttps://github.com/lcong/mlir-tutorial#%E5%A4%9A%E4%B8%AA%E5%8F%AF%E5%8F%98%E5%8F%82%E6%95%B0%EF%BC%9Aattrsizedoperandsegments
AssemblyFormat:更易读的输出https://github.com/lcong/mlir-tutorial#assemblyformat%EF%BC%9A%E6%9B%B4%E6%98%93%E8%AF%BB%E7%9A%84%E8%BE%93%E5%87%BA
常用关键字https://github.com/lcong/mlir-tutorial#%E5%B8%B8%E7%94%A8%E5%85%B3%E9%94%AE%E5%AD%97
额外 attr 字典https://github.com/lcong/mlir-tutorial#%E9%A2%9D%E5%A4%96-attr-%E5%AD%97%E5%85%B8
输出 typehttps://github.com/lcong/mlir-tutorial#%E8%BE%93%E5%87%BA-type
可选输出:Optional、UnitAttrhttps://github.com/lcong/mlir-tutorial#%E5%8F%AF%E9%80%89%E8%BE%93%E5%87%BA%EF%BC%9Aoptional%E3%80%81unitattr
Builder:自定义 create 函数https://github.com/lcong/mlir-tutorial#builder%EF%BC%9A%E8%87%AA%E5%AE%9A%E4%B9%89-create-%E5%87%BD%E6%95%B0
默认Builderhttps://github.com/lcong/mlir-tutorial#%E9%BB%98%E8%AE%A4builder
自定义builderhttps://github.com/lcong/mlir-tutorial#%E8%87%AA%E5%AE%9A%E4%B9%89builder
自定义函数https://github.com/lcong/mlir-tutorial#%E8%87%AA%E5%AE%9A%E4%B9%89%E5%87%BD%E6%95%B0
header targethttps://github.com/lcong/mlir-tutorial#header-target
使用 Traithttps://github.com/lcong/mlir-tutorial#%E4%BD%BF%E7%94%A8-trait
内存副作用:SideEffectInterfaceshttps://github.com/lcong/mlir-tutorial#%E5%86%85%E5%AD%98%E5%89%AF%E4%BD%9C%E7%94%A8%EF%BC%9Asideeffectinterfaces
类型推断:InferTypeOpInterfacehttps://github.com/lcong/mlir-tutorial#%E7%B1%BB%E5%9E%8B%E6%8E%A8%E6%96%AD%EF%BC%9Ainfertypeopinterface
函数:FunctionOpTraithttps://github.com/lcong/mlir-tutorial#%E5%87%BD%E6%95%B0%EF%BC%9Afunctionoptrait
定义 Returnhttps://github.com/lcong/mlir-tutorial#%E5%AE%9A%E4%B9%89-return
定义 Functionhttps://github.com/lcong/mlir-tutorial#%E5%AE%9A%E4%B9%89-function
定义 Callhttps://github.com/lcong/mlir-tutorial#%E5%AE%9A%E4%B9%89-call
添加 Passhttps://github.com/lcong/mlir-tutorial#%E6%B7%BB%E5%8A%A0-pass
Pass 工程模板https://github.com/lcong/mlir-tutorial#pass-%E5%B7%A5%E7%A8%8B%E6%A8%A1%E6%9D%BF
Pass 定义详解https://github.com/lcong/mlir-tutorial#pass-%E5%AE%9A%E4%B9%89%E8%AF%A6%E8%A7%A3
指定 Pass 在哪个 Op 上运行https://github.com/lcong/mlir-tutorial#%E6%8C%87%E5%AE%9A-pass-%E5%9C%A8%E5%93%AA%E4%B8%AA-op-%E4%B8%8A%E8%BF%90%E8%A1%8C
带参数的 Passhttps://github.com/lcong/mlir-tutorial#%E5%B8%A6%E5%8F%82%E6%95%B0%E7%9A%84-pass
简单的 DCE Pass 实现https://github.com/lcong/mlir-tutorial#%E7%AE%80%E5%8D%95%E7%9A%84-dce-pass-%E5%AE%9E%E7%8E%B0
定义https://github.com/lcong/mlir-tutorial#%E5%AE%9A%E4%B9%89
实现https://github.com/lcong/mlir-tutorial#%E5%AE%9E%E7%8E%B0
Pattern Rewritehttps://github.com/lcong/mlir-tutorial#pattern-rewrite
Pattern Rewritehttps://github.com/lcong/mlir-tutorial#pattern-rewrite-1
描述 Patternhttps://github.com/lcong/mlir-tutorial#%E6%8F%8F%E8%BF%B0-pattern
调用 Patternhttps://github.com/lcong/mlir-tutorial#%E8%B0%83%E7%94%A8-pattern
Depedent Dialect & Linkinghttps://github.com/lcong/mlir-tutorial#depedent-dialect-&-linking
Dialect Convertion (Type Conversion)https://github.com/lcong/mlir-tutorial#dialect-convertion-(type-conversion)
TypeConverterhttps://github.com/lcong/mlir-tutorial#typeconverter
Conversion Pattern:自动做 Operand 的类型转换https://github.com/lcong/mlir-tutorial#conversion-pattern%EF%BC%9A%E8%87%AA%E5%8A%A8%E5%81%9A-operand-%E7%9A%84%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2
类型转换的细节与 Debughttps://github.com/lcong/mlir-tutorial#%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2%E7%9A%84%E7%BB%86%E8%8A%82%E4%B8%8E-debug
使用自己的 materializationhttps://github.com/lcong/mlir-tutorial#%E4%BD%BF%E7%94%A8%E8%87%AA%E5%B7%B1%E7%9A%84-materialization
使用 MLIR 里已有的 Pattern 做多步转换https://github.com/lcong/mlir-tutorial#%E4%BD%BF%E7%94%A8-mlir-%E9%87%8C%E5%B7%B2%E6%9C%89%E7%9A%84-pattern-%E5%81%9A%E5%A4%9A%E6%AD%A5%E8%BD%AC%E6%8D%A2
自定义 Typehttps://github.com/lcong/mlir-tutorial#%E8%87%AA%E5%AE%9A%E4%B9%89-type
TIPShttps://github.com/lcong/mlir-tutorial#tips
如何找头文件、找想要的函数https://github.com/lcong/mlir-tutorial#%E5%A6%82%E4%BD%95%E6%89%BE%E5%A4%B4%E6%96%87%E4%BB%B6%E3%80%81%E6%89%BE%E6%83%B3%E8%A6%81%E7%9A%84%E5%87%BD%E6%95%B0
如何找需要连接的库https://github.com/lcong/mlir-tutorial#%E5%A6%82%E4%BD%95%E6%89%BE%E9%9C%80%E8%A6%81%E8%BF%9E%E6%8E%A5%E7%9A%84%E5%BA%93
如何加快编译速度https://github.com/lcong/mlir-tutorial#%E5%A6%82%E4%BD%95%E5%8A%A0%E5%BF%AB%E7%BC%96%E8%AF%91%E9%80%9F%E5%BA%A6
去 MLIR 里抄代码https://github.com/lcong/mlir-tutorial#%E5%8E%BB-mlir-%E9%87%8C%E6%8A%84%E4%BB%A3%E7%A0%81
MLIR 的批判:C++ v.s. Rusthttps://github.com/lcong/mlir-tutorial#mlir-%E7%9A%84%E6%89%B9%E5%88%A4%EF%BC%9Ac++-v.s.-rust
Issue & Replyhttps://github.com/lcong/mlir-tutorial#issue-&-reply
https://github.com/lcong/mlir-tutorial#1-mlir-简介
https://github.com/lcong/mlir-tutorial#11-mlir-编译管线
https://github.com/lcong/mlir-tutorial/blob/main/fig/MLIR%20Dialects.jpg
https://github.com/lcong/mlir-tutorial#12-常见的-dialect
https://github.com/lcong/mlir-tutorial#13-insight及时做优化
https://github.com/lcong/mlir-tutorial#14-mlir-的用处
https://github.com/lcong/mlir-tutorial#15-mlir-的缺点
见TIPShttps://github.com/lcong/mlir-tutorial#113-%E5%A6%82%E4%BD%95%E5%8A%A0%E5%BF%AB%E7%BC%96%E8%AF%91%E9%80%9F%E5%BA%A6
https://github.com/lcong/mlir-tutorial#2-mlir-基本用法
https://github.com/lcong/mlir-tutorial#21-ir-基本结构
https://github.com/lcong/mlir-tutorial#22-mlir-基本工程模板
getting startedhttps://mlir.llvm.org/getting_started/
https://github.com/lcong/mlir-tutorial#221-配置-clangd
https://github.com/lcong/mlir-tutorial#23-mlir-的读入输出
https://github.com/lcong/mlir-tutorial#24-用代码生成-mlir
https://github.com/lcong/mlir-tutorial#3-mlir-op-的结构
https://github.com/lcong/mlir-tutorial#31-attribute-和-operand
https://github.com/lcong/mlir-tutorial#32-attribute-value-和-type
https://github.com/lcong/mlir-tutorial#4-mlir-的类型转换
https://github.com/lcong/mlir-tutorial#41-op-的类型转换
https://github.com/lcong/mlir-tutorial/blob/main/fig/op.svg
https://github.com/lcong/mlir-tutorial#42-type--attribute-的类型转换
https://github.com/lcong/mlir-tutorial#5-mlir-的图结构
https://github.com/lcong/mlir-tutorial#51-mlir-数据流图结构
两幅图https://mlir.llvm.org/docs/Tutorials/UnderstandingTheIRStructure/#traversing-the-def-use-chains
https://github.com/lcong/mlir-tutorial/blob/main/fig/DefUseChains.svg
https://github.com/lcong/mlir-tutorial/blob/main/fig/Use-list.svg
https://github.com/lcong/mlir-tutorial#52-mlir-数据流图的遍历与修改
https://github.com/lcong/mlir-tutorial#53-mlir-控制流图的遍历与修改
https://github.com/lcong/mlir-tutorial#6-基本的-dialect-工程
https://github.com/lcong/mlir-tutorial#61-tablegen-工程模板
https://github.com/lcong/mlir-tutorial#62-tablegen-language-server
https://github.com/lcong/mlir-tutorial#63-ir-的默认定义与实现
https://github.com/lcong/mlir-tutorial#631-tablegen-文件
https://github.com/lcong/mlir-tutorial#632-头文件
https://github.com/lcong/mlir-tutorial#633-库文件
https://github.com/lcong/mlir-tutorial#634-程序入口
https://github.com/lcong/mlir-tutorial#7-tablegen-op-定义详解
https://github.com/lcong/mlir-tutorial#71-attributetypeconstraint
https://github.com/lcong/mlir-tutorial#711-内置-attribute
https://github.com/lcong/mlir-tutorial#712-内置的-type
https://github.com/lcong/mlir-tutorial#713-为什么-attribute-和-type-都是-constraint
Operationhttps://github.com/lcong/mlir-tutorial#41-op-%E7%9A%84%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2
https://github.com/lcong/mlir-tutorial#72-verifier发现ir错误
https://github.com/lcong/mlir-tutorial#721-emiterror
https://github.com/lcong/mlir-tutorial#722-logicalresult
https://github.com/lcong/mlir-tutorial#73-variadic可变参数
https://github.com/lcong/mlir-tutorial#731-多个可变参数attrsizedoperandsegments
https://github.com/lcong/mlir-tutorial#74-assemblyformat更易读的输出
https://github.com/lcong/mlir-tutorial#741-常用关键字
https://github.com/lcong/mlir-tutorial#742-额外-attr-字典
https://github.com/lcong/mlir-tutorial#743-输出-type
https://github.com/lcong/mlir-tutorial#744-可选输出optionalunitattr
https://github.com/lcong/mlir-tutorial#75-builder自定义-create-函数
https://github.com/lcong/mlir-tutorial#751-默认builder
之前https://github.com/lcong/mlir-tutorial#711-%E5%86%85%E7%BD%AE-attribute
https://github.com/lcong/mlir-tutorial#752-自定义builder
后面有介绍https://github.com/lcong/mlir-tutorial#772-%E7%B1%BB%E5%9E%8B%E6%8E%A8%E6%96%ADinfertypeopinterface
https://github.com/lcong/mlir-tutorial#76-自定义函数
https://github.com/lcong/mlir-tutorial#761-header-target
https://github.com/lcong/mlir-tutorial#77-使用-trait
前面https://github.com/lcong/mlir-tutorial#634-%E7%A8%8B%E5%BA%8F%E5%85%A5%E5%8F%A3
https://github.com/lcong/mlir-tutorial#771-内存副作用sideeffectinterfaces
https://github.com/lcong/mlir-tutorial#772-类型推断infertypeopinterface
https://github.com/lcong/mlir-tutorial#78-函数functionoptrait
https://github.com/lcong/mlir-tutorial#781-定义-return
https://github.com/lcong/mlir-tutorial#782-定义-function
https://github.com/lcong/mlir-tutorial#783-定义-call
https://github.com/lcong/mlir-tutorial#8-添加-pass
https://github.com/lcong/mlir-tutorial#81-pass-工程模板
https://github.com/lcong/mlir-tutorial#82-pass-定义详解
https://github.com/lcong/mlir-tutorial#821-指定-pass-在哪个-op-上运行
Pass Infrastructurehttps://mlir.llvm.org/docs/PassManagement/
https://github.com/lcong/mlir-tutorial#822-带参数的-pass
https://github.com/lcong/mlir-tutorial#83-简单的-dce-pass-实现
https://github.com/lcong/mlir-tutorial#831-定义
https://github.com/lcong/mlir-tutorial#832-实现
https://github.com/lcong/mlir-tutorial#9-pattern-rewrite
https://github.com/lcong/mlir-tutorial#91-pattern-rewrite
https://github.com/lcong/mlir-tutorial#911-描述-pattern
https://github.com/lcong/mlir-tutorial#912-调用-pattern
https://github.com/lcong/mlir-tutorial#913-depedent-dialect--linking
https://github.com/lcong/mlir-tutorial#debug-的方法
https://github.com/lcong/mlir-tutorial#92-dialect-convertion-type-conversion
自定义类型https://github.com/lcong/mlir-tutorial#10-%E8%87%AA%E5%AE%9A%E4%B9%89-type
https://github.com/lcong/mlir-tutorial#921-typeconverter
https://github.com/lcong/mlir-tutorial#922-conversion-pattern自动做-operand-的类型转换
InferTypeOpInterfacehttps://github.com/lcong/mlir-tutorial#772-%E7%B1%BB%E5%9E%8B%E6%8E%A8%E6%96%ADinfertypeopinterface
https://github.com/lcong/mlir-tutorial#使用-mlir-自带的-funcopconversion
https://github.com/lcong/mlir-tutorial#923-类型转换的细节与-debug
https://github.com/lcong/mlir-tutorial#924-使用自己的-materialization
https://github.com/lcong/mlir-tutorial#93-使用-mlir-里已有的-pattern-做多步转换
https://github.com/lcong/mlir-tutorial#10-自定义-type
https://github.com/lcong/mlir-tutorial#11-tips
https://github.com/lcong/mlir-tutorial#111-如何找头文件找想要的函数
https://github.com/lcong/mlir-tutorial#112-如何找需要连接的库
https://github.com/lcong/mlir-tutorial#113-如何加快编译速度
https://github.com/lcong/mlir-tutorial#114-去-mlir-里抄代码
https://github.com/lcong/mlir-tutorial#12-mlir-的批判c-vs-rust
https://github.com/lcong/mlir-tutorial#13-issue--reply
Readme https://github.com/lcong/mlir-tutorial#readme-ov-file
Apache-2.0 license https://github.com/lcong/mlir-tutorial#Apache-2.0-1-ov-file
Please reload this pagehttps://github.com/lcong/mlir-tutorial
Activityhttps://github.com/lcong/mlir-tutorial/activity
1 forkhttps://github.com/lcong/mlir-tutorial/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Flcong%2Fmlir-tutorial&report=lcong+%28user%29
Releaseshttps://github.com/lcong/mlir-tutorial/releases
Packages 0https://github.com/users/lcong/packages?repo_name=mlir-tutorial
Please reload this pagehttps://github.com/lcong/mlir-tutorial
Contributorshttps://github.com/lcong/mlir-tutorial/graphs/contributors
Please reload this pagehttps://github.com/lcong/mlir-tutorial
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.