LLVM OPTIMIZATION using SSAPRE

hello all,

i wish to develop llvm ssapre compiler optimization for my engineering academic project .for,that i have a sample c++ program and its .ll file.anyone have ssapre implementation in c++. if anyone have, please give me that implementation immediately.