Lines Matching refs:condition_value
690 int64_t condition_value = type->IsSigned() in FindNumberOfIterations() local
727 int64_t num_itrs = GetIterations(condition->opcode(), condition_value, in FindNumberOfIterations()
755 int64_t Loop::GetIterations(SpvOp condition, int64_t condition_value, in GetIterations() argument
763 if (!(init_value < condition_value)) return 0; in GetIterations()
765 diff = condition_value - init_value; in GetIterations()
779 if (!(init_value > condition_value)) return 0; in GetIterations()
781 diff = init_value - condition_value; in GetIterations()
796 if (!(init_value >= condition_value)) return 0; in GetIterations()
800 diff = init_value - (condition_value - 1); in GetIterations()
815 if (!(init_value <= condition_value)) return 0; in GetIterations()
819 diff = (condition_value + 1) - init_value; in GetIterations()