Lines Matching refs:op
564 InductionOp op) { in TransferAddSub() argument
572 return CreateInvariantOp(op, a, b); // direct invariant in TransferAddSub()
576 InductionInfo* new_a = TransferAddSub(a->op_a, b->op_a, op); in TransferAddSub()
577 InductionInfo* new_b = TransferAddSub(a->op_b, b->op_b, op); in TransferAddSub()
584 InductionInfo* new_b = TransferAddSub(a, b->op_b, op); in TransferAddSub()
586 new_a = TransferAddSub(a, new_a, op); in TransferAddSub()
587 } else if (op == kSub) { // Negation required. in TransferAddSub()
596 InductionInfo* new_b = TransferAddSub(a->op_b, b, op); in TransferAddSub()
598 new_a = TransferAddSub(new_a, b, op); in TransferAddSub()
729 InductionOp op, in SolveAddSub() argument
738 return (op == kAdd) ? b : CreateInvariantOp(kNeg, nullptr, b); in SolveAddSub()
744 return CreateInvariantOp(op, a, b); in SolveAddSub()
752 InductionInfo* new_a = op == kAdd ? b : TransferNeg(b); in SolveAddSub()
761 if (op == kAdd) { in SolveAddSub()
764 return SolveAddSub(loop, entry_phi, instruction, y, x, op, false); in SolveAddSub()
766 } else if (op == kSub) { in SolveAddSub()
790 InductionOp op) { in SolveOp() argument
797 } else if (op != kDiv && op != kRem) { in SolveOp()
806 switch (op) { in SolveOp()
812 op, in SolveOp()
836 LOG(FATAL) << op; in SolveOp()
1037 InductionOp op = kNop; in VisitTripCount() local
1039 case kCondLT: op = kLT; break; in VisitTripCount()
1040 case kCondLE: op = kLE; break; in VisitTripCount()
1041 case kCondGT: op = kGT; break; in VisitTripCount()
1042 case kCondGE: op = kGE; break; in VisitTripCount()
1048 InductionInfo* taken_test = CreateInvariantOp(op, lower_expr, upper_expr); in VisitTripCount()
1235 InductionOp op, in CreateSimplifiedInvariant() argument
1246 if (op == kAdd || op == kXor) { in CreateSimplifiedInvariant()
1248 } else if (op == kMul) { in CreateSimplifiedInvariant()
1251 } else if (op == kMul) { in CreateSimplifiedInvariant()
1263 if (op == kAdd || op == kSub || op == kXor) { in CreateSimplifiedInvariant()
1265 } else if (op == kMul || op == kNeg) { in CreateSimplifiedInvariant()
1268 } else if (op == kMul || op == kDiv) { in CreateSimplifiedInvariant()
1278 if (op == kAdd) { in CreateSimplifiedInvariant()
1280 } else if (op == kSub) { in CreateSimplifiedInvariant()
1282 } else if (op == kNeg) { in CreateSimplifiedInvariant()
1287 if (op == kNeg) { in CreateSimplifiedInvariant()
1292 kInvariant, op, a, b, nullptr, ImplicitConversion(b->type)); in CreateSimplifiedInvariant()