Last active
May 11, 2018 15:02
-
-
Save sxhmilyoyo/26beff80a6c1aae3a845e146291895d1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
struct copyStatement{ | |
int used; | |
struct variable *result; | |
struct variable *arg; | |
}copyTable[COPYTABLESTOTAL]; | |
// look up the copyTables | |
struct copyStatement *lookupCopyTables(); | |
// build copyTables | |
void buildCopyTable(struct quad *q); | |
// eliminate the copy statement | |
void eliminateCopy(struct quad *q); | |
// eliminate copy statements for copy statements | |
void eliminateCopy4CS(struct quad *q); | |
// main function for copy statements elimination | |
void copyElimination(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment