diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index 3caeaa4f5fb6..c81f89c39dea 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/docs/ProgrammersManual.html @@ -901,6 +901,17 @@ way as for other Users (with the getOperand()/getNumOperands() and op_begin()/op_end() methods).

+An important file for the Instruction class is the +llvm/Instruction.def file. This file contains some meta-data about the +various different types of instructions in LLVM. It describes the enum values +that are used as opcodes (for example Instruction::Add and +Instruction::SetLE), as well as the concrete sub-classes of +Instruction that implement the instruction (for example BinaryOperator and SetCondInst). Unfortunately, the use of macros in +this file confused doxygen, so these enum values don't show up correctly in the +doxygen output.

+


Important Public Members of @@ -920,6 +931,14 @@ Returns true if the instruction has side effects, i.e. it is a call, Returns the opcode for the Instruction.

+

  • Instruction *clone() const

    + +Returns another instance of the specified instruction, identical in all ways to +the original except that the instruction has no parent (ie it's not embedded +into a BasicBlock), and it has no name.

    + + + -Last modified: Wed Sep 11 17:31:03 CDT 2002 +Last modified: Thu Sep 12 12:18:04 CDT 2002