Hi, all:<br> I want to know how to dump the a instruction in gdb. I can dump a Module use M.dump(), also is there any such print function which can be used in gdb for a single instruction and its operand? <br>also I'm confused with the concept about " the type a instruction", why a instruction should have a type, how we decide the type of a instruction? for example, for the following instruction:
<br>%i = alloca i32, align 4 ; <i32*> [#uses=2]<br clear="all">the following isa is true:<br>isa<PointerType>(II->getType())<br><br>is that the type of a instruction is decided by the type of the result operand? and it has nothing to do with the opcode for a instruction?
<br><br>thanks.<br><br>tianwei<br><br>