DawnCC attempts to automatically add OpenACC and OpenMP directives to C and C++ code-bases. The Dawn compiler makes use of LLVM IR to analyze memory chunks, dependencies within loops, etc, in order to be able to automatically produce code that makes use of OpenMP and OpenACC where relevant.
One of the developers, Fernando Magno Quintao Pereira, was sharing his work this weekend about the project on the LLVM mailing list. Via their project site also allows inputting C/C++ code and for it to produce the automatically parallelized version using OpenMP/OpenACC. The code to the project is housed on GitHub.