Hi Sunil,
> Within the basic block I got the instructions and so the operands i got the
> operands. Can we get the size of the operands. Specifically, if operand
> is of type structure, Can we get size of this operand?
you can get "sizeof" for types using getTypeAllocSize.
Ciao, Duncan.
> --
> Sunil Rathee
> MTech
> IIT Delhi
>
> Not going along with the crowd can help you stand out in the crowd
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>