summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/IroLoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_and_linker/unsorted/IroLoop.c')
-rw-r--r--compiler_and_linker/unsorted/IroLoop.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/compiler_and_linker/unsorted/IroLoop.c b/compiler_and_linker/unsorted/IroLoop.c
index 50c835f..d6ec5f0 100644
--- a/compiler_and_linker/unsorted/IroLoop.c
+++ b/compiler_and_linker/unsorted/IroLoop.c
@@ -407,7 +407,7 @@ static int Reducable(IROLinear *nd, IROLinear **resultNd1, IROLinear **resultNd2
if (!*resultVar || (*resultVar)->xA != 2)
return 0;
- if (copts.ANSI_strict || copts.opt_strength_reduction_strict) {
+ if (copts.ANSIstrict || copts.strengthreductionstrict) {
Type *type = (*resultVar)->object->type;
if (IRO_IsUnsignedType(type) && type->size < stunsignedlong.size)
return 0;
@@ -1278,17 +1278,17 @@ static void MyHandleLoop_Vector(IRONode *fnode) {
}
}
- if (copts.opt_loop_invariants || copts.opt_strength_reduction) {
+ if (copts.loopinvariants || copts.strengthreduction) {
MoveInvarianceInAddressExpr();
IRO_DumpAfterPhase("MoveInvarianceInAddressExpr", 0);
IRO_FindExpressions(InLoop, 1);
IRO_DumpExprs();
}
- if (copts.opt_loop_invariants)
+ if (copts.loopinvariants)
UnmarkSubexpressionsOfInvariantExpressions();
- if (!copts.optimize_for_size && copts.opt_strength_reduction) {
+ if (!copts.optimizesize && copts.strengthreduction) {
for (expr = IRO_FirstExpr; expr; expr = expr->next) {
if (
!(expr->x0 & 4) &&
@@ -1306,7 +1306,7 @@ static void MyHandleLoop_Vector(IRONode *fnode) {
}
}
- if (!copts.optimize_for_size && copts.opt_strength_reduction) {
+ if (!copts.optimizesize && copts.strengthreduction) {
RisList = NULL;
for (expr = IRO_FirstExpr; expr; expr = exprnext) {
exprnext = expr->next;
@@ -1355,7 +1355,7 @@ static void MyHandleLoop_Vector(IRONode *fnode) {
expr = IRO_FirstExpr;
removedExprs = NULL;
- if (copts.opt_loop_invariants) {
+ if (copts.loopinvariants) {
while (expr) {
exprnext = expr->next;
flag24 = 0;
@@ -1461,14 +1461,14 @@ static void MyHandleLoop_Motion(IRONode *fnode) {
}
}
- if (copts.opt_loop_invariants || copts.opt_strength_reduction) {
+ if (copts.loopinvariants || copts.strengthreduction) {
MoveInvarianceInAddressExpr();
IRO_DumpAfterPhase("MoveInvarianceInAddressExpr", 0);
IRO_FindExpressions(InLoop, 0);
IRO_DumpExprs();
}
- if (copts.opt_loop_invariants)
+ if (copts.loopinvariants)
UnmarkSubexpressionsOfInvariantExpressions();
checkflag = 1;