determine the basic_block inside if and else

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

determine the basic_block inside if and else

khaled hamidouche
Hello

I used a functionPass to count the number of bloks ?

so for each BBlock I check if it is a loop or BB ...

and I'm wandring How can I determine if a BB is a conditional block (if) ??
and How can I separate between the BBs inside the if and those inside the else ??

Thank you so much

K.H

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev