llvm c bindings

If I use llvm as backend through c api and gcc to compile the code, how gcc know where to stop and let llvm take care of the rest? Thanks!

Wei