I have been using LLVM control-flow graph (CFG) pass for my static analysis research. Normally, I should be able to see the CFG of the intermediate representation of the program (IR) by running: opt file.ll -passes=view-cfgInstead of opening xdot that will view the CFG, opt opened Google Chrome