search for: dicectly

Displaying 3 results from an estimated 3 matches for "dicectly".

2002 Nov 13
2
[LLVMdev] a basic question about BB
Dear LLVM, I want to know, given a function, How do I know which block is entry block, which blocks are exit blocks? Is there any efficient way to dicectly get that information?
2002 Nov 14
1
[LLVMdev] a basic question about BB
> > I want to know, given a function, How do I know which block is entry > > block, which blocks are exit blocks? Is there any efficient way to > > dicectly get that information? > > Given a function you can always use Function::getEntryBlock() to get the > entry block. You need to scan the function to get the returning nodes. You could also use UnifyExitNode (a pass in analysis) to unify the exits, and then use getExit() to get the exit nod...
2002 Nov 13
0
[LLVMdev] a basic question about BB
> Dear LLVM, > > I want to know, given a function, How do I know which block is entry > block, which blocks are exit blocks? Is there any efficient way to > dicectly get that information? Given a function you can always use Function::getEntryBlock() to get the entry block. You need to scan the function to get the returning nodes. -Chris "llvm" Lattner -- http://llvm.cs.uiuc.edu/ http://www.nondot.org/~sabre/Projects/