[LLVMdev] LLVM getBasicBlockIndex() or equivalent
Alexandru Ionut Diaconescu
alexandruionutdiaconescu at gmail.com
Fri Dec 21 02:27:41 PST 2012
Hello everyone !
I have some problems of getting the index of a basic block.
for (Function::iterator II = F.begin(), EE = F.end(); II != EE; ++II, ++ii)
{ BasicBlock* BB=II;
I have segfaults or cannot use complex structures of several methods that I
found in LLVM. Do you know how to use as simply as possible the methods
found at :
http://llvm.org/doxygen/Instructions_8h_source.html#l02136
http://llvm.org/doxygen/EdgeBundles_8cpp_source.html#l00078
Or something equivalent? I just want to get an ID of the basic blocks.
Thank you !
--
Best regards,
Alexandru Ionut Diaconescu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121221/c07a38f5/attachment.html>
More information about the llvm-dev
mailing list