What is the easiest way to get the predecessors of BasicBlock in an LLVM framework?
I took a look at DepthFirstIterator and idf_iterator<BasicBlock*> , but I really need to do a width search on the control flow graph.
It seems to me that this should be easy, but it is not obvious from the documentation or examples that I studied on the Internet.
source share