John Criswell
2010-Aug-27 22:30 UTC
[LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
Yes, that would be better. -----Original Message----- From: Guoliang Jin <jingl1345 at gmail.com> Sent: Friday, August 27, 2010 5:05 PM To: llvmdev at cs.uiuc.edu <llvmdev at cs.uiuc.edu> Subject: Re: [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?> Every basic block ends with a terminator instruction that indicates > which basic block or basic blocks it should branch to next. Switch, > invoke, and branch are all terminator instructions. There may be more > that I don't remember. >Why not just use the predecessor and successor iterator? http://llvm.org/docs/ProgrammersManual.html#iterate_preds
Possibly Parallel Threads
- [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
- [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
- [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
- [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?
- [LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?