Nonio swMATH ID: 28816 Software Authors: Ricardo Nobre, João Bispo, Tiago Carvalho, João M.P. Cardoso Description: Nonio - modular automatic compiler phase selection and ordering specialization framework for modern compilers. This article presents Nonio, a modular, easy-to-use, design space exploration framework focused on exploring custom combinations of compiler flags and compiler sequences. We describe the framework and discuss its use with two of the most popular compiler toolchains, GCC and Clang+LLVM. Particularly, we discuss implementation details in the context of flag selection, when using GCC, and phase selection and ordering, when using Clang+LLVM. The framework software organization allows to easily add new components as plug-ins (e.g., an exploration algorithm, an objective metric, integration with another compiler toolchain). The software architecture provides well-defined interfaces, in order to enable seamless composition and interaction between different components. We present, as an example, a use case where we rely on Nonio to obtain custom compiler flags for reducing the execution time and the energy consumption of a C program, in relation to the best predetermined optimization settings provided by the compiler (e.g., –O3). Homepage: https://www.sciencedirect.com/science/article/pii/S2352711018301614 Source Code: https://github.com/specs-feup/nonio Keywords: SoftwareX; Compiler optimizations; Design space exploration; Flag selection; Performance; compiler Related Software: TACT; Cole; Micomp; Acovea; LARA; COBAYN; Milepost GCC; LLVM Cited in: 0 Publications Standard Articles 1 Publication describing the Software Year