Skip to content

Commit

Permalink
- Renamed classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiphil committed Oct 22, 2023
1 parent 8cebe5c commit bd2433b
Show file tree
Hide file tree
Showing 2,294 changed files with 5,745 additions and 5,745 deletions.
4 changes: 2 additions & 2 deletions Source/Docs/compiler-transformations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This is translated into the following C# code:
{
}
public override bool Match(Context context, TransformContext transform)
public override bool Match(Context context, Transform transform)
{
if (!IsResolvedConstant(context.Operand1))
return false;
Expand All @@ -55,7 +55,7 @@ This is translated into the following C# code:
return true;
}
public override void Transform(Context context, TransformContext transform)
public override void Transform(Context context, Transform transform)
{
var result = context.Result;
Expand Down
4 changes: 2 additions & 2 deletions Source/Mosa.Compiler.ARM32/Architecture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public override bool IsInstructionMove(BaseInstruction instruction)
/// <param name="operand">The operand.</param>
/// <returns>
/// <c>true</c> if [is parameter store] [the specified context]; otherwise, <c>false</c>.</returns>
public override bool IsParameterStore(InstructionNode node, out Operand operand)
public override bool IsParameterStore(Node node, out Operand operand)
{
// TODO
operand = null;
Expand All @@ -286,7 +286,7 @@ public override bool IsParameterStore(InstructionNode node, out Operand operand)
/// <param name="node">the node</param>
/// <returns>
/// <c>true</c> if [is parameter load] [the specified context]; otherwise, <c>false</c>.</returns>
public override bool IsParameterLoad(InstructionNode node, out Operand operand)
public override bool IsParameterLoad(Node node, out Operand operand)
{
// TODO
operand = null;
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Abs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Abs()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 1);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Adc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal Adc()

public override bool IsCarryFlagUsed => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/AdcRegShift.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal AdcRegShift()

public override bool IsCarryFlagUsed => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 4);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Add.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Add()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/AddRegShift.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal AddRegShift()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 4);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Adf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Adf()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/And.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal And()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/AndRegShift.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal AndRegShift()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 4);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Asr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Asr()

public override bool IsCarryFlagModified => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/B.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal B()

public override bool IsConditionalBranch => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 0);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Bic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Bic()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/BicRegShift.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal BicRegShift()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 4);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Bkpt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Bkpt()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 3);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Bl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Bl()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 1);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Bx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Bx()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 1);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Cmf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Cmf()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Cmfe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Cmfe()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Cmn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal Cmn()

public override bool IsOverflowFlagModified => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/CmnRegShift.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal CmnRegShift()

public override bool IsOverflowFlagModified => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 4);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Cmp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal Cmp()

public override bool IsOverflowFlagModified => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/CmpRegShift.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal CmpRegShift()

public override bool IsOverflowFlagModified => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 4);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Cnf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Cnf()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Cnfe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Cnfe()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Dmb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Dmb()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 3);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Dsb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Dsb()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 3);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Dvf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Dvf()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Dvr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Dvr()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Eor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal Eor()

public override bool IsCarryFlagUsed => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/EorRegShift.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal EorRegShift()

public override bool IsCarryFlagUsed => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 4);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Fdv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Fdv()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Fix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Fix()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 1);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Flt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Flt()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 1);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Fml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Fml()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Fmov.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Fmov()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Frd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal Frd()

public override bool IsCommutative => true;

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Isb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Isb()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 3);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Ldf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Ldf()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Ldm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Ldm()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 0);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Ldr16.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Ldr16()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
2 changes: 1 addition & 1 deletion Source/Mosa.Compiler.ARM32/Instructions/Ldr32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal Ldr32()
{
}

public override void Emit(InstructionNode node, OpcodeEncoder opcodeEncoder)
public override void Emit(Node node, OpcodeEncoder opcodeEncoder)
{
System.Diagnostics.Debug.Assert(node.ResultCount == 1);
System.Diagnostics.Debug.Assert(node.OperandCount == 2);
Expand Down
Loading

0 comments on commit bd2433b

Please sign in to comment.