LLVM version and keeping original variable names

Hello,

I am working on a project for which I need to compile swift to llvm ir and then run an analysis pass on it. For this, it would be great if in the ir I could keep the actual names of the variables.

With clang I can use "-fno-discard-value-names", is there something similar in swift?

My second question is, how can I find out the version of LLVM the latest version of swift(installed with homebrew version 5.5) is?