[LLVMdev] the pred_begin and pred_end of BasicBlock
Chris Lattner
sabre at nondot.org
Wed Jan 12 21:01:34 PST 2005
On Thu, 13 Jan 2005, Zhou Feng wrote:
> hi,
> I'm a bit confused by the pred_begin/end of BasicBlock in CFG.h. I cann't
> understand what is a **use** of a BasicBlock. Also, I have no idea of when
> CFG would be constructed in LLVM.
The CFG is always implicit in LLVM. The two things that "use" BasicBlocks
are branch/control flow instructions and PHI nodes.
-Chris
--
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/
More information about the llvm-dev
mailing list