Ssa Transformation Library
Developmentssa-transformation-librarySsa Transformation Library is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
SSA-form transformations and optimizations for compiler development
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/computer-science/skills/ssa-transformation-library/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ssa-transformation-library, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
SSA Transformation Library
Purpose
Provides expert guidance on SSA (Static Single Assignment) form transformations for compiler optimization.
Capabilities
- SSA construction (dominance-based)
- Phi node insertion and elimination
- SSA-based optimization templates
- Dominance tree computation
- Use-def chain analysis
- SSA destruction for code generation
Usage Guidelines
- CFG Analysis: Analyze control flow graph
- Dominance: Compute dominance frontiers
- SSA Construction: Insert phi nodes and rename variables
- Optimization: Apply SSA-based optimizations
- Destruction: Convert back for code generation
Tools/Libraries
- LLVM IR
- GCC GIMPLE
- SSA libraries