IR generating information

Hi everyone. Who know how can I take LLVM AST information, if its exist(not Clang AST)? Take information I mean that take information at the code level and manipulate it how I want.
Thanks.