profile directed if conversion

Hello, everyone. How can I implement profile directed if conversion for an specific architecture on LLVM? I know if conversion pass of LLVM.
Thank you for your help! I am new LLVMer, your presents do me a favor!