Feature Options
Describes featured enhancements in CCE Clang
These options have been added to Clang to support CCE features.
-fsave-decompile- Generate decompile (.dc) and IR (.ll) files prior to optimization, vectorization, and code generation, as well as after LTO. A decompile is a higher-level presentation of the IR that looks similar to C source code, but cannot be compiled. Use the decompile to gain insight about restructuring and optimization changes made by the compiler.
-fsave-loopmark- Generate a loopmark listing file (.lst) that shows which optimizations were applied to which parts of the source code.
-floopmark-style- Controls the style of the loopmark listing file produced when
-fsave-loopmarkis used. Allowed values aregrouped(all messages placed at the end of the listing) andinterspersed(each message placed after the relevant source code line). The default isgrouped. -finstrument-loops- Instrument loops to gather profile data to use with CrayPAT.
-finstrument-openmp- Turns the insertion of the CrayPat OpenMP and accelerator tracing calls on and off.
-fcray-program-library-path=directory- Create and use a persistent repository of compiler information specified by directory.
-fcray-trapping-math- Generate optimized trap-safe floating point code. This option disables any optimization which would introduce a trap where one did not exist in the source code. The default is
-fno-cray-trapping-math.