search for: hasterminator

Displaying 2 results from an estimated 2 matches for "hasterminator".

2008 Dec 19
2
[LLVMdev] llvm-c API and well formed block
How can I find out, in llvm-c API, whether a basic block is well formed? In C++ I could call getTerminator and test for NULL. -- Seo Sanghyeon
2008 Dec 19
0
[LLVMdev] llvm-c API and well formed block
On 2008-12-19, at 09:18, Seo Sanghyeon wrote: > How can I find out, in llvm-c API, whether a basic block is well > formed? In C++ I could call getTerminator and test for NULL. There's not currently a binding for this. In general, there's incomplete support for inspection and analysis through the C bindings. BasicBlock::getTerminator() is just a convenient way to spell for