Does ardupilot support compilation to generate LLVM IR?

I want to finish static analysis of ardupilot code using Calng and LLVM IR, and ardupilot uses Waf compilation, what can I do to generate LLVM IR?