I think you can refer to lib/VMCore/AsmWriter.cpp for these things.
E.g.,
You can use 'if(I.isTerminator())' if a instruction 'I' is terminator.
You can use 'if (isa<BranchInst>(I))' if a instruction 'I' is 'br' instruction.
and so on...
Thx,
Seung Jae Lee
Thanks a lot for the help guys..
I will try to get the information on these lines...
Thank you once again...
Will bug you guys after some time now. 
Hello all,
The algorithm that i am trying to implement has this particular line that
says
if variable p gets a value at statement u
{
}
If i want to find out whether a particular variable gets a value at a
statement how can i do that.
Do i just need to check whether the getOperand(0) returns a non zero value
or is there any other way?
Please suggest something..
thankz in advance..