X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCcse.h;h=b9532c0b8728ce4dbb6ad69b05889f1236d55dc5;hb=2de847a479c5a08a4e0dc8205a340809be8815f4;hp=5eaf9cf284a6e13d926f41475630b77a6dfe72c8;hpb=15f79deb6cf094bc83de7ade9e272b1ebfd4f640;p=fw%2Fsdcc diff --git a/src/SDCCcse.h b/src/SDCCcse.h index 5eaf9cf2..b9532c0b 100644 --- a/src/SDCCcse.h +++ b/src/SDCCcse.h @@ -51,10 +51,12 @@ DEFSETFUNC (findPrevIc); DEFSETFUNC (ifOperandsHave); DEFSETFUNC (findCheaperOp); int cseBBlock (eBBlock *, int, eBBlock **, int); -int cseAllBlocks (eBBlock **, int); +int cseAllBlocks (eBBlock **, int, int computeOnly); void ifxOptimize (iCode *, set *, int, eBBlock *, int *, eBBlock **, int); void unsetDefsAndUses (iCode *); void updateSpillLocation (iCode * ic,int); void setUsesDefs (operand *, bitVect *, bitVect *, bitVect **); void replaceAllSymBySym (iCode *, operand *, operand *, bitVect **); +iCode *findBackwardDef(operand *,iCode *); +void ReplaceOpWithCheaperOp(operand **op, operand *cop); #endif