コード例 #1
0
ファイル: ScrutinizerForm.cs プロジェクト: rodrigobmg/Pyramid
 private void SelectDominatedInstructions(BasicBlock dominator)
 {
     foreach (BasicBlock b in m_Blocks)
     {
         if (dominator.Dominates(b))
         {
             foreach (IInstruction op in b.Instructions)
             {
                 SelectInstruction(op);
             }
         }
     }
 }
コード例 #2
0
ファイル: ScrutinizerForm.cs プロジェクト: rodrigobmg/Pyramid
        private void cfgWidget1_BranchTargetSelected(object sender, BasicBlock TargetBlock)
        {
            ClearSelectedInstructions();
            foreach (BasicBlock b in m_Blocks)
            {
                if (TargetBlock.Dominates(b))
                {
                    foreach (IInstruction i in b.Instructions)
                    {
                        SelectInstruction(i);
                    }
                }
            }
            panel1.Refresh();

            txtLoopCount.Visible  = false;
            lblIterations.Visible = false;
            chkTaken.Visible      = false;
        }
コード例 #3
0
ファイル: ScrutinizerForm.cs プロジェクト: bobvodka/Pyramid
 private void SelectDominatedInstructions( BasicBlock dominator )
 {
     foreach( BasicBlock b in m_Blocks )
         if (dominator.Dominates(b) )
             foreach (IInstruction op in b.Instructions)
                 SelectInstruction(op);
 }
コード例 #4
0
ファイル: ScrutinizerForm.cs プロジェクト: bobvodka/Pyramid
        private void cfgWidget1_BranchTargetSelected(object sender, BasicBlock TargetBlock)
        {
            ClearSelectedInstructions();
            foreach (BasicBlock b in m_Blocks)
                if (TargetBlock.Dominates(b))
                    foreach (IInstruction i in b.Instructions)
                        SelectInstruction(i);
            panel1.Refresh();

            txtLoopCount.Visible  = false;
            lblIterations.Visible = false;
            chkTaken.Visible      = false;
        }