liveness-analysis
CommunityOptimize code with live variable analysis.
Software Engineering#backward analysis#compiler optimization#program analysis#liveness analysis#register allocation#dataflow analysis
Authorrainoftime
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill identifies variables that are actively used in the future, which is crucial for optimizing code execution and efficient memory management.
Core Features & Use Cases
- Live Variable Detection: Pinpoints variables that may be read before being redefined.
- Backward Dataflow: Propagates usage information from uses back to definitions.
- Use Case: Essential for compilers to perform register allocation, ensuring frequently used variables are kept in fast registers, and for dead code elimination, removing unused variables.
Quick Start
Analyze the liveness of variables in the provided C++ code snippet.
Dependency Matrix
Required Modules
dataflow-analysis-frameworkcontrol-flow-analysis
Components
referencesscripts
💻 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: liveness-analysis Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#liveness-analysis 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.