当前位置:网站首页>DCC888 :SSA (static single assignment form)
DCC888 :SSA (static single assignment form)
2022-06-22 21:12:00 【春江花月夜晨】
SSA :static single assignment form
Control Flow Graphs Revisited


The Static Single Assignment Form
Each variable in SSA form program has only one definition site

To and From SSA form


利用右边的算法重新定义已definition value的name
phi-function




SSA elimination

critical edges

edge splitting

criteria for inserting phi-function

iterative creation of phi-function

dominance property of SSA form



the dominance frontier


构造Dominator Tree以及Dominator Frontier


e的dominat set是{e,f,g,h},e的strictly dominate set是{f,g,h}
f的successor是{d,h},h在e的 strictly dominate里面,所有{d}是e的dominate frontier
g的successor是{k,h},h在e的 strictly dominate里面,所有{k}是e的dominate frontier
h的successor是{I,e},I和e都不在e的 strictly dominate里面,所有{I,e}是e的dominate frontier
e的successor是{f,g},f和g都在e的 strictly dominate里面,两个不属于e的dominate frontier
the dominance frontier criterion



从第一个图开始,f的dominance是{f},f没有任何strictly dominance,f的successor是{d,h},
再看第二个图,d的dominance是{d},d没有任何strictly dominance,d的successor是{I}, df[d]={I}
h的dominance是{h,I},h 没有任何strictly dominance,h的successor是{e,I}, df[h]={e,I}
I的dominance是{I},I没有任何strictly dominance,

inserting phi-function

renaming variables












SPARSE ANALYSES 利用ssa 进行analysis



dead code elimination



sparse constant propagation













liveness analysis in ssa form programs





边栏推荐
猜你喜欢

Do domestic mobile phones turn apples? It turned out that it was realized by 100 yuan machine and sharp price reduction

Install the typescript environment and enable vscode to automatically monitor the compiled TS file as a JS file

Spark RDD Programming Guide(2.4.3)

Introduction to database access tools

反向代理HAProxy

Future alternatives to IPv4! Read the advantages, features and address types of IPv6

【ARM】讯为rk3568开发板lvds屏设置横屏显示

JSBridge

考过HCIP依然转行失败,职业网工最看重的到底是什么

Synchronization circuit and cross clock domain circuit design 2 -- cross clock domain transmission (FIFO) of multi bit signals
随机推荐
Considerations for using redisson to operate distributed queues
Finding the value of the nth term of Fibonacci sequence by recursion
2021-04-14
wallys/WiFi6 MiniPCIe Module 2T2R 2 × 2.4GHz 2x5GHz
【STM32技巧】使用STM32 HAL库的硬件I2C驱动RX8025T实时时钟芯片
对 cookie 的添加/获取和删除
js防止PC端复制正确的链接
2020-12-04
C language greedy snake
OJ每日一练—— 班级就餐
Digital data depth | about software self-control, source code left, no code right
web缓存技术
Tianyi cloud takes advantage of the new infrastructure to build a "4+2" capability system for digital transformation
剑指 Offer 05. 替换空格
2021-01-29
Web Caching Technology
为 localStorage 添加过期时间
js----SVG转PNG
LeakCanary 源码详解(2)
启牛app下载证券开户,是安全的吗?有风险嘛?