Lines Matching defs:loop
159 int loop = 0;
401 if (i == fImpl->loop) { write(o, "loop:\n"); }
404 if (i >= fImpl->loop) { write(o, " "); }
575 // Mark which values don't depend on the loop and can be hoisted.
577 // Varying loads (and gathers) and stores cannot be hoisted out of the loop.
590 // Extend the lifetime of any hoisted value that's used in the loop to infinity.
592 if (!inst.can_hoist /*i.e. we're in the loop, so the arguments are used-in-loop*/) {
2613 this->nregs(), this->loop(), fImpl->strides.data(), this->nargs(),
3103 int Program::loop () const { return fImpl->loop; }
3154 // Assign a register to each hoisted instruction, then each non-hoisted loop instruction.
3163 // registers. This will be two passes, first hoisted instructions, then inside the loop.
3165 // The loop begins at the fImpl->loop'th Instruction.
3166 fImpl->loop = 0;
3195 fImpl->loop++;
3444 block = r; // (optimization) continue outer loop at next register.
4272 // This point marks a kind of canonical fixed point for register contents: if loop
4274 // the loop comes around we'd better find those same registers holding those same values.
4448 // Trimming that would let us pass '--visualize-jumps' and get the loop annotated.