Research "cl:define-compiler-macro".
It has been done before.
And LTO is when the C people and the C++ people started to agree.