<div>Hello LLVMers,</div>
<div> </div>
<div>I am developing hardware generation tool which converts C/C++ application to hardware which is not a Pass but a separate project. I am going to use LLVM as front-end optimization tool. I am curious how I can invoke the LLVM front-end optimziations and then, get the pointer of LLVM IR data generated by the front-end. I would like to perform some optimziations on the IR. Can anybody please direct me to some example codes or documentation about that?</div>

<div> </div>
<div>Thank you.</div>