Comdes

Basic Block & DAG Optimizer

Partition TAC into Basic Blocks, Build DAGs, Apply Optimizations

Supported TAC Format:

  • x = y op z (binary: +, -, *, /)
  • x = y (copy)
  • goto L (unconditional jump)
  • if x relop y goto L (conditional)
  • L: (label)

Enter Three-Address Code

Click "Analyze & Optimize" to partition into basic blocks and construct DAGs