diff --git a/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Lower32Transforms.cs b/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Lower32Transforms.cs
index 7b89e4c46c..00aff54014 100644
--- a/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Lower32Transforms.cs
+++ b/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Lower32Transforms.cs
@@ -48,6 +48,6 @@ public static class LowerTo32Transforms
new Compare64x64RestInSSA(),
new Branch64(),
- //new Phi64(),
+ new Phi64(),
};
}
diff --git a/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Phi64.cs b/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Phi64.cs
index 8dbdd514db..c9206f4453 100644
--- a/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Phi64.cs
+++ b/Source/Mosa.Compiler.Framework/Transforms/LowerTo32/Phi64.cs
@@ -4,7 +4,7 @@ namespace Mosa.Compiler.Framework.Transforms.LowerTo32;
public sealed class Phi64 : BaseLower32Transform
{
- public Phi64() : base(IRInstruction.Phi64, TransformType.Manual | TransformType.Optimization)
+ public Phi64() : base(IRInstruction.Phi64, TransformType.Manual | TransformType.Optimization, true)
{
}
@@ -73,7 +73,7 @@ public override void Transform(Context context, TransformContext transform)
var value = operand.IsConstant
? Operand.CreateConstant32(operand.ConstantUnsigned64 >> 32)
- : operand.Definitions[0].Operand1;
+ : operand.Definitions[0].Operand2;
ctx.SetOperand(i, value);
ctx.PhiBlocks.Add(context.PhiBlocks[i]);
diff --git a/Source/Mosa.Compiler.Framework/Transforms/Optimizations/Manual/ManualTransforms.cs b/Source/Mosa.Compiler.Framework/Transforms/Optimizations/Manual/ManualTransforms.cs
index 7ca751efda..c82650a618 100644
--- a/Source/Mosa.Compiler.Framework/Transforms/Optimizations/Manual/ManualTransforms.cs
+++ b/Source/Mosa.Compiler.Framework/Transforms/Optimizations/Manual/ManualTransforms.cs
@@ -80,6 +80,7 @@ public static class ManualTransforms
new Special.Store64AddressOf(),
new Special.Load32AddressOf(),
new Special.Load64AddressOf(),
+ new Special.StoreLoadObject(),
new Special.StoreLoadManagedPointer(),
new Special.StoreLoad32(),
new Special.StoreLoad64(),
@@ -230,8 +231,6 @@ public static class ManualTransforms
new Memory.DoubleLoadParamR8(),
new Memory.DoubleLoadParamObject(), // Dup for MP
- //new Special.Phi32Conditional(),
-
new Rewrite.Branch32GreaterOrEqualThanZero(),
new Rewrite.Branch32LessThanZero(),
new Rewrite.Branch32GreaterThanZero(),
diff --git a/Source/Mosa.Compiler.Framework/Transforms/Optimizations/Manual/Special/StoreLoadObject.cs b/Source/Mosa.Compiler.Framework/Transforms/Optimizations/Manual/Special/StoreLoadObject.cs
new file mode 100644
index 0000000000..bbc55ce8da
--- /dev/null
+++ b/Source/Mosa.Compiler.Framework/Transforms/Optimizations/Manual/Special/StoreLoadObject.cs
@@ -0,0 +1,53 @@
+// Copyright (c) MOSA Project. Licensed under the New BSD License.
+
+namespace Mosa.Compiler.Framework.Transforms.Optimizations.Manual.Special;
+
+public sealed class StoreLoadObject : BaseTransform
+{
+ public StoreLoadObject() : base(IRInstruction.StoreObject, TransformType.Manual | TransformType.Optimization)
+ {
+ }
+
+ public override bool Match(Context context, TransformContext transform)
+ {
+ if (!context.Operand2.IsLocalStack)
+ return false;
+
+ if (!context.Operand1.IsCPURegister)
+ return false;
+
+ if (context.Operand1 != transform.StackFrame)
+ return false;
+
+ if (context.Operand2.Uses.Count != 2) // FUTURE: traverse all uses
+ return false;
+
+ if (!context.Operand3.IsDefinedOnce)
+ return false;
+
+ var load = context.Operand2.Uses[0] != context.Node
+ ? context.Operand2.Uses[0]
+ : context.Operand2.Uses[1];
+
+ if (load.Instruction != IRInstruction.LoadManagedPointer)
+ return false;
+
+ if (!context.Operand3.IsDefinedOnce)
+ return false;
+
+ if (load.Operand1 != transform.StackFrame)
+ return false;
+
+ return true;
+ }
+
+ public override void Transform(Context context, TransformContext transform)
+ {
+ var load = context.Operand2.Uses[0] != context.Node
+ ? context.Operand2.Uses[0]
+ : context.Operand2.Uses[1];
+
+ context.SetInstruction(IRInstruction.MoveObject, load.Result, context.Operand3);
+ load.SetNop();
+ }
+}
diff --git a/Source/Mosa.Tool.Explorer/MainForm.Designer.cs b/Source/Mosa.Tool.Explorer/MainForm.Designer.cs
index f35e88cc53..70054b1660 100644
--- a/Source/Mosa.Tool.Explorer/MainForm.Designer.cs
+++ b/Source/Mosa.Tool.Explorer/MainForm.Designer.cs
@@ -30,109 +30,111 @@ private void InitializeComponent()
{
components = new System.ComponentModel.Container();
var resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
- statusStrip1 = new System.Windows.Forms.StatusStrip();
- toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
- toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
- toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
- menuStrip1 = new System.Windows.Forms.MenuStrip();
- fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
- quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- compileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- nowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableAllOptimizations = new System.Windows.Forms.ToolStripMenuItem();
- cbDisableAllOptimizations = new System.Windows.Forms.ToolStripMenuItem();
- toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
- cbEnableSSA = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableBasicOptimizations = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableValueNumbering = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableSparseConditionalConstantPropagation = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableDevirtualization = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableInline = new System.Windows.Forms.ToolStripMenuItem();
- cbInlineExplicit = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableLongExpansion = new System.Windows.Forms.ToolStripMenuItem();
- cbLoopInvariantCodeMotion = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableBitTracker = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableTwoPassOptimizations = new System.Windows.Forms.ToolStripMenuItem();
- cbPlatformOptimizations = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableBinaryCodeGeneration = new System.Windows.Forms.ToolStripMenuItem();
- displayOptionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- showOperandTypes = new System.Windows.Forms.ToolStripMenuItem();
- padInstructions = new System.Windows.Forms.ToolStripMenuItem();
- showSizes = new System.Windows.Forms.ToolStripMenuItem();
- removeIRNop = new System.Windows.Forms.ToolStripMenuItem();
- advanceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableMultithreading = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableMethodScanner = new System.Windows.Forms.ToolStripMenuItem();
- cbEnableDebugDiagnostic = new System.Windows.Forms.ToolStripMenuItem();
- cbDumpAllMethodStages = new System.Windows.Forms.ToolStripMenuItem();
- openFileDialog = new System.Windows.Forms.OpenFileDialog();
- treeView = new System.Windows.Forms.TreeView();
- splitContainer1 = new System.Windows.Forms.SplitContainer();
- label2 = new System.Windows.Forms.Label();
- tbFilter = new System.Windows.Forms.TextBox();
- tabControl = new System.Windows.Forms.TabControl();
- tabStages = new System.Windows.Forms.TabPage();
- btnSaveB = new System.Windows.Forms.Button();
- btnSaveA = new System.Windows.Forms.Button();
- label1 = new System.Windows.Forms.Label();
- cbInstructionLabels = new System.Windows.Forms.ComboBox();
- cbInstructionStages = new System.Windows.Forms.ComboBox();
- stageLabel = new System.Windows.Forms.Label();
- tbInstructions = new System.Windows.Forms.RichTextBox();
- tabStageDebug = new System.Windows.Forms.TabPage();
- cbGraphviz = new System.Windows.Forms.CheckBox();
- cbDebugStages = new System.Windows.Forms.ComboBox();
- label3 = new System.Windows.Forms.Label();
- tbDebugResult = new System.Windows.Forms.RichTextBox();
- panel1 = new System.Windows.Forms.Panel();
- tabTransforms = new System.Windows.Forms.TabPage();
- splitContainer2 = new System.Windows.Forms.SplitContainer();
- lbSteps = new System.Windows.Forms.Label();
- btnLast = new System.Windows.Forms.Button();
- btnNext = new System.Windows.Forms.Button();
- btnPrevious = new System.Windows.Forms.Button();
- btnFirst = new System.Windows.Forms.Button();
- tbTransforms = new System.Windows.Forms.RichTextBox();
- cbSetBlock = new System.Windows.Forms.CheckBox();
- dataGridView1 = new System.Windows.Forms.DataGridView();
- label7 = new System.Windows.Forms.Label();
- cbTransformLabels = new System.Windows.Forms.ComboBox();
- cbTransformStages = new System.Windows.Forms.ComboBox();
- label8 = new System.Windows.Forms.Label();
- tabMethodCounters = new System.Windows.Forms.TabPage();
- tabControl1 = new System.Windows.Forms.TabControl();
- tabPage1 = new System.Windows.Forms.TabPage();
- label5 = new System.Windows.Forms.Label();
- tbCounterFilter = new System.Windows.Forms.TextBox();
- gridMethodCounters = new System.Windows.Forms.DataGridView();
- tabPage2 = new System.Windows.Forms.TabPage();
- tbMethodCounters = new System.Windows.Forms.RichTextBox();
- tabLogs = new System.Windows.Forms.TabPage();
- cbCompilerSections = new System.Windows.Forms.ComboBox();
- label4 = new System.Windows.Forms.Label();
- tbCompilerLogs = new System.Windows.Forms.RichTextBox();
- tabCompilerCounters = new System.Windows.Forms.TabPage();
- tabControl2 = new System.Windows.Forms.TabControl();
- tabPage4 = new System.Windows.Forms.TabPage();
- label6 = new System.Windows.Forms.Label();
- tbCompilerCounterFilter = new System.Windows.Forms.TextBox();
- gridCompilerCounters = new System.Windows.Forms.DataGridView();
- tabPage5 = new System.Windows.Forms.TabPage();
- tbCompilerCounters = new System.Windows.Forms.RichTextBox();
- toolStrip1 = new System.Windows.Forms.ToolStrip();
- cbPlatform = new System.Windows.Forms.ToolStripComboBox();
- toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
- tsbOpen = new System.Windows.Forms.ToolStripButton();
- toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
- tsbRefresh = new System.Windows.Forms.ToolStripButton();
- toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- tsbCompile = new System.Windows.Forms.ToolStripButton();
- folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
+ statusStrip1 = new StatusStrip();
+ toolStripStatusLabel1 = new ToolStripStatusLabel();
+ toolStripProgressBar1 = new ToolStripProgressBar();
+ toolStripStatusLabel = new ToolStripStatusLabel();
+ menuStrip1 = new MenuStrip();
+ fileToolStripMenuItem = new ToolStripMenuItem();
+ openToolStripMenuItem = new ToolStripMenuItem();
+ toolStripMenuItem1 = new ToolStripSeparator();
+ quitToolStripMenuItem = new ToolStripMenuItem();
+ compileToolStripMenuItem = new ToolStripMenuItem();
+ nowToolStripMenuItem = new ToolStripMenuItem();
+ optionsToolStripMenuItem = new ToolStripMenuItem();
+ cbEnableAllOptimizations = new ToolStripMenuItem();
+ cbDisableAllOptimizations = new ToolStripMenuItem();
+ toolStripSeparator4 = new ToolStripSeparator();
+ cbEnableSSA = new ToolStripMenuItem();
+ cbEnableBasicOptimizations = new ToolStripMenuItem();
+ cbEnableValueNumbering = new ToolStripMenuItem();
+ cbEnableSparseConditionalConstantPropagation = new ToolStripMenuItem();
+ cbEnableDevirtualization = new ToolStripMenuItem();
+ cbEnableInline = new ToolStripMenuItem();
+ cbInlineExplicit = new ToolStripMenuItem();
+ cbEnableLongExpansion = new ToolStripMenuItem();
+ cbLoopInvariantCodeMotion = new ToolStripMenuItem();
+ cbEnableBitTracker = new ToolStripMenuItem();
+ cbEnableTwoPassOptimizations = new ToolStripMenuItem();
+ cbPlatformOptimizations = new ToolStripMenuItem();
+ cbEnableBinaryCodeGeneration = new ToolStripMenuItem();
+ displayOptionsToolStripMenuItem = new ToolStripMenuItem();
+ showOperandTypes = new ToolStripMenuItem();
+ padInstructions = new ToolStripMenuItem();
+ showSizes = new ToolStripMenuItem();
+ removeIRNop = new ToolStripMenuItem();
+ advanceToolStripMenuItem = new ToolStripMenuItem();
+ cbEnableMultithreading = new ToolStripMenuItem();
+ cbEnableMethodScanner = new ToolStripMenuItem();
+ cbEnableDebugDiagnostic = new ToolStripMenuItem();
+ cbDumpAllMethodStages = new ToolStripMenuItem();
+ openFileDialog = new OpenFileDialog();
+ treeView = new TreeView();
+ splitContainer1 = new SplitContainer();
+ label2 = new Label();
+ tbFilter = new TextBox();
+ tabControl = new TabControl();
+ tabStages = new TabPage();
+ btnSaveB = new Button();
+ btnSaveA = new Button();
+ label1 = new Label();
+ cbInstructionLabels = new ComboBox();
+ cbInstructionStages = new ComboBox();
+ stageLabel = new Label();
+ tbInstructions = new RichTextBox();
+ tabStageDebug = new TabPage();
+ cbGraphviz = new CheckBox();
+ cbDebugStages = new ComboBox();
+ label3 = new Label();
+ tbDebugResult = new RichTextBox();
+ panel1 = new Panel();
+ tabTransforms = new TabPage();
+ button1 = new Button();
+ button2 = new Button();
+ splitContainer2 = new SplitContainer();
+ lbSteps = new Label();
+ btnLast = new Button();
+ btnNext = new Button();
+ btnPrevious = new Button();
+ btnFirst = new Button();
+ tbTransforms = new RichTextBox();
+ cbSetBlock = new CheckBox();
+ dataGridView1 = new DataGridView();
+ label7 = new Label();
+ cbTransformLabels = new ComboBox();
+ cbTransformStages = new ComboBox();
+ label8 = new Label();
+ tabMethodCounters = new TabPage();
+ tabControl1 = new TabControl();
+ tabPage1 = new TabPage();
+ label5 = new Label();
+ tbCounterFilter = new TextBox();
+ gridMethodCounters = new DataGridView();
+ tabPage2 = new TabPage();
+ tbMethodCounters = new RichTextBox();
+ tabLogs = new TabPage();
+ cbCompilerSections = new ComboBox();
+ label4 = new Label();
+ tbCompilerLogs = new RichTextBox();
+ tabCompilerCounters = new TabPage();
+ tabControl2 = new TabControl();
+ tabPage4 = new TabPage();
+ label6 = new Label();
+ tbCompilerCounterFilter = new TextBox();
+ gridCompilerCounters = new DataGridView();
+ tabPage5 = new TabPage();
+ tbCompilerCounters = new RichTextBox();
+ toolStrip1 = new ToolStrip();
+ cbPlatform = new ToolStripComboBox();
+ toolStripSeparator3 = new ToolStripSeparator();
+ tsbOpen = new ToolStripButton();
+ toolStripSeparator2 = new ToolStripSeparator();
+ tsbRefresh = new ToolStripButton();
+ toolStripSeparator1 = new ToolStripSeparator();
+ tsbCompile = new ToolStripButton();
+ folderBrowserDialog1 = new FolderBrowserDialog();
timer1 = new System.Windows.Forms.Timer(components);
- saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
+ saveFileDialog1 = new SaveFileDialog();
statusStrip1.SuspendLayout();
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
@@ -164,236 +166,236 @@ private void InitializeComponent()
//
// statusStrip1
//
- statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { toolStripStatusLabel1, toolStripProgressBar1, toolStripStatusLabel });
- statusStrip1.Location = new System.Drawing.Point(0, 450);
+ statusStrip1.ImageScalingSize = new Size(20, 20);
+ statusStrip1.Items.AddRange(new ToolStripItem[] { toolStripStatusLabel1, toolStripProgressBar1, toolStripStatusLabel });
+ statusStrip1.Location = new Point(0, 450);
statusStrip1.Name = "statusStrip1";
- statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0);
- statusStrip1.Size = new System.Drawing.Size(940, 23);
+ statusStrip1.Padding = new Padding(1, 0, 16, 0);
+ statusStrip1.Size = new Size(940, 23);
statusStrip1.TabIndex = 0;
statusStrip1.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
toolStripStatusLabel1.Name = "toolStripStatusLabel1";
- toolStripStatusLabel1.Size = new System.Drawing.Size(0, 18);
+ toolStripStatusLabel1.Size = new Size(0, 18);
//
// toolStripProgressBar1
//
toolStripProgressBar1.Name = "toolStripProgressBar1";
- toolStripProgressBar1.Size = new System.Drawing.Size(233, 17);
+ toolStripProgressBar1.Size = new Size(233, 17);
//
// toolStripStatusLabel
//
toolStripStatusLabel.Name = "toolStripStatusLabel";
- toolStripStatusLabel.Size = new System.Drawing.Size(0, 18);
+ toolStripStatusLabel.Size = new Size(0, 18);
//
// menuStrip1
//
- menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileToolStripMenuItem, compileToolStripMenuItem, optionsToolStripMenuItem, displayOptionsToolStripMenuItem, advanceToolStripMenuItem });
- menuStrip1.Location = new System.Drawing.Point(0, 0);
+ menuStrip1.ImageScalingSize = new Size(20, 20);
+ menuStrip1.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, compileToolStripMenuItem, optionsToolStripMenuItem, displayOptionsToolStripMenuItem, advanceToolStripMenuItem });
+ menuStrip1.Location = new Point(0, 0);
menuStrip1.Name = "menuStrip1";
- menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
- menuStrip1.Size = new System.Drawing.Size(940, 24);
+ menuStrip1.Padding = new Padding(7, 2, 0, 2);
+ menuStrip1.Size = new Size(940, 24);
menuStrip1.TabIndex = 3;
menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
- fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { openToolStripMenuItem, toolStripMenuItem1, quitToolStripMenuItem });
+ fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { openToolStripMenuItem, toolStripMenuItem1, quitToolStripMenuItem });
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
- fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
+ fileToolStripMenuItem.Size = new Size(37, 20);
fileToolStripMenuItem.Text = "&File";
//
// openToolStripMenuItem
//
openToolStripMenuItem.Name = "openToolStripMenuItem";
- openToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
+ openToolStripMenuItem.Size = new Size(103, 22);
openToolStripMenuItem.Text = "&Open";
openToolStripMenuItem.Click += OpenToolStripMenuItem_Click;
//
// toolStripMenuItem1
//
toolStripMenuItem1.Name = "toolStripMenuItem1";
- toolStripMenuItem1.Size = new System.Drawing.Size(100, 6);
+ toolStripMenuItem1.Size = new Size(100, 6);
//
// quitToolStripMenuItem
//
quitToolStripMenuItem.Name = "quitToolStripMenuItem";
- quitToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
+ quitToolStripMenuItem.Size = new Size(103, 22);
quitToolStripMenuItem.Text = "&Quit";
quitToolStripMenuItem.Click += QuitToolStripMenuItem_Click;
//
// compileToolStripMenuItem
//
- compileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { nowToolStripMenuItem });
+ compileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { nowToolStripMenuItem });
compileToolStripMenuItem.Name = "compileToolStripMenuItem";
- compileToolStripMenuItem.Size = new System.Drawing.Size(64, 20);
+ compileToolStripMenuItem.Size = new Size(64, 20);
compileToolStripMenuItem.Text = "Compile";
//
// nowToolStripMenuItem
//
nowToolStripMenuItem.Name = "nowToolStripMenuItem";
- nowToolStripMenuItem.Size = new System.Drawing.Size(99, 22);
+ nowToolStripMenuItem.Size = new Size(99, 22);
nowToolStripMenuItem.Text = "Now";
nowToolStripMenuItem.Click += NowToolStripMenuItem_Click;
//
// optionsToolStripMenuItem
//
- optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { cbEnableAllOptimizations, cbDisableAllOptimizations, toolStripSeparator4, cbEnableSSA, cbEnableBasicOptimizations, cbEnableValueNumbering, cbEnableSparseConditionalConstantPropagation, cbEnableDevirtualization, cbEnableInline, cbInlineExplicit, cbEnableLongExpansion, cbLoopInvariantCodeMotion, cbEnableBitTracker, cbEnableTwoPassOptimizations, cbPlatformOptimizations, cbEnableBinaryCodeGeneration });
+ optionsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { cbEnableAllOptimizations, cbDisableAllOptimizations, toolStripSeparator4, cbEnableSSA, cbEnableBasicOptimizations, cbEnableValueNumbering, cbEnableSparseConditionalConstantPropagation, cbEnableDevirtualization, cbEnableInline, cbInlineExplicit, cbEnableLongExpansion, cbLoopInvariantCodeMotion, cbEnableBitTracker, cbEnableTwoPassOptimizations, cbPlatformOptimizations, cbEnableBinaryCodeGeneration });
optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
- optionsToolStripMenuItem.Size = new System.Drawing.Size(93, 20);
+ optionsToolStripMenuItem.Size = new Size(93, 20);
optionsToolStripMenuItem.Text = "Optimizations";
//
// cbEnableAllOptimizations
//
cbEnableAllOptimizations.Name = "cbEnableAllOptimizations";
- cbEnableAllOptimizations.Size = new System.Drawing.Size(293, 22);
+ cbEnableAllOptimizations.Size = new Size(293, 22);
cbEnableAllOptimizations.Text = "Enable All";
cbEnableAllOptimizations.Click += cbEnableAllOptimizations_Click;
//
// cbDisableAllOptimizations
//
cbDisableAllOptimizations.Name = "cbDisableAllOptimizations";
- cbDisableAllOptimizations.Size = new System.Drawing.Size(293, 22);
+ cbDisableAllOptimizations.Size = new Size(293, 22);
cbDisableAllOptimizations.Text = "Disable All";
cbDisableAllOptimizations.Click += cbDisableAllOptimizations_Click;
//
// toolStripSeparator4
//
toolStripSeparator4.Name = "toolStripSeparator4";
- toolStripSeparator4.Size = new System.Drawing.Size(290, 6);
+ toolStripSeparator4.Size = new Size(290, 6);
//
// cbEnableSSA
//
cbEnableSSA.Checked = true;
cbEnableSSA.CheckOnClick = true;
- cbEnableSSA.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableSSA.CheckState = CheckState.Checked;
cbEnableSSA.Name = "cbEnableSSA";
- cbEnableSSA.Size = new System.Drawing.Size(293, 22);
+ cbEnableSSA.Size = new Size(293, 22);
cbEnableSSA.Text = "Enable SSA";
//
// cbEnableBasicOptimizations
//
cbEnableBasicOptimizations.Checked = true;
cbEnableBasicOptimizations.CheckOnClick = true;
- cbEnableBasicOptimizations.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableBasicOptimizations.CheckState = CheckState.Checked;
cbEnableBasicOptimizations.Name = "cbEnableBasicOptimizations";
- cbEnableBasicOptimizations.Size = new System.Drawing.Size(293, 22);
+ cbEnableBasicOptimizations.Size = new Size(293, 22);
cbEnableBasicOptimizations.Text = "Enable Basic Optimizations";
//
// cbEnableValueNumbering
//
cbEnableValueNumbering.Checked = true;
cbEnableValueNumbering.CheckOnClick = true;
- cbEnableValueNumbering.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableValueNumbering.CheckState = CheckState.Checked;
cbEnableValueNumbering.Name = "cbEnableValueNumbering";
- cbEnableValueNumbering.Size = new System.Drawing.Size(293, 22);
+ cbEnableValueNumbering.Size = new Size(293, 22);
cbEnableValueNumbering.Text = "Enable Value Numbering";
//
// cbEnableSparseConditionalConstantPropagation
//
cbEnableSparseConditionalConstantPropagation.Checked = true;
cbEnableSparseConditionalConstantPropagation.CheckOnClick = true;
- cbEnableSparseConditionalConstantPropagation.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableSparseConditionalConstantPropagation.CheckState = CheckState.Checked;
cbEnableSparseConditionalConstantPropagation.Name = "cbEnableSparseConditionalConstantPropagation";
- cbEnableSparseConditionalConstantPropagation.Size = new System.Drawing.Size(293, 22);
+ cbEnableSparseConditionalConstantPropagation.Size = new Size(293, 22);
cbEnableSparseConditionalConstantPropagation.Text = "Enable Conditional Constant Propagation";
//
// cbEnableDevirtualization
//
cbEnableDevirtualization.Checked = true;
cbEnableDevirtualization.CheckOnClick = true;
- cbEnableDevirtualization.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableDevirtualization.CheckState = CheckState.Checked;
cbEnableDevirtualization.Name = "cbEnableDevirtualization";
- cbEnableDevirtualization.Size = new System.Drawing.Size(293, 22);
+ cbEnableDevirtualization.Size = new Size(293, 22);
cbEnableDevirtualization.Text = "Enable Devirtualization";
//
// cbEnableInline
//
cbEnableInline.Checked = true;
cbEnableInline.CheckOnClick = true;
- cbEnableInline.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableInline.CheckState = CheckState.Checked;
cbEnableInline.Name = "cbEnableInline";
- cbEnableInline.Size = new System.Drawing.Size(293, 22);
+ cbEnableInline.Size = new Size(293, 22);
cbEnableInline.Text = "Enable Inlined Methods";
//
// cbInlineExplicit
//
cbInlineExplicit.Checked = true;
cbInlineExplicit.CheckOnClick = true;
- cbInlineExplicit.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbInlineExplicit.CheckState = CheckState.Checked;
cbInlineExplicit.Name = "cbInlineExplicit";
- cbInlineExplicit.Size = new System.Drawing.Size(293, 22);
+ cbInlineExplicit.Size = new Size(293, 22);
cbInlineExplicit.Text = "Enable Inlined Explicit Methods";
//
// cbEnableLongExpansion
//
cbEnableLongExpansion.Checked = true;
cbEnableLongExpansion.CheckOnClick = true;
- cbEnableLongExpansion.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableLongExpansion.CheckState = CheckState.Checked;
cbEnableLongExpansion.Name = "cbEnableLongExpansion";
- cbEnableLongExpansion.Size = new System.Drawing.Size(293, 22);
+ cbEnableLongExpansion.Size = new Size(293, 22);
cbEnableLongExpansion.Text = "Enable Long Expansion";
//
// cbLoopInvariantCodeMotion
//
cbLoopInvariantCodeMotion.Checked = true;
cbLoopInvariantCodeMotion.CheckOnClick = true;
- cbLoopInvariantCodeMotion.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbLoopInvariantCodeMotion.CheckState = CheckState.Checked;
cbLoopInvariantCodeMotion.Name = "cbLoopInvariantCodeMotion";
- cbLoopInvariantCodeMotion.Size = new System.Drawing.Size(293, 22);
+ cbLoopInvariantCodeMotion.Size = new Size(293, 22);
cbLoopInvariantCodeMotion.Text = "Enable Loop Invariant Code Motion";
//
// cbEnableBitTracker
//
cbEnableBitTracker.Checked = true;
cbEnableBitTracker.CheckOnClick = true;
- cbEnableBitTracker.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableBitTracker.CheckState = CheckState.Checked;
cbEnableBitTracker.Name = "cbEnableBitTracker";
- cbEnableBitTracker.Size = new System.Drawing.Size(293, 22);
+ cbEnableBitTracker.Size = new Size(293, 22);
cbEnableBitTracker.Text = "Enable Bit Tracker";
//
// cbEnableTwoPassOptimizations
//
cbEnableTwoPassOptimizations.Checked = true;
cbEnableTwoPassOptimizations.CheckOnClick = true;
- cbEnableTwoPassOptimizations.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableTwoPassOptimizations.CheckState = CheckState.Checked;
cbEnableTwoPassOptimizations.Name = "cbEnableTwoPassOptimizations";
- cbEnableTwoPassOptimizations.Size = new System.Drawing.Size(293, 22);
+ cbEnableTwoPassOptimizations.Size = new Size(293, 22);
cbEnableTwoPassOptimizations.Text = "Enable Two Optimization Passes";
//
// cbPlatformOptimizations
//
cbPlatformOptimizations.Checked = true;
cbPlatformOptimizations.CheckOnClick = true;
- cbPlatformOptimizations.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbPlatformOptimizations.CheckState = CheckState.Checked;
cbPlatformOptimizations.Name = "cbPlatformOptimizations";
- cbPlatformOptimizations.Size = new System.Drawing.Size(293, 22);
+ cbPlatformOptimizations.Size = new Size(293, 22);
cbPlatformOptimizations.Text = "Enable Platform Optimizations";
//
// cbEnableBinaryCodeGeneration
//
cbEnableBinaryCodeGeneration.Checked = true;
cbEnableBinaryCodeGeneration.CheckOnClick = true;
- cbEnableBinaryCodeGeneration.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableBinaryCodeGeneration.CheckState = CheckState.Checked;
cbEnableBinaryCodeGeneration.Name = "cbEnableBinaryCodeGeneration";
- cbEnableBinaryCodeGeneration.Size = new System.Drawing.Size(293, 22);
+ cbEnableBinaryCodeGeneration.Size = new Size(293, 22);
cbEnableBinaryCodeGeneration.Text = "Enable Binary Code Generation";
//
// displayOptionsToolStripMenuItem
//
- displayOptionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { showOperandTypes, padInstructions, showSizes, removeIRNop });
+ displayOptionsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { showOperandTypes, padInstructions, showSizes, removeIRNop });
displayOptionsToolStripMenuItem.Name = "displayOptionsToolStripMenuItem";
- displayOptionsToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
+ displayOptionsToolStripMenuItem.Size = new Size(57, 20);
displayOptionsToolStripMenuItem.Text = "Display";
//
// showOperandTypes
//
showOperandTypes.CheckOnClick = true;
showOperandTypes.Name = "showOperandTypes";
- showOperandTypes.Size = new System.Drawing.Size(184, 22);
+ showOperandTypes.Size = new Size(184, 22);
showOperandTypes.Text = "Show Operand Types";
showOperandTypes.CheckStateChanged += DisplayCheckStateChanged;
//
@@ -401,9 +403,9 @@ private void InitializeComponent()
//
padInstructions.Checked = true;
padInstructions.CheckOnClick = true;
- padInstructions.CheckState = System.Windows.Forms.CheckState.Checked;
+ padInstructions.CheckState = CheckState.Checked;
padInstructions.Name = "padInstructions";
- padInstructions.Size = new System.Drawing.Size(184, 22);
+ padInstructions.Size = new Size(184, 22);
padInstructions.Text = "Pad Instructions";
padInstructions.CheckStateChanged += DisplayCheckStateChanged;
//
@@ -411,9 +413,9 @@ private void InitializeComponent()
//
showSizes.Checked = true;
showSizes.CheckOnClick = true;
- showSizes.CheckState = System.Windows.Forms.CheckState.Checked;
+ showSizes.CheckState = CheckState.Checked;
showSizes.Name = "showSizes";
- showSizes.Size = new System.Drawing.Size(184, 22);
+ showSizes.Size = new Size(184, 22);
showSizes.Text = "Show Sizes";
showSizes.CheckStateChanged += DisplayCheckStateChanged;
showSizes.Click += showSizesToolStripMenuItem_Click;
@@ -422,45 +424,45 @@ private void InitializeComponent()
//
removeIRNop.CheckOnClick = true;
removeIRNop.Name = "removeIRNop";
- removeIRNop.Size = new System.Drawing.Size(184, 22);
+ removeIRNop.Size = new Size(184, 22);
removeIRNop.Text = "Remove IR.Nop";
removeIRNop.CheckStateChanged += DisplayCheckStateChanged;
//
// advanceToolStripMenuItem
//
advanceToolStripMenuItem.CheckOnClick = true;
- advanceToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { cbEnableMultithreading, cbEnableMethodScanner, cbEnableDebugDiagnostic, cbDumpAllMethodStages });
+ advanceToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { cbEnableMultithreading, cbEnableMethodScanner, cbEnableDebugDiagnostic, cbDumpAllMethodStages });
advanceToolStripMenuItem.Name = "advanceToolStripMenuItem";
- advanceToolStripMenuItem.Size = new System.Drawing.Size(65, 20);
+ advanceToolStripMenuItem.Size = new Size(65, 20);
advanceToolStripMenuItem.Text = "Advance";
//
// cbEnableMultithreading
//
cbEnableMultithreading.Checked = true;
cbEnableMultithreading.CheckOnClick = true;
- cbEnableMultithreading.CheckState = System.Windows.Forms.CheckState.Checked;
+ cbEnableMultithreading.CheckState = CheckState.Checked;
cbEnableMultithreading.Name = "cbEnableMultithreading";
- cbEnableMultithreading.Size = new System.Drawing.Size(206, 22);
+ cbEnableMultithreading.Size = new Size(206, 22);
cbEnableMultithreading.Text = "Enable Multithreading";
//
// cbEnableMethodScanner
//
cbEnableMethodScanner.CheckOnClick = true;
cbEnableMethodScanner.Name = "cbEnableMethodScanner";
- cbEnableMethodScanner.Size = new System.Drawing.Size(206, 22);
+ cbEnableMethodScanner.Size = new Size(206, 22);
cbEnableMethodScanner.Text = "Enable Method Scanner";
//
// cbEnableDebugDiagnostic
//
cbEnableDebugDiagnostic.CheckOnClick = true;
cbEnableDebugDiagnostic.Name = "cbEnableDebugDiagnostic";
- cbEnableDebugDiagnostic.Size = new System.Drawing.Size(206, 22);
+ cbEnableDebugDiagnostic.Size = new Size(206, 22);
cbEnableDebugDiagnostic.Text = "Enable Debug Diagnostic";
//
// cbDumpAllMethodStages
//
cbDumpAllMethodStages.Name = "cbDumpAllMethodStages";
- cbDumpAllMethodStages.Size = new System.Drawing.Size(206, 22);
+ cbDumpAllMethodStages.Size = new Size(206, 22);
cbDumpAllMethodStages.Text = "Dump All Method Stages";
cbDumpAllMethodStages.Click += DumpAllMethodStagesToolStripMenuItem_Click;
//
@@ -472,11 +474,11 @@ private void InitializeComponent()
//
// treeView
//
- treeView.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- treeView.Location = new System.Drawing.Point(4, 31);
- treeView.Margin = new System.Windows.Forms.Padding(0);
+ treeView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ treeView.Location = new Point(4, 31);
+ treeView.Margin = new Padding(0);
treeView.Name = "treeView";
- treeView.Size = new System.Drawing.Size(239, 365);
+ treeView.Size = new Size(239, 365);
treeView.TabIndex = 3;
treeView.BeforeSelect += treeView_BeforeSelect;
treeView.AfterSelect += TreeView_AfterSelect;
@@ -484,71 +486,71 @@ private void InitializeComponent()
//
// splitContainer1
//
- splitContainer1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- splitContainer1.Location = new System.Drawing.Point(0, 54);
- splitContainer1.Margin = new System.Windows.Forms.Padding(0);
+ splitContainer1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ splitContainer1.Location = new Point(0, 54);
+ splitContainer1.Margin = new Padding(0);
splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
- splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Control;
+ splitContainer1.Panel1.BackColor = SystemColors.Control;
splitContainer1.Panel1.Controls.Add(label2);
splitContainer1.Panel1.Controls.Add(tbFilter);
splitContainer1.Panel1.Controls.Add(treeView);
- splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
+ splitContainer1.Panel1.RightToLeft = RightToLeft.No;
//
// splitContainer1.Panel2
//
splitContainer1.Panel2.Controls.Add(tabControl);
- splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No;
- splitContainer1.RightToLeft = System.Windows.Forms.RightToLeft.No;
- splitContainer1.Size = new System.Drawing.Size(940, 396);
+ splitContainer1.Panel2.RightToLeft = RightToLeft.No;
+ splitContainer1.RightToLeft = RightToLeft.No;
+ splitContainer1.Size = new Size(940, 396);
splitContainer1.SplitterDistance = 244;
splitContainer1.TabIndex = 26;
//
// label2
//
label2.AutoSize = true;
- label2.Location = new System.Drawing.Point(4, 9);
- label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label2.Location = new Point(4, 9);
+ label2.Margin = new Padding(4, 0, 4, 0);
label2.Name = "label2";
- label2.Size = new System.Drawing.Size(36, 15);
+ label2.Size = new Size(36, 15);
label2.TabIndex = 5;
label2.Text = "Filter:";
//
// tbFilter
//
- tbFilter.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tbFilter.Location = new System.Drawing.Point(45, 5);
- tbFilter.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbFilter.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
+ tbFilter.Location = new Point(45, 5);
+ tbFilter.Margin = new Padding(4, 3, 4, 3);
tbFilter.Name = "tbFilter";
- tbFilter.Size = new System.Drawing.Size(192, 23);
+ tbFilter.Size = new Size(192, 23);
tbFilter.TabIndex = 4;
tbFilter.TextChanged += tbFilter_TextChanged;
//
// tabControl
//
- tabControl.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tabControl.Appearance = System.Windows.Forms.TabAppearance.Buttons;
+ tabControl.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tabControl.Appearance = TabAppearance.Buttons;
tabControl.Controls.Add(tabStages);
tabControl.Controls.Add(tabStageDebug);
tabControl.Controls.Add(tabTransforms);
tabControl.Controls.Add(tabMethodCounters);
tabControl.Controls.Add(tabLogs);
tabControl.Controls.Add(tabCompilerCounters);
- tabControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- tabControl.Location = new System.Drawing.Point(1, 3);
- tabControl.Margin = new System.Windows.Forms.Padding(0);
+ tabControl.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point);
+ tabControl.Location = new Point(1, 3);
+ tabControl.Margin = new Padding(0);
tabControl.Name = "tabControl";
- tabControl.Padding = new System.Drawing.Point(0, 0);
+ tabControl.Padding = new Point(0, 0);
tabControl.SelectedIndex = 0;
- tabControl.Size = new System.Drawing.Size(691, 393);
+ tabControl.Size = new Size(691, 393);
tabControl.TabIndex = 38;
tabControl.SelectedIndexChanged += tabControl_SelectedIndexChanged;
//
// tabStages
//
- tabStages.BackColor = System.Drawing.Color.Gainsboro;
+ tabStages.BackColor = Color.Gainsboro;
tabStages.Controls.Add(btnSaveB);
tabStages.Controls.Add(btnSaveA);
tabStages.Controls.Add(label1);
@@ -556,18 +558,18 @@ private void InitializeComponent()
tabStages.Controls.Add(cbInstructionStages);
tabStages.Controls.Add(stageLabel);
tabStages.Controls.Add(tbInstructions);
- tabStages.Location = new System.Drawing.Point(4, 28);
- tabStages.Margin = new System.Windows.Forms.Padding(0);
+ tabStages.Location = new Point(4, 28);
+ tabStages.Margin = new Padding(0);
tabStages.Name = "tabStages";
- tabStages.Size = new System.Drawing.Size(683, 361);
+ tabStages.Size = new Size(683, 361);
tabStages.TabIndex = 0;
tabStages.Text = "Instructions";
//
// btnSaveB
//
- btnSaveB.Location = new System.Drawing.Point(613, 6);
+ btnSaveB.Location = new Point(613, 6);
btnSaveB.Name = "btnSaveB";
- btnSaveB.Size = new System.Drawing.Size(64, 23);
+ btnSaveB.Size = new Size(64, 23);
btnSaveB.TabIndex = 43;
btnSaveB.Text = "Save B";
btnSaveB.UseVisualStyleBackColor = true;
@@ -575,9 +577,9 @@ private void InitializeComponent()
//
// btnSaveA
//
- btnSaveA.Location = new System.Drawing.Point(543, 6);
+ btnSaveA.Location = new Point(543, 6);
btnSaveA.Name = "btnSaveA";
- btnSaveA.Size = new System.Drawing.Size(64, 23);
+ btnSaveA.Size = new Size(64, 23);
btnSaveA.TabIndex = 42;
btnSaveA.Text = "Save A";
btnSaveA.UseVisualStyleBackColor = true;
@@ -585,84 +587,84 @@ private void InitializeComponent()
//
// label1
//
- label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- label1.Location = new System.Drawing.Point(352, 9);
- label1.Margin = new System.Windows.Forms.Padding(5);
+ label1.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point);
+ label1.Location = new Point(352, 9);
+ label1.Margin = new Padding(5);
label1.Name = "label1";
- label1.Size = new System.Drawing.Size(56, 23);
+ label1.Size = new Size(56, 23);
label1.TabIndex = 41;
label1.Text = "Block:";
//
// cbInstructionLabels
//
- cbInstructionLabels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- cbInstructionLabels.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ cbInstructionLabels.DropDownStyle = ComboBoxStyle.DropDownList;
+ cbInstructionLabels.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
cbInstructionLabels.FormattingEnabled = true;
- cbInstructionLabels.Location = new System.Drawing.Point(413, 8);
- cbInstructionLabels.Margin = new System.Windows.Forms.Padding(5);
+ cbInstructionLabels.Location = new Point(413, 8);
+ cbInstructionLabels.Margin = new Padding(5);
cbInstructionLabels.MaxDropDownItems = 20;
cbInstructionLabels.Name = "cbInstructionLabels";
- cbInstructionLabels.Size = new System.Drawing.Size(122, 21);
+ cbInstructionLabels.Size = new Size(122, 21);
cbInstructionLabels.TabIndex = 40;
cbInstructionLabels.SelectedIndexChanged += cbInstructionLabels_SelectedIndexChanged;
//
// cbInstructionStages
//
- cbInstructionStages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- cbInstructionStages.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ cbInstructionStages.DropDownStyle = ComboBoxStyle.DropDownList;
+ cbInstructionStages.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
cbInstructionStages.FormattingEnabled = true;
cbInstructionStages.ItemHeight = 13;
- cbInstructionStages.Location = new System.Drawing.Point(64, 8);
- cbInstructionStages.Margin = new System.Windows.Forms.Padding(5);
+ cbInstructionStages.Location = new Point(64, 8);
+ cbInstructionStages.Margin = new Padding(5);
cbInstructionStages.MaxDropDownItems = 40;
cbInstructionStages.Name = "cbInstructionStages";
- cbInstructionStages.Size = new System.Drawing.Size(282, 21);
+ cbInstructionStages.Size = new Size(282, 21);
cbInstructionStages.TabIndex = 38;
cbInstructionStages.SelectedIndexChanged += cbInstructionStages_SelectedIndexChanged;
//
// stageLabel
//
- stageLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- stageLabel.Location = new System.Drawing.Point(5, 9);
- stageLabel.Margin = new System.Windows.Forms.Padding(5);
+ stageLabel.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point);
+ stageLabel.Location = new Point(5, 9);
+ stageLabel.Margin = new Padding(5);
stageLabel.Name = "stageLabel";
- stageLabel.Size = new System.Drawing.Size(58, 23);
+ stageLabel.Size = new Size(58, 23);
stageLabel.TabIndex = 39;
stageLabel.Text = "Stage:";
//
// tbInstructions
//
- tbInstructions.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tbInstructions.Font = new System.Drawing.Font("Lucida Console", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- tbInstructions.Location = new System.Drawing.Point(0, 37);
- tbInstructions.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbInstructions.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tbInstructions.Font = new Font("Lucida Console", 8F, FontStyle.Regular, GraphicsUnit.Point);
+ tbInstructions.Location = new Point(0, 37);
+ tbInstructions.Margin = new Padding(4, 3, 4, 3);
tbInstructions.Name = "tbInstructions";
- tbInstructions.Size = new System.Drawing.Size(677, 324);
+ tbInstructions.Size = new Size(677, 324);
tbInstructions.TabIndex = 31;
tbInstructions.Text = "";
tbInstructions.WordWrap = false;
//
// tabStageDebug
//
- tabStageDebug.BackColor = System.Drawing.Color.Gainsboro;
+ tabStageDebug.BackColor = Color.Gainsboro;
tabStageDebug.Controls.Add(cbGraphviz);
tabStageDebug.Controls.Add(cbDebugStages);
tabStageDebug.Controls.Add(label3);
tabStageDebug.Controls.Add(tbDebugResult);
tabStageDebug.Controls.Add(panel1);
- tabStageDebug.Location = new System.Drawing.Point(4, 28);
- tabStageDebug.Margin = new System.Windows.Forms.Padding(0);
+ tabStageDebug.Location = new Point(4, 28);
+ tabStageDebug.Margin = new Padding(0);
tabStageDebug.Name = "tabStageDebug";
- tabStageDebug.Size = new System.Drawing.Size(683, 361);
+ tabStageDebug.Size = new Size(683, 361);
tabStageDebug.TabIndex = 1;
tabStageDebug.Text = "Debug";
//
// cbGraphviz
//
cbGraphviz.AutoSize = true;
- cbGraphviz.Location = new System.Drawing.Point(523, 10);
+ cbGraphviz.Location = new Point(523, 10);
cbGraphviz.Name = "cbGraphviz";
- cbGraphviz.Size = new System.Drawing.Size(73, 21);
+ cbGraphviz.Size = new Size(73, 21);
cbGraphviz.TabIndex = 44;
cbGraphviz.Text = "Display";
cbGraphviz.UseVisualStyleBackColor = true;
@@ -670,68 +672,90 @@ private void InitializeComponent()
//
// cbDebugStages
//
- cbDebugStages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- cbDebugStages.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ cbDebugStages.DropDownStyle = ComboBoxStyle.DropDownList;
+ cbDebugStages.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
cbDebugStages.FormattingEnabled = true;
- cbDebugStages.Location = new System.Drawing.Point(64, 8);
- cbDebugStages.Margin = new System.Windows.Forms.Padding(5);
+ cbDebugStages.Location = new Point(64, 8);
+ cbDebugStages.Margin = new Padding(5);
cbDebugStages.MaxDropDownItems = 20;
cbDebugStages.Name = "cbDebugStages";
- cbDebugStages.Size = new System.Drawing.Size(451, 21);
+ cbDebugStages.Size = new Size(451, 21);
cbDebugStages.TabIndex = 40;
cbDebugStages.SelectedIndexChanged += cbDebugStages_SelectedIndexChanged;
//
// label3
//
- label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- label3.Location = new System.Drawing.Point(5, 9);
- label3.Margin = new System.Windows.Forms.Padding(5);
+ label3.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point);
+ label3.Location = new Point(5, 9);
+ label3.Margin = new Padding(5);
label3.Name = "label3";
- label3.Size = new System.Drawing.Size(58, 23);
+ label3.Size = new Size(58, 23);
label3.TabIndex = 41;
label3.Text = "Stage:";
//
// tbDebugResult
//
- tbDebugResult.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tbDebugResult.Font = new System.Drawing.Font("Lucida Console", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- tbDebugResult.Location = new System.Drawing.Point(0, 37);
- tbDebugResult.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbDebugResult.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tbDebugResult.Font = new Font("Lucida Console", 8F, FontStyle.Regular, GraphicsUnit.Point);
+ tbDebugResult.Location = new Point(0, 37);
+ tbDebugResult.Margin = new Padding(4, 3, 4, 3);
tbDebugResult.Name = "tbDebugResult";
- tbDebugResult.Size = new System.Drawing.Size(679, 331);
+ tbDebugResult.Size = new Size(679, 331);
tbDebugResult.TabIndex = 32;
tbDebugResult.Text = "";
tbDebugResult.WordWrap = false;
//
// panel1
//
- panel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ panel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
panel1.AutoScroll = true;
- panel1.Location = new System.Drawing.Point(5, 40);
+ panel1.Location = new Point(5, 40);
panel1.Name = "panel1";
- panel1.Size = new System.Drawing.Size(674, 321);
+ panel1.Size = new Size(674, 321);
panel1.TabIndex = 45;
//
// tabTransforms
//
- tabTransforms.BackColor = System.Drawing.Color.Gainsboro;
+ tabTransforms.BackColor = Color.Gainsboro;
+ tabTransforms.Controls.Add(button1);
+ tabTransforms.Controls.Add(button2);
tabTransforms.Controls.Add(splitContainer2);
tabTransforms.Controls.Add(label7);
tabTransforms.Controls.Add(cbTransformLabels);
tabTransforms.Controls.Add(cbTransformStages);
tabTransforms.Controls.Add(label8);
- tabTransforms.Location = new System.Drawing.Point(4, 28);
+ tabTransforms.Location = new Point(4, 28);
tabTransforms.Name = "tabTransforms";
- tabTransforms.Padding = new System.Windows.Forms.Padding(3);
- tabTransforms.Size = new System.Drawing.Size(683, 361);
+ tabTransforms.Padding = new Padding(3);
+ tabTransforms.Size = new Size(683, 361);
tabTransforms.TabIndex = 9;
tabTransforms.Text = "Transforms";
//
+ // button1
+ //
+ button1.Location = new Point(623, 6);
+ button1.Name = "button1";
+ button1.Size = new Size(64, 23);
+ button1.TabIndex = 50;
+ button1.Text = "Save 2";
+ button1.UseVisualStyleBackColor = true;
+ button1.Click += button1_Click;
+ //
+ // button2
+ //
+ button2.Location = new Point(553, 6);
+ button2.Name = "button2";
+ button2.Size = new Size(64, 23);
+ button2.TabIndex = 49;
+ button2.Text = "Save 1";
+ button2.UseVisualStyleBackColor = true;
+ button2.Click += button2_Click;
+ //
// splitContainer2
//
- splitContainer2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- splitContainer2.Location = new System.Drawing.Point(0, 34);
- splitContainer2.Margin = new System.Windows.Forms.Padding(0);
+ splitContainer2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ splitContainer2.Location = new Point(0, 34);
+ splitContainer2.Margin = new Padding(0);
splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
@@ -747,63 +771,63 @@ private void InitializeComponent()
//
splitContainer2.Panel2.Controls.Add(cbSetBlock);
splitContainer2.Panel2.Controls.Add(dataGridView1);
- splitContainer2.Size = new System.Drawing.Size(683, 327);
+ splitContainer2.Size = new Size(683, 327);
splitContainer2.SplitterDistance = 424;
splitContainer2.TabIndex = 48;
//
// lbSteps
//
lbSteps.AutoSize = true;
- lbSteps.Location = new System.Drawing.Point(348, 7);
+ lbSteps.Location = new Point(348, 7);
lbSteps.Name = "lbSteps";
- lbSteps.Size = new System.Drawing.Size(52, 17);
+ lbSteps.Size = new Size(52, 17);
lbSteps.TabIndex = 42;
lbSteps.Text = "## / ##";
//
// btnLast
//
- btnLast.Location = new System.Drawing.Point(250, 4);
+ btnLast.Location = new Point(250, 4);
btnLast.Name = "btnLast";
- btnLast.Size = new System.Drawing.Size(75, 23);
+ btnLast.Size = new Size(75, 23);
btnLast.TabIndex = 41;
btnLast.Text = "Last";
btnLast.UseVisualStyleBackColor = true;
//
// btnNext
//
- btnNext.Location = new System.Drawing.Point(169, 4);
+ btnNext.Location = new Point(169, 4);
btnNext.Name = "btnNext";
- btnNext.Size = new System.Drawing.Size(75, 23);
+ btnNext.Size = new Size(75, 23);
btnNext.TabIndex = 40;
btnNext.Text = "Next";
btnNext.UseVisualStyleBackColor = true;
//
// btnPrevious
//
- btnPrevious.Location = new System.Drawing.Point(88, 4);
+ btnPrevious.Location = new Point(88, 4);
btnPrevious.Name = "btnPrevious";
- btnPrevious.Size = new System.Drawing.Size(75, 23);
+ btnPrevious.Size = new Size(75, 23);
btnPrevious.TabIndex = 39;
btnPrevious.Text = "Previous";
btnPrevious.UseVisualStyleBackColor = true;
//
// btnFirst
//
- btnFirst.Location = new System.Drawing.Point(7, 4);
+ btnFirst.Location = new Point(7, 4);
btnFirst.Name = "btnFirst";
- btnFirst.Size = new System.Drawing.Size(75, 23);
+ btnFirst.Size = new Size(75, 23);
btnFirst.TabIndex = 38;
btnFirst.Text = "First";
btnFirst.UseVisualStyleBackColor = true;
//
// tbTransforms
//
- tbTransforms.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tbTransforms.Font = new System.Drawing.Font("Lucida Console", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- tbTransforms.Location = new System.Drawing.Point(0, 34);
- tbTransforms.Margin = new System.Windows.Forms.Padding(0);
+ tbTransforms.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tbTransforms.Font = new Font("Lucida Console", 8F, FontStyle.Regular, GraphicsUnit.Point);
+ tbTransforms.Location = new Point(0, 34);
+ tbTransforms.Margin = new Padding(0);
tbTransforms.Name = "tbTransforms";
- tbTransforms.Size = new System.Drawing.Size(416, 287);
+ tbTransforms.Size = new Size(416, 287);
tbTransforms.TabIndex = 33;
tbTransforms.Text = "";
tbTransforms.WordWrap = false;
@@ -811,9 +835,9 @@ private void InitializeComponent()
// cbSetBlock
//
cbSetBlock.AutoSize = true;
- cbSetBlock.Location = new System.Drawing.Point(5, 6);
+ cbSetBlock.Location = new Point(5, 6);
cbSetBlock.Name = "cbSetBlock";
- cbSetBlock.Size = new System.Drawing.Size(86, 21);
+ cbSetBlock.Size = new Size(86, 21);
cbSetBlock.TabIndex = 50;
cbSetBlock.Text = "Set Block";
cbSetBlock.UseVisualStyleBackColor = true;
@@ -824,123 +848,123 @@ private void InitializeComponent()
dataGridView1.AllowUserToAddRows = false;
dataGridView1.AllowUserToDeleteRows = false;
dataGridView1.AllowUserToResizeRows = false;
- dataGridView1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- dataGridView1.Location = new System.Drawing.Point(0, 34);
- dataGridView1.Margin = new System.Windows.Forms.Padding(0);
+ dataGridView1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ dataGridView1.Location = new Point(0, 34);
+ dataGridView1.Margin = new Padding(0);
dataGridView1.MultiSelect = false;
dataGridView1.Name = "dataGridView1";
dataGridView1.ReadOnly = true;
dataGridView1.RowHeadersVisible = false;
- dataGridView1.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Consolas", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ dataGridView1.RowTemplate.DefaultCellStyle.Font = new Font("Consolas", 8F, FontStyle.Regular, GraphicsUnit.Point);
dataGridView1.RowTemplate.Height = 18;
- dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- dataGridView1.Size = new System.Drawing.Size(253, 290);
+ dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
+ dataGridView1.Size = new Size(253, 290);
dataGridView1.TabIndex = 48;
dataGridView1.SelectionChanged += dataGridView1_SelectionChanged;
//
// label7
//
- label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- label7.Location = new System.Drawing.Point(352, 9);
- label7.Margin = new System.Windows.Forms.Padding(5);
+ label7.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point);
+ label7.Location = new Point(352, 9);
+ label7.Margin = new Padding(5);
label7.Name = "label7";
- label7.Size = new System.Drawing.Size(56, 23);
+ label7.Size = new Size(56, 23);
label7.TabIndex = 45;
label7.Text = "Block:";
//
// cbTransformLabels
//
- cbTransformLabels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- cbTransformLabels.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ cbTransformLabels.DropDownStyle = ComboBoxStyle.DropDownList;
+ cbTransformLabels.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
cbTransformLabels.FormattingEnabled = true;
- cbTransformLabels.Location = new System.Drawing.Point(413, 8);
- cbTransformLabels.Margin = new System.Windows.Forms.Padding(5);
+ cbTransformLabels.Location = new Point(413, 8);
+ cbTransformLabels.Margin = new Padding(5);
cbTransformLabels.MaxDropDownItems = 20;
cbTransformLabels.Name = "cbTransformLabels";
- cbTransformLabels.Size = new System.Drawing.Size(122, 21);
+ cbTransformLabels.Size = new Size(122, 21);
cbTransformLabels.TabIndex = 44;
cbTransformLabels.SelectedIndexChanged += cbTransformLabels_SelectedIndexChanged;
//
// cbTransformStages
//
- cbTransformStages.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- cbTransformStages.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ cbTransformStages.DropDownStyle = ComboBoxStyle.DropDownList;
+ cbTransformStages.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
cbTransformStages.FormattingEnabled = true;
cbTransformStages.ItemHeight = 13;
- cbTransformStages.Location = new System.Drawing.Point(64, 8);
- cbTransformStages.Margin = new System.Windows.Forms.Padding(5);
+ cbTransformStages.Location = new Point(64, 8);
+ cbTransformStages.Margin = new Padding(5);
cbTransformStages.MaxDropDownItems = 40;
cbTransformStages.Name = "cbTransformStages";
- cbTransformStages.Size = new System.Drawing.Size(282, 21);
+ cbTransformStages.Size = new Size(282, 21);
cbTransformStages.TabIndex = 42;
cbTransformStages.SelectedIndexChanged += cbTransformStages_SelectedIndexChanged;
//
// label8
//
- label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- label8.Location = new System.Drawing.Point(5, 9);
- label8.Margin = new System.Windows.Forms.Padding(5);
+ label8.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point);
+ label8.Location = new Point(5, 9);
+ label8.Margin = new Padding(5);
label8.Name = "label8";
- label8.Size = new System.Drawing.Size(58, 23);
+ label8.Size = new Size(58, 23);
label8.TabIndex = 43;
label8.Text = "Stage:";
//
// tabMethodCounters
//
- tabMethodCounters.BackColor = System.Drawing.Color.Gainsboro;
+ tabMethodCounters.BackColor = Color.Gainsboro;
tabMethodCounters.Controls.Add(tabControl1);
- tabMethodCounters.Location = new System.Drawing.Point(4, 28);
- tabMethodCounters.Margin = new System.Windows.Forms.Padding(0);
+ tabMethodCounters.Location = new Point(4, 28);
+ tabMethodCounters.Margin = new Padding(0);
tabMethodCounters.Name = "tabMethodCounters";
- tabMethodCounters.Size = new System.Drawing.Size(683, 361);
+ tabMethodCounters.Size = new Size(683, 361);
tabMethodCounters.TabIndex = 6;
tabMethodCounters.Text = "Counters";
//
// tabControl1
//
- tabControl1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tabControl1.Appearance = System.Windows.Forms.TabAppearance.Buttons;
+ tabControl1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tabControl1.Appearance = TabAppearance.Buttons;
tabControl1.Controls.Add(tabPage1);
tabControl1.Controls.Add(tabPage2);
- tabControl1.Location = new System.Drawing.Point(0, 0);
- tabControl1.Margin = new System.Windows.Forms.Padding(0);
+ tabControl1.Location = new Point(0, 0);
+ tabControl1.Margin = new Padding(0);
tabControl1.Multiline = true;
tabControl1.Name = "tabControl1";
tabControl1.SelectedIndex = 0;
- tabControl1.Size = new System.Drawing.Size(687, 368);
+ tabControl1.Size = new Size(687, 368);
tabControl1.TabIndex = 7;
//
// tabPage1
//
- tabPage1.BackColor = System.Drawing.SystemColors.Control;
+ tabPage1.BackColor = SystemColors.Control;
tabPage1.Controls.Add(label5);
tabPage1.Controls.Add(tbCounterFilter);
tabPage1.Controls.Add(gridMethodCounters);
- tabPage1.Location = new System.Drawing.Point(4, 28);
- tabPage1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ tabPage1.Location = new Point(4, 28);
+ tabPage1.Margin = new Padding(3, 2, 3, 2);
tabPage1.Name = "tabPage1";
- tabPage1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
- tabPage1.Size = new System.Drawing.Size(679, 336);
+ tabPage1.Padding = new Padding(3, 2, 3, 2);
+ tabPage1.Size = new Size(679, 336);
tabPage1.TabIndex = 0;
tabPage1.Text = "Grid";
//
// label5
//
label5.AutoSize = true;
- label5.Location = new System.Drawing.Point(495, 13);
- label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label5.Location = new Point(495, 13);
+ label5.Margin = new Padding(4, 0, 4, 0);
label5.Name = "label5";
- label5.Size = new System.Drawing.Size(43, 17);
+ label5.Size = new Size(43, 17);
label5.TabIndex = 9;
label5.Text = "Filter:";
//
// tbCounterFilter
//
- tbCounterFilter.Location = new System.Drawing.Point(495, 31);
- tbCounterFilter.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbCounterFilter.Location = new Point(495, 31);
+ tbCounterFilter.Margin = new Padding(4, 3, 4, 3);
tbCounterFilter.Name = "tbCounterFilter";
- tbCounterFilter.Size = new System.Drawing.Size(178, 23);
+ tbCounterFilter.Size = new Size(178, 23);
tbCounterFilter.TabIndex = 8;
tbCounterFilter.TextChanged += tbMethodCounterFilter_TextChanged;
//
@@ -949,90 +973,90 @@ private void InitializeComponent()
gridMethodCounters.AllowUserToAddRows = false;
gridMethodCounters.AllowUserToDeleteRows = false;
gridMethodCounters.AllowUserToOrderColumns = true;
- gridMethodCounters.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
- gridMethodCounters.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- gridMethodCounters.Location = new System.Drawing.Point(3, 0);
+ gridMethodCounters.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
+ gridMethodCounters.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ gridMethodCounters.Location = new Point(3, 0);
gridMethodCounters.Name = "gridMethodCounters";
gridMethodCounters.ReadOnly = true;
gridMethodCounters.RowHeadersVisible = false;
gridMethodCounters.RowHeadersWidth = 51;
- gridMethodCounters.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ gridMethodCounters.RowTemplate.DefaultCellStyle.Font = new Font("Microsoft Sans Serif", 7.8F, FontStyle.Regular, GraphicsUnit.Point);
gridMethodCounters.RowTemplate.Height = 20;
gridMethodCounters.ShowCellErrors = false;
gridMethodCounters.ShowCellToolTips = false;
gridMethodCounters.ShowEditingIcon = false;
gridMethodCounters.ShowRowErrors = false;
- gridMethodCounters.Size = new System.Drawing.Size(481, 334);
+ gridMethodCounters.Size = new Size(481, 334);
gridMethodCounters.TabIndex = 7;
//
// tabPage2
//
tabPage2.Controls.Add(tbMethodCounters);
- tabPage2.Location = new System.Drawing.Point(4, 27);
- tabPage2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ tabPage2.Location = new Point(4, 27);
+ tabPage2.Margin = new Padding(3, 2, 3, 2);
tabPage2.Name = "tabPage2";
- tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
- tabPage2.Size = new System.Drawing.Size(679, 337);
+ tabPage2.Padding = new Padding(3, 2, 3, 2);
+ tabPage2.Size = new Size(679, 337);
tabPage2.TabIndex = 1;
tabPage2.Text = "Text";
tabPage2.UseVisualStyleBackColor = true;
//
// tbMethodCounters
//
- tbMethodCounters.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tbMethodCounters.Font = new System.Drawing.Font("Lucida Console", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- tbMethodCounters.Location = new System.Drawing.Point(0, 3);
- tbMethodCounters.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbMethodCounters.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tbMethodCounters.Font = new Font("Lucida Console", 8F, FontStyle.Regular, GraphicsUnit.Point);
+ tbMethodCounters.Location = new Point(0, 3);
+ tbMethodCounters.Margin = new Padding(4, 3, 4, 3);
tbMethodCounters.Name = "tbMethodCounters";
- tbMethodCounters.Size = new System.Drawing.Size(676, 334);
+ tbMethodCounters.Size = new Size(676, 334);
tbMethodCounters.TabIndex = 10;
tbMethodCounters.Text = "";
tbMethodCounters.WordWrap = false;
//
// tabLogs
//
- tabLogs.BackColor = System.Drawing.Color.Gainsboro;
+ tabLogs.BackColor = Color.Gainsboro;
tabLogs.Controls.Add(cbCompilerSections);
tabLogs.Controls.Add(label4);
tabLogs.Controls.Add(tbCompilerLogs);
- tabLogs.Location = new System.Drawing.Point(4, 28);
- tabLogs.Margin = new System.Windows.Forms.Padding(0);
+ tabLogs.Location = new Point(4, 28);
+ tabLogs.Margin = new Padding(0);
tabLogs.Name = "tabLogs";
- tabLogs.Size = new System.Drawing.Size(683, 361);
+ tabLogs.Size = new Size(683, 361);
tabLogs.TabIndex = 7;
tabLogs.Text = "Compiler Logs";
//
// cbCompilerSections
//
- cbCompilerSections.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- cbCompilerSections.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ cbCompilerSections.DropDownStyle = ComboBoxStyle.DropDownList;
+ cbCompilerSections.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
cbCompilerSections.FormattingEnabled = true;
- cbCompilerSections.Location = new System.Drawing.Point(77, 8);
- cbCompilerSections.Margin = new System.Windows.Forms.Padding(5);
+ cbCompilerSections.Location = new Point(77, 8);
+ cbCompilerSections.Margin = new Padding(5);
cbCompilerSections.MaxDropDownItems = 20;
cbCompilerSections.Name = "cbCompilerSections";
- cbCompilerSections.Size = new System.Drawing.Size(285, 21);
+ cbCompilerSections.Size = new Size(285, 21);
cbCompilerSections.TabIndex = 44;
cbCompilerSections.SelectedIndexChanged += cbCompilerSections_SelectedIndexChanged;
//
// label4
//
- label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- label4.Location = new System.Drawing.Point(5, 9);
- label4.Margin = new System.Windows.Forms.Padding(5);
+ label4.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point);
+ label4.Location = new Point(5, 9);
+ label4.Margin = new Padding(5);
label4.Name = "label4";
- label4.Size = new System.Drawing.Size(70, 23);
+ label4.Size = new Size(70, 23);
label4.TabIndex = 45;
label4.Text = "Section:";
//
// tbCompilerLogs
//
- tbCompilerLogs.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tbCompilerLogs.Font = new System.Drawing.Font("Lucida Console", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- tbCompilerLogs.Location = new System.Drawing.Point(0, 37);
- tbCompilerLogs.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbCompilerLogs.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tbCompilerLogs.Font = new Font("Lucida Console", 8F, FontStyle.Regular, GraphicsUnit.Point);
+ tbCompilerLogs.Location = new Point(0, 37);
+ tbCompilerLogs.Margin = new Padding(4, 3, 4, 3);
tbCompilerLogs.Name = "tbCompilerLogs";
- tbCompilerLogs.Size = new System.Drawing.Size(683, 324);
+ tbCompilerLogs.Size = new Size(683, 324);
tbCompilerLogs.TabIndex = 3;
tbCompilerLogs.Text = "";
tbCompilerLogs.WordWrap = false;
@@ -1040,59 +1064,59 @@ private void InitializeComponent()
// tabCompilerCounters
//
tabCompilerCounters.Controls.Add(tabControl2);
- tabCompilerCounters.Location = new System.Drawing.Point(4, 28);
- tabCompilerCounters.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ tabCompilerCounters.Location = new Point(4, 28);
+ tabCompilerCounters.Margin = new Padding(3, 2, 3, 2);
tabCompilerCounters.Name = "tabCompilerCounters";
- tabCompilerCounters.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
- tabCompilerCounters.Size = new System.Drawing.Size(683, 361);
+ tabCompilerCounters.Padding = new Padding(3, 2, 3, 2);
+ tabCompilerCounters.Size = new Size(683, 361);
tabCompilerCounters.TabIndex = 8;
tabCompilerCounters.Text = "Compiler Counters";
tabCompilerCounters.UseVisualStyleBackColor = true;
//
// tabControl2
//
- tabControl2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tabControl2.Appearance = System.Windows.Forms.TabAppearance.Buttons;
+ tabControl2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tabControl2.Appearance = TabAppearance.Buttons;
tabControl2.Controls.Add(tabPage4);
tabControl2.Controls.Add(tabPage5);
- tabControl2.Location = new System.Drawing.Point(0, 0);
- tabControl2.Margin = new System.Windows.Forms.Padding(0);
+ tabControl2.Location = new Point(0, 0);
+ tabControl2.Margin = new Padding(0);
tabControl2.Multiline = true;
tabControl2.Name = "tabControl2";
tabControl2.SelectedIndex = 0;
- tabControl2.Size = new System.Drawing.Size(687, 365);
+ tabControl2.Size = new Size(687, 365);
tabControl2.TabIndex = 8;
//
// tabPage4
//
- tabPage4.BackColor = System.Drawing.SystemColors.Control;
+ tabPage4.BackColor = SystemColors.Control;
tabPage4.Controls.Add(label6);
tabPage4.Controls.Add(tbCompilerCounterFilter);
tabPage4.Controls.Add(gridCompilerCounters);
- tabPage4.Location = new System.Drawing.Point(4, 28);
- tabPage4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ tabPage4.Location = new Point(4, 28);
+ tabPage4.Margin = new Padding(3, 2, 3, 2);
tabPage4.Name = "tabPage4";
- tabPage4.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
- tabPage4.Size = new System.Drawing.Size(679, 333);
+ tabPage4.Padding = new Padding(3, 2, 3, 2);
+ tabPage4.Size = new Size(679, 333);
tabPage4.TabIndex = 0;
tabPage4.Text = "Grid";
//
// label6
//
label6.AutoSize = true;
- label6.Location = new System.Drawing.Point(498, 15);
- label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label6.Location = new Point(498, 15);
+ label6.Margin = new Padding(4, 0, 4, 0);
label6.Name = "label6";
- label6.Size = new System.Drawing.Size(43, 17);
+ label6.Size = new Size(43, 17);
label6.TabIndex = 9;
label6.Text = "Filter:";
//
// tbCompilerCounterFilter
//
- tbCompilerCounterFilter.Location = new System.Drawing.Point(495, 31);
- tbCompilerCounterFilter.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbCompilerCounterFilter.Location = new Point(495, 31);
+ tbCompilerCounterFilter.Margin = new Padding(4, 3, 4, 3);
tbCompilerCounterFilter.Name = "tbCompilerCounterFilter";
- tbCompilerCounterFilter.Size = new System.Drawing.Size(178, 23);
+ tbCompilerCounterFilter.Size = new Size(178, 23);
tbCompilerCounterFilter.TabIndex = 8;
tbCompilerCounterFilter.TextChanged += tbCompilerCounterFilter_TextChanged;
//
@@ -1101,111 +1125,111 @@ private void InitializeComponent()
gridCompilerCounters.AllowUserToAddRows = false;
gridCompilerCounters.AllowUserToDeleteRows = false;
gridCompilerCounters.AllowUserToOrderColumns = true;
- gridCompilerCounters.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
- gridCompilerCounters.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- gridCompilerCounters.Location = new System.Drawing.Point(3, 0);
+ gridCompilerCounters.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
+ gridCompilerCounters.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ gridCompilerCounters.Location = new Point(3, 0);
gridCompilerCounters.Name = "gridCompilerCounters";
gridCompilerCounters.ReadOnly = true;
gridCompilerCounters.RowHeadersVisible = false;
gridCompilerCounters.RowHeadersWidth = 51;
- gridCompilerCounters.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ gridCompilerCounters.RowTemplate.DefaultCellStyle.Font = new Font("Microsoft Sans Serif", 7.8F, FontStyle.Regular, GraphicsUnit.Point);
gridCompilerCounters.RowTemplate.Height = 20;
gridCompilerCounters.ShowCellErrors = false;
gridCompilerCounters.ShowCellToolTips = false;
gridCompilerCounters.ShowEditingIcon = false;
gridCompilerCounters.ShowRowErrors = false;
- gridCompilerCounters.Size = new System.Drawing.Size(481, 332);
+ gridCompilerCounters.Size = new Size(481, 332);
gridCompilerCounters.TabIndex = 7;
//
// tabPage5
//
tabPage5.Controls.Add(tbCompilerCounters);
- tabPage5.Location = new System.Drawing.Point(4, 27);
- tabPage5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ tabPage5.Location = new Point(4, 27);
+ tabPage5.Margin = new Padding(3, 2, 3, 2);
tabPage5.Name = "tabPage5";
- tabPage5.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
- tabPage5.Size = new System.Drawing.Size(679, 334);
+ tabPage5.Padding = new Padding(3, 2, 3, 2);
+ tabPage5.Size = new Size(679, 334);
tabPage5.TabIndex = 1;
tabPage5.Text = "Text";
tabPage5.UseVisualStyleBackColor = true;
//
// tbCompilerCounters
//
- tbCompilerCounters.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
- tbCompilerCounters.Font = new System.Drawing.Font("Lucida Console", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
- tbCompilerCounters.Location = new System.Drawing.Point(0, 0);
- tbCompilerCounters.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ tbCompilerCounters.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
+ tbCompilerCounters.Font = new Font("Lucida Console", 8F, FontStyle.Regular, GraphicsUnit.Point);
+ tbCompilerCounters.Location = new Point(0, 0);
+ tbCompilerCounters.Margin = new Padding(4, 3, 4, 3);
tbCompilerCounters.Name = "tbCompilerCounters";
- tbCompilerCounters.Size = new System.Drawing.Size(676, 330);
+ tbCompilerCounters.Size = new Size(676, 330);
tbCompilerCounters.TabIndex = 10;
tbCompilerCounters.Text = "";
tbCompilerCounters.WordWrap = false;
//
// toolStrip1
//
- toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
- toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { cbPlatform, toolStripSeparator3, tsbOpen, toolStripSeparator2, tsbRefresh, toolStripSeparator1, tsbCompile });
- toolStrip1.Location = new System.Drawing.Point(0, 24);
+ toolStrip1.ImageScalingSize = new Size(20, 20);
+ toolStrip1.Items.AddRange(new ToolStripItem[] { cbPlatform, toolStripSeparator3, tsbOpen, toolStripSeparator2, tsbRefresh, toolStripSeparator1, tsbCompile });
+ toolStrip1.Location = new Point(0, 24);
toolStrip1.Name = "toolStrip1";
- toolStrip1.Size = new System.Drawing.Size(940, 27);
+ toolStrip1.Size = new Size(940, 27);
toolStrip1.TabIndex = 27;
toolStrip1.Text = "toolStrip1";
//
// cbPlatform
//
- cbPlatform.BackColor = System.Drawing.SystemColors.Window;
- cbPlatform.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- cbPlatform.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
+ cbPlatform.BackColor = SystemColors.Window;
+ cbPlatform.DropDownStyle = ComboBoxStyle.DropDownList;
+ cbPlatform.FlatStyle = FlatStyle.Standard;
cbPlatform.Items.AddRange(new object[] { "x86", "x64", "ARM32" });
cbPlatform.Name = "cbPlatform";
- cbPlatform.Size = new System.Drawing.Size(104, 27);
+ cbPlatform.Size = new Size(104, 27);
cbPlatform.SelectedIndexChanged += cbPlatform_SelectedIndexChanged;
//
// toolStripSeparator3
//
toolStripSeparator3.Name = "toolStripSeparator3";
- toolStripSeparator3.Size = new System.Drawing.Size(6, 27);
+ toolStripSeparator3.Size = new Size(6, 27);
//
// tsbOpen
//
- tsbOpen.Image = (System.Drawing.Image)resources.GetObject("tsbOpen.Image");
- tsbOpen.ImageTransparentColor = System.Drawing.Color.Magenta;
+ tsbOpen.Image = (Image)resources.GetObject("tsbOpen.Image");
+ tsbOpen.ImageTransparentColor = Color.Magenta;
tsbOpen.Name = "tsbOpen";
- tsbOpen.Size = new System.Drawing.Size(60, 24);
+ tsbOpen.Size = new Size(60, 24);
tsbOpen.Text = "Open";
tsbOpen.Click += ToolStripButton1_Click;
//
// toolStripSeparator2
//
toolStripSeparator2.Name = "toolStripSeparator2";
- toolStripSeparator2.Size = new System.Drawing.Size(6, 27);
+ toolStripSeparator2.Size = new Size(6, 27);
//
// tsbRefresh
//
- tsbRefresh.Image = (System.Drawing.Image)resources.GetObject("tsbRefresh.Image");
- tsbRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
+ tsbRefresh.Image = (Image)resources.GetObject("tsbRefresh.Image");
+ tsbRefresh.ImageTransparentColor = Color.Magenta;
tsbRefresh.Name = "tsbRefresh";
- tsbRefresh.Size = new System.Drawing.Size(70, 24);
+ tsbRefresh.Size = new Size(70, 24);
tsbRefresh.Text = "Refresh";
tsbRefresh.Click += tsbRefresh_Click;
//
// toolStripSeparator1
//
toolStripSeparator1.Name = "toolStripSeparator1";
- toolStripSeparator1.Size = new System.Drawing.Size(6, 27);
+ toolStripSeparator1.Size = new Size(6, 27);
//
// tsbCompile
//
- tsbCompile.Image = (System.Drawing.Image)resources.GetObject("tsbCompile.Image");
- tsbCompile.ImageTransparentColor = System.Drawing.Color.Magenta;
+ tsbCompile.Image = (Image)resources.GetObject("tsbCompile.Image");
+ tsbCompile.ImageTransparentColor = Color.Magenta;
tsbCompile.Name = "tsbCompile";
- tsbCompile.Size = new System.Drawing.Size(76, 24);
+ tsbCompile.Size = new Size(76, 24);
tsbCompile.Text = "Compile";
tsbCompile.Click += ToolStripButton4_Click;
//
// folderBrowserDialog1
//
- folderBrowserDialog1.RootFolder = System.Environment.SpecialFolder.MyComputer;
+ folderBrowserDialog1.RootFolder = Environment.SpecialFolder.MyComputer;
//
// timer1
//
@@ -1214,16 +1238,16 @@ private void InitializeComponent()
//
// MainForm
//
- AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
- AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- ClientSize = new System.Drawing.Size(940, 473);
+ AutoScaleDimensions = new SizeF(7F, 15F);
+ AutoScaleMode = AutoScaleMode.Font;
+ ClientSize = new Size(940, 473);
Controls.Add(toolStrip1);
Controls.Add(statusStrip1);
Controls.Add(menuStrip1);
Controls.Add(splitContainer1);
- Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
+ Icon = (Icon)resources.GetObject("$this.Icon");
MainMenuStrip = menuStrip1;
- Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ Margin = new Padding(4, 3, 4, 3);
Name = "MainForm";
Text = "MOSA Explorer";
Load += Main_Load;
@@ -1269,108 +1293,110 @@ private void InitializeComponent()
#endregion
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.MenuStrip menuStrip1;
- private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
- private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem quitToolStripMenuItem;
- private System.Windows.Forms.OpenFileDialog openFileDialog;
- private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
- private System.Windows.Forms.TreeView treeView;
- private System.Windows.Forms.SplitContainer splitContainer1;
- private System.Windows.Forms.ToolStripMenuItem compileToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem nowToolStripMenuItem;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
- private System.Windows.Forms.ToolStrip toolStrip1;
- private System.Windows.Forms.ToolStripButton tsbOpen;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
- private System.Windows.Forms.ToolStripButton tsbCompile;
- private System.Windows.Forms.ToolStripMenuItem cbEnableSSA;
- private System.Windows.Forms.ToolStripMenuItem cbEnableBinaryCodeGeneration;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
- private System.Windows.Forms.ToolStripMenuItem cbEnableBasicOptimizations;
- private System.Windows.Forms.ToolStripProgressBar toolStripProgressBar1;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel;
- private System.Windows.Forms.ToolStripMenuItem cbEnableSparseConditionalConstantPropagation;
- private System.Windows.Forms.ToolStripMenuItem cbEnableInline;
- private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
- private System.Windows.Forms.ToolStripMenuItem advanceToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem cbDumpAllMethodStages;
- private System.Windows.Forms.ToolStripMenuItem cbEnableLongExpansion;
- private System.Windows.Forms.ToolStripMenuItem cbEnableTwoPassOptimizations;
- private System.Windows.Forms.ToolStripMenuItem displayOptionsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem showOperandTypes;
- private System.Windows.Forms.ToolStripMenuItem showSizes;
- private System.Windows.Forms.ToolStripMenuItem padInstructions;
- private System.Windows.Forms.ToolStripMenuItem cbEnableValueNumbering;
- private System.Windows.Forms.ToolStripMenuItem cbEnableMethodScanner;
- private System.Windows.Forms.TextBox tbFilter;
- private System.Windows.Forms.Label label2;
+ private StatusStrip statusStrip1;
+ private MenuStrip menuStrip1;
+ private ToolStripMenuItem fileToolStripMenuItem;
+ private ToolStripMenuItem openToolStripMenuItem;
+ private ToolStripSeparator toolStripMenuItem1;
+ private ToolStripMenuItem quitToolStripMenuItem;
+ private OpenFileDialog openFileDialog;
+ private ToolStripMenuItem optionsToolStripMenuItem;
+ private TreeView treeView;
+ private SplitContainer splitContainer1;
+ private ToolStripMenuItem compileToolStripMenuItem;
+ private ToolStripMenuItem nowToolStripMenuItem;
+ private ToolStripStatusLabel toolStripStatusLabel1;
+ private ToolStrip toolStrip1;
+ private ToolStripButton tsbOpen;
+ private ToolStripSeparator toolStripSeparator1;
+ private ToolStripButton tsbCompile;
+ private ToolStripMenuItem cbEnableSSA;
+ private ToolStripMenuItem cbEnableBinaryCodeGeneration;
+ private ToolStripSeparator toolStripSeparator2;
+ private ToolStripMenuItem cbEnableBasicOptimizations;
+ private ToolStripProgressBar toolStripProgressBar1;
+ private ToolStripStatusLabel toolStripStatusLabel;
+ private ToolStripMenuItem cbEnableSparseConditionalConstantPropagation;
+ private ToolStripMenuItem cbEnableInline;
+ private FolderBrowserDialog folderBrowserDialog1;
+ private ToolStripMenuItem advanceToolStripMenuItem;
+ private ToolStripMenuItem cbDumpAllMethodStages;
+ private ToolStripMenuItem cbEnableLongExpansion;
+ private ToolStripMenuItem cbEnableTwoPassOptimizations;
+ private ToolStripMenuItem displayOptionsToolStripMenuItem;
+ private ToolStripMenuItem showOperandTypes;
+ private ToolStripMenuItem showSizes;
+ private ToolStripMenuItem padInstructions;
+ private ToolStripMenuItem cbEnableValueNumbering;
+ private ToolStripMenuItem cbEnableMethodScanner;
+ private TextBox tbFilter;
+ private Label label2;
private System.Windows.Forms.Timer timer1;
- private System.Windows.Forms.ToolStripComboBox cbPlatform;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
- private System.Windows.Forms.ToolStripMenuItem cbEnableBitTracker;
- private System.Windows.Forms.ToolStripMenuItem cbEnableMultithreading;
- private System.Windows.Forms.ToolStripMenuItem cbLoopInvariantCodeMotion;
- private System.Windows.Forms.ToolStripMenuItem cbPlatformOptimizations;
- private System.Windows.Forms.ToolStripMenuItem cbInlineExplicit;
- private System.Windows.Forms.ToolStripMenuItem cbEnableAllOptimizations;
- private System.Windows.Forms.ToolStripMenuItem cbDisableAllOptimizations;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
- private System.Windows.Forms.ToolStripMenuItem cbEnableDevirtualization;
- private System.Windows.Forms.TabControl tabControl;
- private System.Windows.Forms.TabPage tabStages;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.ComboBox cbInstructionLabels;
- private System.Windows.Forms.ComboBox cbInstructionStages;
- private System.Windows.Forms.Label stageLabel;
- private System.Windows.Forms.RichTextBox tbInstructions;
- private System.Windows.Forms.TabPage tabStageDebug;
- private System.Windows.Forms.ComboBox cbDebugStages;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TabPage tabMethodCounters;
- private System.Windows.Forms.TabControl tabControl1;
- private System.Windows.Forms.TabPage tabPage1;
- private System.Windows.Forms.DataGridView gridMethodCounters;
- private System.Windows.Forms.TabPage tabPage2;
- private System.Windows.Forms.TabPage tabLogs;
- private System.Windows.Forms.ComboBox cbCompilerSections;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.RichTextBox tbMethodCounters;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TextBox tbCounterFilter;
- private System.Windows.Forms.TabPage tabCompilerCounters;
- private System.Windows.Forms.TabControl tabControl2;
- private System.Windows.Forms.TabPage tabPage4;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.TextBox tbCompilerCounterFilter;
- private System.Windows.Forms.DataGridView gridCompilerCounters;
- private System.Windows.Forms.TabPage tabPage5;
- private System.Windows.Forms.RichTextBox tbCompilerCounters;
- private System.Windows.Forms.TabPage tabTransforms;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.ComboBox cbTransformLabels;
- private System.Windows.Forms.ComboBox cbTransformStages;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.RichTextBox tbCompilerLogs;
- private System.Windows.Forms.Button btnSaveB;
- private System.Windows.Forms.Button btnSaveA;
- private System.Windows.Forms.SaveFileDialog saveFileDialog1;
- private System.Windows.Forms.ToolStripMenuItem removeIRNop;
- private System.Windows.Forms.ToolStripMenuItem cbEnableDebugDiagnostic;
- private System.Windows.Forms.ToolStripButton tsbRefresh;
- private System.Windows.Forms.CheckBox cbGraphviz;
- private System.Windows.Forms.RichTextBox tbDebugResult;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.SplitContainer splitContainer2;
- private System.Windows.Forms.RichTextBox tbTransforms;
- private System.Windows.Forms.DataGridView dataGridView1;
- private System.Windows.Forms.Label lbSteps;
- private System.Windows.Forms.Button btnLast;
- private System.Windows.Forms.Button btnNext;
- private System.Windows.Forms.Button btnPrevious;
- private System.Windows.Forms.Button btnFirst;
- private System.Windows.Forms.CheckBox cbSetBlock;
+ private ToolStripComboBox cbPlatform;
+ private ToolStripSeparator toolStripSeparator3;
+ private ToolStripMenuItem cbEnableBitTracker;
+ private ToolStripMenuItem cbEnableMultithreading;
+ private ToolStripMenuItem cbLoopInvariantCodeMotion;
+ private ToolStripMenuItem cbPlatformOptimizations;
+ private ToolStripMenuItem cbInlineExplicit;
+ private ToolStripMenuItem cbEnableAllOptimizations;
+ private ToolStripMenuItem cbDisableAllOptimizations;
+ private ToolStripSeparator toolStripSeparator4;
+ private ToolStripMenuItem cbEnableDevirtualization;
+ private TabControl tabControl;
+ private TabPage tabStages;
+ private Label label1;
+ private ComboBox cbInstructionLabels;
+ private ComboBox cbInstructionStages;
+ private Label stageLabel;
+ private RichTextBox tbInstructions;
+ private TabPage tabStageDebug;
+ private ComboBox cbDebugStages;
+ private Label label3;
+ private TabPage tabMethodCounters;
+ private TabControl tabControl1;
+ private TabPage tabPage1;
+ private DataGridView gridMethodCounters;
+ private TabPage tabPage2;
+ private TabPage tabLogs;
+ private ComboBox cbCompilerSections;
+ private Label label4;
+ private RichTextBox tbMethodCounters;
+ private Label label5;
+ private TextBox tbCounterFilter;
+ private TabPage tabCompilerCounters;
+ private TabControl tabControl2;
+ private TabPage tabPage4;
+ private Label label6;
+ private TextBox tbCompilerCounterFilter;
+ private DataGridView gridCompilerCounters;
+ private TabPage tabPage5;
+ private RichTextBox tbCompilerCounters;
+ private TabPage tabTransforms;
+ private Label label7;
+ private ComboBox cbTransformLabels;
+ private ComboBox cbTransformStages;
+ private Label label8;
+ private RichTextBox tbCompilerLogs;
+ private Button btnSaveB;
+ private Button btnSaveA;
+ private SaveFileDialog saveFileDialog1;
+ private ToolStripMenuItem removeIRNop;
+ private ToolStripMenuItem cbEnableDebugDiagnostic;
+ private ToolStripButton tsbRefresh;
+ private CheckBox cbGraphviz;
+ private RichTextBox tbDebugResult;
+ private Panel panel1;
+ private SplitContainer splitContainer2;
+ private RichTextBox tbTransforms;
+ private DataGridView dataGridView1;
+ private Label lbSteps;
+ private Button btnLast;
+ private Button btnNext;
+ private Button btnPrevious;
+ private Button btnFirst;
+ private CheckBox cbSetBlock;
+ private Button button1;
+ private Button button2;
}
}
diff --git a/Source/Mosa.Tool.Explorer/MainForm.cs b/Source/Mosa.Tool.Explorer/MainForm.cs
index 454b74cccd..be9e98bf79 100644
--- a/Source/Mosa.Tool.Explorer/MainForm.cs
+++ b/Source/Mosa.Tool.Explorer/MainForm.cs
@@ -1443,4 +1443,14 @@ private void cbSetBlock_CheckedChanged(object sender, EventArgs e)
{
dataGridView1_SelectionChanged(sender, e);
}
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ File.WriteAllText(Path.Combine(Path.GetTempPath(), "MOSA", "1.txt"), tbTransforms.Text);
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ File.WriteAllText(Path.Combine(Path.GetTempPath(), "MOSA", "2.txt"), tbTransforms.Text);
+ }
}
diff --git a/Source/Mosa.Tool.Explorer/MainForm.resx b/Source/Mosa.Tool.Explorer/MainForm.resx
index 3ecc71e2b9..37daeada8d 100644
--- a/Source/Mosa.Tool.Explorer/MainForm.resx
+++ b/Source/Mosa.Tool.Explorer/MainForm.resx
@@ -18,7 +18,7 @@
System.Resources.ResXResourceReader, System.Windows.Forms, ...
System.Resources.ResXResourceWriter, System.Windows.Forms, ...
this is my long stringthis is a comment
- Blue
+ Blue
[base64 mime encoded serialized .NET Framework object]
diff --git a/Source/Mosa.Utility.Configuration/CommandLineArguments.cs b/Source/Mosa.Utility.Configuration/CommandLineArguments.cs
index 93ab530ff3..719d454175 100644
--- a/Source/Mosa.Utility.Configuration/CommandLineArguments.cs
+++ b/Source/Mosa.Utility.Configuration/CommandLineArguments.cs
@@ -55,6 +55,14 @@ private static List GetMap()
new Argument { Name = "-inline-level", Setting = Name.Optimizations_Inline_Maximum},
new Argument { Name = "-basic-optimization-window", Setting = Name.Optimizations_Basic_Window},
+ // Compiler - Platforms:
+ new Argument { Name = "-platform", Setting = Name.Compiler_Platform},
+ new Argument { Name = "-x86", Setting = Name.Compiler_Platform, Value= "x86"},
+ new Argument { Name = "-x64", Setting = Name.Compiler_Platform, Value= "x64"},
+ new Argument { Name = "-arm32", Setting = Name.Compiler_Platform, Value= "ARM32"},
+ new Argument { Name = "-arm64", Setting = Name.Compiler_Platform, Value= "ARM64"},
+
+ // Compiler - Debug Output:
new Argument { Name = "-output-nasm", Setting = Name.CompilerDebug_NasmFile, Value= "%DEFAULT%"},
new Argument { Name = "-output-asm", Setting = Name.CompilerDebug_AsmFile, Value= "%DEFAULT%"},
new Argument { Name = "-output-map", Setting = Name.CompilerDebug_MapFile, Value= "%DEFAULT%"},
@@ -69,18 +77,13 @@ private static List GetMap()
new Argument { Name = "-map", Setting = Name.CompilerDebug_MapFile, Value= "%DEFAULT%"},
new Argument { Name = "-counters-filter", Setting = Name.CompilerDebug_CounterFilter},
+ // Compiler - Debug:
+ new Argument { Name = "-inline-exclude", Setting = Name.Optimizations_Inline_Exclude, IsList = true},
+ new Argument { Name = "-test-filter", Setting = Name.CompilerDebug_TestFilter},
new Argument { Name = "-check", Setting = Name.CompilerDebug_FullCheckMode, Value= "true"},
- new Argument { Name = "-platform", Setting = Name.Compiler_Platform},
- new Argument { Name = "-x86", Setting = Name.Compiler_Platform, Value= "x86"},
- new Argument { Name = "-x64", Setting = Name.Compiler_Platform, Value= "x64"},
- new Argument { Name = "-arm32", Setting = Name.Compiler_Platform, Value= "ARM32"},
- new Argument { Name = "-arm64", Setting = Name.Compiler_Platform, Value= "ARM64"},
-
new Argument { Name = "-interrupt-method", Setting = Name.X86_InterruptMethodName},
- new Argument { Name = "-inline-exclude", Setting = Name.Optimizations_Inline_Exclude, IsList = true},
-
// Linker:
new Argument { Name = "-emit-all-symbols", Setting = Name.Linker_Symbols, Value= "true"},
new Argument { Name = "-emit-all-symbols-off", Setting = Name.Linker_Symbols, Value= "false"},
diff --git a/Source/Mosa.Utility.Configuration/MOSASettings.cs b/Source/Mosa.Utility.Configuration/MOSASettings.cs
index e6df556a7a..16a6ba8a1d 100644
--- a/Source/Mosa.Utility.Configuration/MOSASettings.cs
+++ b/Source/Mosa.Utility.Configuration/MOSASettings.cs
@@ -254,6 +254,12 @@ public string CounterFilter
set => Settings.SetValue(Name.CompilerDebug_CounterFilter, value);
}
+ public string TestFilter
+ {
+ get => Settings.GetValue(Name.CompilerDebug_TestFilter, null);
+ set => Settings.SetValue(Name.CompilerDebug_TestFilter, value);
+ }
+
public int MaxThreads
{
get => Settings.GetValue(Name.Compiler_Multithreading_MaxThreads, 0);
diff --git a/Source/Mosa.Utility.Configuration/Name.cs b/Source/Mosa.Utility.Configuration/Name.cs
index ce8b76c023..5e91baabae 100644
--- a/Source/Mosa.Utility.Configuration/Name.cs
+++ b/Source/Mosa.Utility.Configuration/Name.cs
@@ -45,6 +45,7 @@ public static class Name
public const string CompilerDebug_PreLinkHashFile = "CompilerDebug.PreLinkHashFile";
public const string CompilerDebug_Statistics = "CompilerDebug.Statistics";
public const string CompilerDebug_CounterFilter = "CompilerDebug.CounterFilter";
+ public const string CompilerDebug_TestFilter = "CompilerDebug.TestFilter";
public const string Debugger_BreakpointFile = "Debugger.BreakpointFile";
public const string Debugger_WatchFile = "Debugger.WatchFile";
public const string DefaultFolder = "DefaultFolder";