LLVM API Documentation
#include <Instructions.h>
Inheritance diagram for llvm::ShiftInst:
Public Member Functions | |
ShiftInst (OtherOps Opcode, Value *S, Value *SA, const std::string &Name="", Instruction *InsertBefore=0) | |
ShiftInst (OtherOps Opcode, Value *S, Value *SA, const std::string &Name, BasicBlock *InsertAtEnd) | |
OtherOps | getOpcode () const |
Value * | getOperand (unsigned i) const |
Transparently provide more efficient getOperand methods. | |
void | setOperand (unsigned i, Value *Val) |
unsigned | getNumOperands () const |
virtual ShiftInst * | clone () const |
Static Public Member Functions | |
static bool | classof (const ShiftInst *) |
static bool | classof (const Instruction *I) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
static bool | classof (const Value *V) |
Definition at line 585 of file Instructions.h.
llvm::ShiftInst::ShiftInst | ( | OtherOps | Opcode, | |
Value * | S, | |||
Value * | SA, | |||
const std::string & | Name = "" , |
|||
Instruction * | InsertBefore = 0 | |||
) | [inline] |
llvm::ShiftInst::ShiftInst | ( | OtherOps | Opcode, | |
Value * | S, | |||
Value * | SA, | |||
const std::string & | Name, | |||
BasicBlock * | InsertAtEnd | |||
) | [inline] |
OtherOps llvm::ShiftInst::getOpcode | ( | ) | const [inline] |
Subclass classification... getOpcode() returns a member of one of the enums that is coming soon (down below)...
Reimplemented from llvm::Instruction.
Definition at line 610 of file Instructions.h.
References llvm::Instruction::getOpcode().
Value* llvm::ShiftInst::getOperand | ( | unsigned | i | ) | const [inline] |
Transparently provide more efficient getOperand methods.
Reimplemented from llvm::User.
Definition at line 615 of file Instructions.h.
References Ops.
Referenced by llvm::Interpreter::visitShl(), and llvm::Interpreter::visitShr().
void llvm::ShiftInst::setOperand | ( | unsigned | i, | |
Value * | Val | |||
) | [inline] |
unsigned llvm::ShiftInst::getNumOperands | ( | ) | const [inline] |
ShiftInst * ShiftInst::clone | ( | ) | const [virtual] |
clone() - Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no name
Implements llvm::Instruction.
Definition at line 1324 of file Instructions.cpp.
static bool llvm::ShiftInst::classof | ( | const ShiftInst * | ) | [inline, static] |
Definition at line 628 of file Instructions.h.
static bool llvm::ShiftInst::classof | ( | const Instruction * | I | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::Instruction.
Definition at line 629 of file Instructions.h.
References llvm::Instruction::getOpcode(), and llvm::Instruction::Shl.
static bool llvm::ShiftInst::classof | ( | const Value * | V | ) | [inline, static] |
Reimplemented from llvm::Instruction.
Definition at line 633 of file Instructions.h.
References llvm::CastInst::classof(), and V.