Lines Matching defs:From
160 // (sequence "Format", From, To) Generate a sequence of records by name.
165 throw "Bad args to (sequence \"Format\", From, To): " +
180 int64_t From, To;
182 From = II->getValue();
184 throw "From must be an integer: " + Expr->getAsString();
185 if (From < 0 || From >= (1 << 30))
186 throw "From out of range";
191 throw "From must be an integer: " + Expr->getAsString();
198 Step *= From <= To ? 1 : -1;
200 if (Step > 0 && From > To)
202 else if (Step < 0 && From < To)
206 OS << format(Format.c_str(), unsigned(From));
216 From += Step;