[LLVMdev] LLVM:help

Chris Lattner clattner at apple.com
Fri Jun 25 09:33:21 PDT 2010

On Jun 25, 2010, at 7:30 AM, Duncan Sands wrote:

> On 25/06/10 06:05, RAJWINDER SINGH wrote:
>> How can I get list of its predecessor basic blocks from a basic block?
> If BB is a BasicBlock*, you can get begin and end iterators using
> pred_begin(BB) and pred_end(BB).

Like this: :)


More information about the llvm-dev mailing list