Transformation stages transform the representation of instructions from one form to another. Transformation stages are ussually provided by specific frontends or backends of the compiler framework.

Available Transformation Stages

There are several transformation stages available in the compiler framework:
  • CilToIrTransformationStage - Transforms high-level IL to the IR used by the compiler framework internally.
  • TwoAddressCodeConversionStage - Transforms IR operations from a three-address form into a two-address form for architectures only supporting two operands on instructions.
  • IrToX86TransformationStage - Transforms IR operations closer to hardware for x86 instruction sets. This actually uses instruction selection algorithms to determine the right x86 instruction to replace IR instructions.
  • EnterSSA - Transforms basic blocks into SSA format
  • LeaveSSA - Transforms basic blocks back out of SSA format

Last edited Nov 21, 2008 at 6:36 AM by tgiphil, version 1


No comments yet.