-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that the CSE have a well defined interface, we can make it public, which will help us to untangle the CSE part from the whole optimization logic. Signed-off-by: Luc Van Oostenryck <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef CSE_H | ||
#define CSE_H | ||
|
||
struct instruction; | ||
struct entrypoint; | ||
|
||
/* cse.c */ | ||
void cse_collect(struct instruction *insn); | ||
void cse_eliminate(struct entrypoint *ep); | ||
|
||
#endif |