RTCG Meeting Notes, 11 April 1995

Joel led a discussion regarding analysis to determine run-time constants


  1. Analysis requirements
  2. Analysis examples Example 3:
    
    	     {rtc:q}
    	+---------------+
    	|    if (sym)	|
    	+---------------+
    		/\ {rtc:q}
    	     T /  \ F
    	      /    \
           +-----+	  +-----+
         b:| x=0 |  c:| x=1 |      
           +-----+	  +-----+
    {x:b,rtc:q} \      / {x:c,rtc:q}
    	     \    /
    	       \ / 
    	+---------------+
          d:|    y =+ x 	|
    	+---------------+
    	   {x:d,rtc:q}
    
  3. Stitching
    Set-up code can be handled by leaving the CFG intact, and adding stitch instructions as appropriate. The stitch instructions are added at the end of the single entry, single exit regions.

jlo@cs.washington.edu