/dports/devel/z88dk/z88dk/src/zsdcc/ |
H A D | sdcc-12036-z88dk.patch | 127 …if (bitVectIsZero (OP_USES (IC_RESULT (icc))) && (IS_OP_LITERAL (IC_LEFT (lastparam)) || !strcmp (… 160 … if (lic->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (lic)) && !IS_OP_LITERAL (IC_RIGHT (lic))) 163 - unsigned long litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (lic)) ? IC_LEFT (lic… 164 + litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (lic)) ? IC_LEFT (lic) : IC_RIGHT (… 169 … if (ric->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (ric)) && !IS_OP_LITERAL (IC_RIGHT (ric))) 172 - unsigned long litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (ric)) ? IC_LEFT (ric… 173 + litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (ric)) ? IC_LEFT (ric) : IC_RIGHT (…
|
H A D | sdcc-z88dk.patch | 127 …if (bitVectIsZero (OP_USES (IC_RESULT (icc))) && (IS_OP_LITERAL (IC_LEFT (lastparam)) || !strcmp (… 160 … if (lic->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (lic)) && !IS_OP_LITERAL (IC_RIGHT (lic))) 163 - unsigned long litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (lic)) ? IC_LEFT (lic… 164 + litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (lic)) ? IC_LEFT (lic) : IC_RIGHT (… 169 … if (ric->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (ric)) && !IS_OP_LITERAL (IC_RIGHT (ric))) 172 - unsigned long litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (ric)) ? IC_LEFT (ric… 173 + litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (ric)) ? IC_LEFT (ric) : IC_RIGHT (…
|
H A D | sdcc-9958-z88dk.patch | 580 … if (lic->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (lic)) && !IS_OP_LITERAL (IC_RIGHT (lic))) 583 - unsigned long litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (lic)) ? IC_LEFT (lic… 584 + litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (lic)) ? IC_LEFT (lic) : IC_RIGHT (… 589 … if (ric->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (ric)) && !IS_OP_LITERAL (IC_RIGHT (ric))) 592 - unsigned long litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (ric)) ? IC_LEFT (ric… 593 + litval = operandLitValue (IS_OP_LITERAL (IC_LEFT (ric)) ? IC_LEFT (ric) : IC_RIGHT (…
|
/dports/lang/sdcc/sdcc-4.0.0/src/pdk/ |
H A D | ralloc2.cc | 149 …(left_in_A && (right_dir || IS_OP_LITERAL(right) || IS_ITEMP(right) && OP_SYMBOL_CONST(right)->rem… in Ainst_ok() 150 …right_in_A && (left_dir || IS_OP_LITERAL(left) || IS_ITEMP(left) && OP_SYMBOL_CONST(left)->remat))) in Ainst_ok() 154 …randType(left)) == 1 && (IS_OP_LITERAL(right) || right_dir) || right_in_A && getSize(operandType(r… in Ainst_ok() 160 if (ic->op == '<' && IS_OP_LITERAL(right) && !ullFromVal(OP_VALUE_CONST (right)) && in Ainst_ok() 193 return(IS_OP_LITERAL(right) || right_in_A && !result_in_A); in Ainst_ok() 247 …' || ic->op == '!' || ic->op == '<' || ic->op == '>') && (IS_OP_LITERAL(left) || IS_OP_LITERAL(rig… in Pinst_ok() 249 const operand *const litop = IS_OP_LITERAL(left) ? left : right; in Pinst_ok() 532 if (!IS_OP_LITERAL(IC_RIGHT(ic))) in extra_ic_generated() 560 operand *const litop = IS_OP_LITERAL(IC_LEFT(ic)) ? IC_LEFT(ic) : IC_RIGHT(ic); in extra_ic_generated() 562 if (!IS_OP_LITERAL(litop)) in extra_ic_generated()
|
H A D | ralloc.c | 475 IS_OP_LITERAL (IC_RIGHT (ic))) && in packRegisters()
|
H A D | gen.c | 431 if (IS_OP_LITERAL (op)) in aopOp() 3788 wassertl (IS_OP_LITERAL (right), "GET_VALUE_AT_ADDRESS with non-literal right operand"); in genPointerGet() 4537 wassert (right && IS_OP_LITERAL (IC_RIGHT (ic))); in genAddrOf()
|
/dports/lang/sdcc/sdcc-4.0.0/src/ |
H A D | SDCCcse.c | 893 IS_OP_LITERAL (IC_LEFT (ic)) && in algebraicOpts() 894 IS_OP_LITERAL (IC_RIGHT (ic))) in algebraicOpts() 908 IS_OP_LITERAL (IC_LEFT (ic)) && in algebraicOpts() 1070 if (IS_OP_LITERAL (IC_LEFT (ic))) in algebraicOpts() 1296 if (IS_OP_LITERAL (IC_LEFT (ic))) in algebraicOpts() 1325 if (IS_OP_LITERAL (IC_LEFT (ic))) in algebraicOpts() 1405 if (IS_OP_LITERAL (IC_LEFT (ic))) in algebraicOpts() 1489 if (IS_OP_LITERAL (IC_LEFT (ic))) in algebraicOpts() 1736 if (IS_OP_LITERAL (IC_COND (ic))) in ifxOptimize() 1851 if (!IS_OP_LITERAL (IC_RIGHT (ic))) in constFold() [all …]
|
H A D | SDCClospre.cc | 107 if(ic->op == '=' && IS_OP_LITERAL (right)) in candidate_expression() 111 if (ic->op != CAST && left && !(IS_SYMOP (left) || IS_OP_LITERAL (left)) || in candidate_expression() 112 right && !(IS_SYMOP (right) || IS_OP_LITERAL (right)) || in candidate_expression() 113 result && !(IS_SYMOP (result) || IS_OP_LITERAL (result))) in candidate_expression() 180 if (IC_RESULT (iic) && !IS_OP_LITERAL (result) && !POINTER_SET(iic) && in invalidates_expression()
|
H A D | SDCCopt.c | 1007 IS_OP_LITERAL (IC_LEFT (lastparam)) && !operandLitValue (IC_LEFT (lastparam))) in convbuiltin() 2254 if (IS_OP_LITERAL (IC_RIGHT (ic))) in optimizeOpWidth() 2281 !(IS_ITEMP (left) || IS_OP_LITERAL (left)) || in optimizeOpWidth() 2282 !(IS_ITEMP (right) || IS_OP_LITERAL (right))) in optimizeOpWidth() 2294 … if (lic->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (lic)) && !IS_OP_LITERAL (IC_RIGHT (lic))) in optimizeOpWidth() 2307 … if (ric->op != BITWISEAND || !IS_OP_LITERAL (IC_LEFT (ric)) && !IS_OP_LITERAL (IC_RIGHT (ric))) in optimizeOpWidth() 2437 if (!IS_OP_LITERAL (IC_RIGHT (ic))) in optimizeOpWidth() 2508 wassert (IS_OP_LITERAL (IC_LEFT (ic))); in optimizeOpWidth() 2527 wassert (IS_OP_LITERAL (IC_RIGHT (ic))); in optimizeOpWidth() 2862 if (uic->op != '+' && uic->op != '-' || !IS_OP_LITERAL (IC_RIGHT (uic))) in offsetFoldGet() [all …]
|
H A D | SDCCicode.h | 66 #define IS_OP_LITERAL(op) (op && op->isLiteral) macro 253 && (IS_ITEMP(IC_RESULT(ic)) || IS_OP_LITERAL(IC_RESULT(ic)))\ 257 && (IS_ITEMP(IC_LEFT(ic)) || IS_OP_LITERAL(IC_LEFT(ic)))\ 295 IS_OP_LITERAL(IC_RIGHT(ic)))
|
H A D | SDCCloop.c | 357 if (IS_OP_LITERAL (op)) in isOperandInvariant() 494 if (ic->op == '=' && IS_ITEMP (IC_RESULT (ic)) && IS_OP_LITERAL (IC_RIGHT (ic))) in loopInvariants() 1027 if (!IS_OP_LITERAL (IC_LEFT (dic)) && !IS_OP_LITERAL (IC_RIGHT (dic))) in basicInduction() 1034 if (IS_OP_LITERAL (IC_RIGHT (dic))) in basicInduction() 1163 if (!((IS_SYMOP (IC_LEFT (ic)) && IS_OP_LITERAL (IC_RIGHT (ic))) || in loopInduction() 1164 (IS_OP_LITERAL (IC_LEFT (ic)) && IS_SYMOP (IC_RIGHT (ic))))) in loopInduction()
|
H A D | SDCCptropt.c | 87 …if (!isOperandEqual (IC_LEFT (sic->next), IC_RIGHT (sic)) || !IS_OP_LITERAL (IC_RIGHT (sic->next))) in pattern1() 152 if (!IS_OP_LITERAL (IC_RIGHT (sic->next))) in pattern2()
|
H A D | SDCClabel.c | 259 stat->prev && stat->prev->op == '=' && IS_OP_LITERAL (IC_RIGHT (stat->prev)) && in labelIfx() 260 loop->prev && loop->prev->op == '=' && IS_OP_LITERAL (IC_RIGHT (loop->prev)) && in labelIfx()
|
H A D | SDCCralloc.hpp | 366 … ic->op == CALL && (IS_OP_LITERAL (IC_LEFT (ic)) || !OP_SYMBOL(IC_LEFT (ic))->funcDivFlagSafe) || in create_cfg() 367 …ic->op == RIGHT_OP && IS_OP_LITERAL (IC_RIGHT (ic))); // Right shift might be implemented using di… in create_cfg()
|
/dports/lang/sdcc/sdcc-4.0.0/src/z80/ |
H A D | ralloc2.cc | 581 if (ic->op == RIGHT_OP && getSize(operandType(result)) == 1 && IS_OP_LITERAL(right)) in Ainst_ok() 599 (IS_ITEMP(left) || IS_OP_LITERAL(left) || operand_on_stack(left, a, i, G)) && in Ainst_ok() 600 (!right || IS_ITEMP(right) || IS_OP_LITERAL(right) || operand_on_stack(right, a, i, G))) in Ainst_ok() 636 if (ic->op == LEFT_OP && getSize(operandType(IC_RESULT(ic))) == 1 && IS_OP_LITERAL(right)) in Ainst_ok() 705 …->op == '*' && (IS_ITEMP(IC_LEFT(ic)) || IS_OP_LITERAL(IC_LEFT(ic))) && (IS_ITEMP(IC_RIGHT(ic)) ||… in Ainst_ok() 726 (ic->op != '*' || !IS_OP_LITERAL(IC_LEFT(ic)) && !IS_OP_LITERAL(right)) && in Ainst_ok() 737 !((ic->op == LEFT_OP || ic->op == RIGHT_OP) && IS_OP_LITERAL(right))) in Ainst_ok() 848 …(IS_OP_LITERAL (right) && ulFromVal (OP_VALUE (IC_RIGHT(ic))) <= 3 || IS_OP_LITERAL (left) && ulFr… in HLinst_ok() 858 …(IS_OP_LITERAL (right) && ulFromVal (OP_VALUE (IC_RIGHT(ic))) <= 3 || IS_OP_LITERAL (left) && ulFr… in HLinst_ok() 957 …p == '<' || ic->op == '>') && (IS_ITEMP(left) || IS_OP_LITERAL(left) || IS_ITEMP(right) || IS_OP_L… in HLinst_ok() [all …]
|
H A D | ralloc.c | 2484 if ((uic->op == RIGHT_OP || uic->op == LEFT_OP) && IS_OP_LITERAL (IC_RIGHT (uic))) in opCanUseA() 2510 …if (uic->op == '+' && IS_ITEMP (IC_LEFT (uic)) && IS_ITEMP (IC_RESULT (uic)) && IS_OP_LITERAL (IC_… in opIgnoresA() 2557 …& ic->op != GETHBIT && !((ic->op == LEFT_OP || ic->op == RIGHT_OP) && IS_OP_LITERAL (IC_RIGHT (ic)… in packRegsForAccUse2() 2746 IS_OP_LITERAL (IC_RIGHT (ic))) && in packRegisters() 2855 if (!IS_OP_LITERAL (IC_LEFT (ic)) || !IS_OP_LITERAL (IC_LEFT (uic))) in joinPushes()
|
/dports/lang/sdcc/sdcc-4.0.0/src/stm8/ |
H A D | ralloc2.cc | 129 if (IS_OP_LITERAL(left)) in Ainst_ok() 457 …ic->op == BITWISEAND && (IS_OP_LITERAL (IC_LEFT (ic)) || IS_OP_LITERAL (IC_RIGHT (ic))) || ic->op … in extra_ic_generated() 465 operand *const litop = IS_OP_LITERAL (IC_LEFT (ic)) ? IC_LEFT (ic) : IC_RIGHT (ic); in extra_ic_generated()
|
H A D | ralloc.c | 372 …!((dic->op == LEFT_OP || dic->op == RIGHT_OP) && IS_OP_LITERAL (IC_RIGHT (dic)) && operandLitValue… in packRegsForAssign()
|
/dports/lang/sdcc/sdcc-4.0.0/src/hc08/ |
H A D | ralloc.c | 1592 || (ic->op == ADDRESS_OF && uic->op == '+' && IS_OP_LITERAL (IC_RIGHT (uic)))) in packRegsForAccUse() 1762 if (offsetOp && IS_OP_LITERAL (offsetOp) && operandLitValue (offsetOp) != 0) in packPointerOp() 1774 if (dic->op == '+' && (IS_OP_LITERAL (IC_RIGHT (dic)) || in packPointerOp() 1798 … if (IC_RIGHT (uic) && IS_OP_LITERAL (IC_RIGHT (uic)) && operandLitValue (IC_RIGHT (uic)) != 0) in packPointerOp() 1805 … if (IC_LEFT (uic) && IS_OP_LITERAL (IC_LEFT (uic)) && operandLitValue (IC_LEFT (uic)) != 0) in packPointerOp() 1940 IS_OP_LITERAL (IC_RIGHT (ic))) && in packRegisters()
|
/dports/lang/sdcc/sdcc-4.0.0/src/mcs51/ |
H A D | ralloc.c | 1959 …(IS_OP_LITERAL (IC_RIGHT (ic)) || IS_SYMOP (IC_RIGHT (ic)) && IS_BIT (OP_SYMBOL (IC_RIGHT (ic))->t… in isFlagVar() 2152 …if ((dic->op == LEFT_OP || dic->op == RIGHT_OP || dic->op == '-') && IS_OP_LITERAL (IC_RIGHT (dic)… in farSpacePackable() 2896 …if ((IC_LEFT (uic) && IS_OP_LITERAL (IC_LEFT (uic))) || (IC_RIGHT (uic) && IS_OP_LITERAL (IC_RIGHT… in packRegsForAccUse() 3130 IS_OP_LITERAL (IC_RIGHT (ic)) && in packRegisters()
|
/dports/lang/sdcc/sdcc-4.0.0/src/pic14/ |
H A D | ralloc.c | 2545 IS_OP_LITERAL (IC_RIGHT (dic))) in farSpacePackable() 3233 if ( ((IC_LEFT (uic) && IS_OP_LITERAL (IC_LEFT (uic))) || in packRegsForAccUse() 3234 (IC_RIGHT (uic) && IS_OP_LITERAL (IC_RIGHT (uic)))) && in packRegsForAccUse() 3568 IS_OP_LITERAL (IC_RIGHT (ic)))) in packRegisters()
|
/dports/lang/sdcc/sdcc-4.0.0/src/pic16/ |
H A D | ralloc.c | 2952 IS_OP_LITERAL (IC_RIGHT (dic))) 3672 if ( ((IC_LEFT (uic) && IS_OP_LITERAL (IC_LEFT (uic))) || 3673 (IC_RIGHT (uic) && IS_OP_LITERAL (IC_RIGHT (uic)))) && 4080 IS_OP_LITERAL (IC_RIGHT (ic))))
|
/dports/lang/sdcc/sdcc-4.0.0/src/avr/ |
H A D | ralloc.c | 328 IS_OP_LITERAL (IC_RIGHT (dic))) return NULL; 2045 IS_OP_LITERAL (IC_RIGHT (ic)))) { in packRegisters()
|
H A D | gen.c | 701 if (IS_OP_LITERAL (op)) { in aopOp() 5050 !IS_OP_LITERAL (IC_RIGHT (ic))) in genDjnz()
|
/dports/lang/sdcc/sdcc-4.0.0/src/ds390/ |
H A D | ralloc.c | 2223 …if ((dic->op == LEFT_OP || dic->op == RIGHT_OP || dic->op == '-') && IS_OP_LITERAL (IC_RIGHT (dic)… in farSpacePackable() 3170 bitVectnBitsOn (OP_DEFS (IC_RESULT (ic))) == 1 && IS_OP_LITERAL (IC_RIGHT (ic)))) in packRegisters()
|