pro64-support
[Top] [All Lists]

multi-entry CFG

To: sgi <pro64-support@xxxxxxxxxxx>
Subject: multi-entry CFG
From: Peng Zhao <pengzhao@xxxxxxxxxxxxxx>
Date: Sun, 26 Aug 2001 17:22:30 -0600 (MDT)
Sender: owner-pro64-support@xxxxxxxxxxx
Hi,

        Enclosed two files are a simple C program and the related CFG
created in the pre_optimizer. There are several entries for the CFG. And 
I want to use cfg->Entry_bb()->Id() & cfg->Exit_bb()->Id() to get the
entry&exit of the CFG(Initially, I had thought there should be only one
entry and one exit). The result is:
        
entry=16,exit=17


        Can somebody explain me when this kind of CFG is generated?

        Thanks.



-- 
                Regards

                                          Peng
--
  Peng Zhao   pengzhao@xxxxxxxxxxxxxx   
  http://www.cs.ualberta.ca/~pengzhao   
  TEL (Lab): (780)492-3725                  Lab:  CSC251

Attachment: cfg
Description: PostScript document

Attachment: test.c
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>