Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
2
2022fall-Compiler_CMinus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李晓奇
2022fall-Compiler_CMinus
Commits
b878d214
You need to sign in or sign up before continuing.
Commit
b878d214
authored
Nov 18, 2022
by
李晓奇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 202.38.79.174:compiler_staff/2022fall-compiler_cminus
parents
416c3fd9
28a084f5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Documentations/4.1-ssa/README.md
Documentations/4.1-ssa/README.md
+4
-1
Documentations/4.1-ssa/ssa.pdf
Documentations/4.1-ssa/ssa.pdf
+0
-0
No files found.
Documentations/4.1-ssa/README.md
View file @
b878d214
...
...
@@ -70,7 +70,10 @@ label_entry:
**Note:**
1.
更详细的 SSA 格式的细节请仔细阅读
[
附件
](
./ssa.pdf
)
。
2.
我们的实验设计从编译器前端分离了构造 SSA 过程,使用
`alloca`
来分配局部变量,保留了局部变量的访存操作,用 Mem2Reg Pass 来实现构造 SSA 的算法,这是保持了与 LLVM 一致的策略。
2.
补充附件中的概念:
-
支配性:在入口节点为 b0 的流图中,当且仅当 bi 位于从 b0 到 bj 的每条路径上时,结点 bi 支配结点 bj。
-
Dom(bi) 集合:该集合包含了支配 bi 的所有结点的名字。
3.
我们的实验设计从编译器前端分离了构造 SSA 过程,使用
`alloca`
来分配局部变量,保留了局部变量的访存操作,用 Mem2Reg Pass 来实现构造 SSA 的算法,这是保持了与 LLVM 一致的策略。
#### 1.1.2 Mem2Reg Pass 代码阅读
...
...
Documentations/4.1-ssa/ssa.pdf
View file @
b878d214
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment