1 void bar(); foo()2void foo() { bar(); } 3 4 #include "or.h" 5 Test(int * res,int * c,int * d,int * p,int n)6void Test(int *res, int *c, int *d, int *p, int n) { 7 int i; 8 9 #pragma clang loop vectorize(assume_safety) 10 for (i = 0; i < 1600; i++) { 11 res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; 12 } 13 14 for (i = 0; i < 16; i++) { 15 res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; 16 } 17 18 foo(); 19 20 foo(); bar(); foo(); 21 } 22 23