The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
SSAInfo.cs
Go to the documentation of this file.
1 // -------------------------------------------------------------------------- //
3 // Project rROTOR //
4 // -------------------------------------------------------------------------- //
5 // File: SSAInfo.cs //
6 // Author: Cristina Gonzalez Muņoz - cristi.gm@gmail.com //
7 // Description: //
8 // This class stores the information to use in SSA algorithm. //
9 // -------------------------------------------------------------------------- //
10 // Create date: 09-04-2007 //
11 // Modification date: 16-04-2007 //
13 
14 using System;
15 using System.Collections.Generic;
16 using System.Text;
17 
18 using AST;
19 using ErrorManagement;
20 using TypeSystem;
21 
22 namespace Semantic.SSAAlgorithm
23 {
27  class SSAInfo
28  {
29  #region Fields
30 
31  private SSAMap firstOperandToMove;
32 
33  private SSAMap secondOperandToMove;
34 
35  private SSAMap firstOperandToUpdateId;
36 
37  private SSAMap secondOperandToUpdateId;
38 
39  #endregion
40 
41  #region Properties
42 
43  public SSAMap FirstOperandToMove
44  {
45  get { return this.firstOperandToMove; }
46  }
47 
48  public SSAMap SecondOperandToMove
49  {
50  get { return this.secondOperandToMove; }
51  }
52 
53  public SSAMap FirstOperandToUpdateId
54  {
55  get { return this.firstOperandToUpdateId; }
56  }
57 
58  public SSAMap SecondOperandToUpdateId
59  {
60  get { return this.secondOperandToUpdateId; }
61  }
62 
63  #endregion
64 
65  #region Constructors
66 
70  public SSAInfo(SSAMap firstOpToMove, SSAMap secondOpToMove, SSAMap firstOpToUpdate, SSAMap secondOpToUpdate)
71  {
72  this.firstOperandToMove = firstOpToMove;
73  this.secondOperandToMove = secondOpToMove;
74  this.firstOperandToUpdateId = firstOpToUpdate;
75  this.secondOperandToUpdateId = secondOpToUpdate;
76  }
77 
78  #endregion
79  }
80 }
This class stores the information to use in SSA algorithm
Definition: SSAInfo.cs:27
SSAInfo(SSAMap firstOpToMove, SSAMap secondOpToMove, SSAMap firstOpToUpdate, SSAMap secondOpToUpdate)
Constructor of SSAInfo.
Definition: SSAInfo.cs:70
Implementation of a map to use in static single assignment algorithm.
Definition: SSAMap.cs:27