METHOD AND MEANS FOR TRANSLATING A DATA-DEPENDENT PROGRAM TO A DATA FLOW GRAPH WITH CONDITIONAL EXPRESSION
Patent №
US 5,666,296
Granted
1997-09-09
Filed 1991
Owner
TEXAS INSTRUMENTS INCORPORATED
Lab
—
AI components
4
nlp · kr · planning · hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
07815442
The method comprises the steps of converting the algorithm into a control flow graph having a plurality of nodes, each node representing at least one of the plurality of statements. The control flow graph further includes a conditional branching node for the data-dependent conditional branching statement. Reverse dominators are then computed for each of the plurality of nodes, from which a meet point node for each conditional branching node is derived. The method further provides for constructing a shadow symbol table housing the variables, and constructing a duplicate shadow symbol table for each possible value of the datum in response to the conditional branching node. The conditional branching node is also evaluated by assuming each possible value of the datum for each branch and assigning symbolic values to each of the variables in the shadow symbol table. The nodes contained in each branch are evaluated until the meet point node is reached. The duplicate shadow symbol tables are then merged. The symbolic evaluation continues until all the conditional branches are evaluated and the end of the control flow graph is reached to provide a conditional expression representing the algorithm.
AI classification
Ownership
TEXAS INSTRUMENTS INCORPORATED
assignment · 59680901
Assignors
GAFTER, NEAL M.
On an employer assignment, the assignors are typically the inventors.