Noise


Specify custom optimization strategies for specific parts of your code.
Implemented in Clang/LLVM: source-language and target-platform independent.
Example realization in C/C++ via attributes.

void foo(int x, int* in, int* out) {
  NOISE("inline(bar) wfv(8) unroll(4)")
  for (int i=0; i<x; ++i)
  {
    out[i] = in[i] + bar(x);
  }
}