Methods and apparatus to reduce a control flow graph using points-to information
First Claim
Patent Images
1. A method comprising:
- creating a points-to set associated with a function in a computer program;
determining if a control flow edge between;
(1) a call-site associated with a restore and return instruction and (2) a successor block following the call-site is removable from a control flow graph representing the computer program; and
removing the control flow edge between the call-site and the successor block if it is determined that the control flow edge is removable.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for reducing a control flow graph are disclosed. A disclosed method comprises: creating a points-to set associated with a function in a computer program; determining if a control flow edge between: (1) a call-site associated with a restore and return instruction and (2) a successor block following the call-site is removable from a control flow graph representing the computer program; and removing the control flow edge if it is determined that the control flow edge is removable.
24 Citations
28 Claims
-
1. A method comprising:
-
creating a points-to set associated with a function in a computer program;
determining if a control flow edge between;
(1) a call-site associated with a restore and return instruction and (2) a successor block following the call-site is removable from a control flow graph representing the computer program; and
removing the control flow edge between the call-site and the successor block if it is determined that the control flow edge is removable. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An apparatus comprising:
-
a points-to set creator to create a points-to set associated with a function in a computer program;
an application phase module to determine if a control flow edge between;
(1) a call-site associated with a restore and return instruction and (2) a successor block following the call-site is removable from a control flow graph representing the computer program; and
a control flow graph module responsive to the application phase module to remove the control flow edge between the call-site and the successor block. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A machine accessible medium storing machine executable instructions which, when executed, cause a machine to:
-
create a points-to set associated with a function in a computer program;
determine if a control flow edge between;
(1) a call-site associated with a restore and return instruction and (2) a successor block following the call-site may be removed from a control flow graph representing the computer program; and
remove the control flow edge between the call-site and the successor block if it is determined that the control flow edge is removable. - View Dependent Claims (24, 25, 26)
-
-
27. A system comprising:
-
a memory storing a computer program; and
a processor to execute the computer program to create a points-to set associated with a function in a computer program;
determine if a control flow edge between;
(1) a call-site associated with a restore and return instruction and (2) a successor block following the call-site is removable from a control flow graph representing the computer program; and
to remove the control flow edge between the call-site and the successor block if it is determined that the control flow edge is removable. - View Dependent Claims (28)
-
Specification