+ #if 0
+ /* if the condition of an if instruction
+ is defined in the previous GET_POINTER instruction and
+ this is the only usage then
+ mark the itemp as accumulator use */
+ if ((POINTER_GET (ic) && getSize (operandType (IC_RESULT (ic))) <=1) &&
+ ic->next && ic->next->op == IFX &&
+ bitVectnBitsOn (OP_USES(IC_RESULT(ic)))==1 &&
+ isOperandEqual (IC_RESULT (ic), IC_COND (ic->next)) &&
+ OP_SYMBOL (IC_RESULT (ic))->liveTo <= ic->next->seq)
+ {
+ OP_SYMBOL (IC_RESULT (ic))->accuse = 1;
+ continue;
+ }
+
+ if (ic->op != IFX && ic->op !=JUMPTABLE && !POINTER_SET (ic)
+ && IC_RESULT (ic) && IS_ITEMP (IC_RESULT (ic))
+ && getSize (operandType (IC_RESULT (ic))) == 1
+ && bitVectnBitsOn (OP_USES (IC_RESULT (ic))) == 1
+ && ic->next
+ && OP_SYMBOL (IC_RESULT (ic))->liveTo <= ic->next->seq)
+ {
+ int accuse = 0;
+
+ if (ic->next->op == IFX)
+ {
+ if (isOperandEqual (IC_RESULT (ic), IC_COND (ic->next)))
+ accuse = 1;
+ }
+ else if (ic->next->op == JUMPTABLE)
+ {
+ if (isOperandEqual (IC_RESULT (ic), IC_JTCOND (ic->next)))
+ accuse = 1;
+ }
+ else
+ {
+ if (isOperandEqual (IC_RESULT (ic), IC_LEFT (ic->next)))
+ accuse = 1;
+ if (isOperandEqual (IC_RESULT (ic), IC_RIGHT (ic->next)))
+ accuse = 1;
+ }
+
+ if (accuse)
+ {
+ OP_SYMBOL (IC_RESULT (ic))->accuse = 1;
+ continue;
+ }
+
+ }
+ #endif
+