Lines Matching refs:i

46     for (int i = 0; i < 100; i++) {  in unroll()
47 x[i] = y[i] * 2.5f; in unroll()
64 for (int i = 1; i < n - 1; i++) { in stencil()
65 a[i] = b[i - 1] + b[i] + b[i + 1]; in stencil()
96 for (int i = 1; i < n + minus1; i++) { in stencilAddInt()
97 a[i] = b[i + minus1] + b[i] + b[i + 1]; in stencilAddInt()
133 for (int i = 1; i < n - plus1; i++) { in stencilSubInt()
134 a[i] = b[i - plus1] + b[i] + b[i + 1]; in stencilSubInt()
166 for (long i = 0; i < 10; i++) { in longInductionReduction()
192 for (int i = 0; i < 100; i++) { in intVectorLongInvariant()
193 x[i] = (int) y[0]; in intVectorLongInvariant()
221 for (int i = 0; i < 100; i++) { in longCanBeDoneWithInt()
222 x[i] = (int) (y[i] + 1L); in longCanBeDoneWithInt()
229 for (int i = 0; i < 100; i++) { in testUnroll()
230 x[i] = 0.0f; in testUnroll()
231 y[i] = 2.0f; in testUnroll()
234 for (int i = 0; i < 100; i++) { in testUnroll()
235 expectEquals(5.0f, x[i]); in testUnroll()
236 expectEquals(2.0f, y[i]); in testUnroll()
243 for (int i = 0; i < 100; i++) { in testStencil1()
244 a[i] = 0; in testStencil1()
245 b[i] = i; in testStencil1()
248 for (int i = 1; i < 99; i++) { in testStencil1()
249 int e = i + i + i; in testStencil1()
250 expectEquals(e, a[i]); in testStencil1()
251 expectEquals(i, b[i]); in testStencil1()
258 for (int i = 0; i < 100; i++) { in testStencil2()
259 a[i] = 0; in testStencil2()
260 b[i] = i; in testStencil2()
263 for (int i = 1; i < 99; i++) { in testStencil2()
264 int e = i + i + i; in testStencil2()
265 expectEquals(e, a[i]); in testStencil2()
266 expectEquals(i, b[i]); in testStencil2()
273 for (int i = 0; i < 100; i++) { in testStencil3()
274 a[i] = 0; in testStencil3()
275 b[i] = i; in testStencil3()
278 for (int i = 1; i < 99; i++) { in testStencil3()
279 int e = i + i + i; in testStencil3()
280 expectEquals(e, a[i]); in testStencil3()
281 expectEquals(i, b[i]); in testStencil3()
291 for (int i = 0; i < 100; i++) { in testTypes()
292 expectEquals(3, a[i]); in testTypes()
295 for (int i = 0; i < 100; i++) { in testTypes()
296 expectEquals(4, b[i]); in testTypes()