Guessing the Data Set to a Function

Seima Rao <seimarao@gmail.com>
Sun, 15 Sep 2013 15:29:01 +0530

          From comp.compilers

Related articles
Guessing the Data Set to a Function seimarao@gmail.com (Seima Rao) (2013-09-15)
Re: Guessing the Data Set to a Function gneuner2@comcast.net (George Neuner) (2013-09-16)
| List of all articles for this month |

From: Seima Rao <seimarao@gmail.com>
Newsgroups: comp.compilers
Date: Sun, 15 Sep 2013 15:29:01 +0530
Organization: Compilers Central
Keywords: analysis, question
Posted-Date: 15 Sep 2013 10:30:00 EDT

Hi,


        I have a problem with deducing the Data Set to a function written in
        a High Level Language.


        I feel that the compiler is well equipped to do so, therefore I am
        posting my questions to this forum.


        Given a procedure/function in HLL(say, 'C') as an input, I want the
        compiler to deduce the data set corresponding to the
        parameters to the function.


        I see three cases:


                a) Shortest Path Executed By the Function


                b) Average Path Executed By the Function


                c) Longest Path Executed By the Function


          Obviously, All three depend upon the compiler
          being able to correctly guess the data set
          corresponding to the function's parameters.


          My question is whether this is possible or/and
          specifically, how to tell the Average path.


Sincerely,
Seima Rao.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.