search for: test_noise

Displaying 2 results from an estimated 2 matches for "test_noise".

Did you mean: get_noise
2013 Apr 06
0
[LLVMdev] Loop-specific optimizations
...tributes to the > bytecode, or how does opt decide which transformations to apply? This > because our approach, attaching metadata to loop latches, is quite > fragile; loop latches can easily get destroyed or transformed during > optimization. We do this in the front end already: void test_noise(int x, int* in, int* out) { __attribute__((noise("inline(fn) licm wfv-vectorize(4) unroll(4)"))) for (int i=0; i<16; ++i) { out[i] = in[i] + fn(x); } } This results in IR similar to this code: void test_noise_result(int x, int* in, int* out) { // Code of...
2013 Apr 05
2
[LLVMdev] Loop-specific optimizations
Hi Ralf, > we at Saarland University are working on something similar to what you > are describing. In principle, we enhance Clang by an attribute that > allows to specify what transformation phases should be run on the > annotated construct (currently functions, compound statements, or loops) > and in what order. That definitely sounds interesting. Do you add these attributes to