ssa-constructor
CommunityConvert code to Static Single Assignment form.
Software Engineering#optimization#compiler#intermediate representation#ssa#program analysis#control flow graph
Authorrainoftime
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the complexity of managing variable definitions and uses in intermediate compiler representations, which is crucial for many compiler optimizations and program analyses.
Core Features & Use Cases
- SSA Conversion: Transforms code into Static Single Assignment (SSA) form, where each variable is assigned exactly once.
- Phi-Function Insertion: Automatically inserts $\phi$-functions at control flow joins to merge values from different execution paths.
- Variable Renaming: Renames variables to unique versions to maintain clarity and correctness in SSA form.
- Use Case: When building an optimizing compiler, this skill can be used to prepare the intermediate representation for passes like constant propagation or dead code elimination.
Quick Start
Use the ssa-constructor skill to convert the provided control flow graph into SSA form.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ssa-constructor Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#ssa-constructor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.