Added distributing transform to ptrarith

This commit is contained in:
caheckman 2020-04-29 12:25:58 -04:00
parent e6e88bf2be
commit 0dcf55b7c8
4 changed files with 147 additions and 90 deletions

View file

@ -508,6 +508,7 @@ public:
void spliceBlockBasic(BlockBasic *bl); ///< Merge the given basic block with the block it flows into
void installSwitchDefaults(void); ///< Make sure default switch cases are properly labeled
static bool replaceLessequal(Funcdata &data,PcodeOp *op); ///< Replace INT_LESSEQUAL and INT_SLESSEQUAL expressions
static bool distributeIntMult(Funcdata &data,PcodeOp *op); ///< Distribute constant coefficient to additive input
static bool compareCallspecs(const FuncCallSpecs *a,const FuncCallSpecs *b);
#ifdef OPACTION_DEBUG