Integrating LLVM pass into Clang

Hi,
I have an LLVM pass that I am able to run with ‘opt’. I now want this pass to be available for invocation via Clang. Any pointers on if and how to achieve this?

I have already looked through the document on writing a pass; I did not find this information on that page.

Sai Charan,
CSE, UC Riverside.