LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::ShiftInst Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::ShiftInst:

Inheritance graph
[legend]
Collaboration diagram for llvm::ShiftInst:

Collaboration graph
[legend]
List of all members.

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
virtual ShiftInstclone () 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)

Detailed Description

ShiftInst - This class represents left and right shift instructions.

Definition at line 511 of file Instructions.h.


Constructor & Destructor Documentation

llvm::ShiftInst::ShiftInst OtherOps  Opcode,
Value S,
Value SA,
const std::string &  Name = "",
Instruction InsertBefore = 0
[inline]
 

Definition at line 525 of file Instructions.h.

llvm::ShiftInst::ShiftInst OtherOps  Opcode,
Value S,
Value SA,
const std::string &  Name,
BasicBlock InsertAtEnd
[inline]
 

Definition at line 530 of file Instructions.h.


Member Function Documentation

static bool llvm::ShiftInst::classof const Value V  )  [inline, static]
 

Reimplemented from llvm::Instruction.

Definition at line 548 of file Instructions.h.

References classof().

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 544 of file Instructions.h.

References llvm::Instruction::getOpcode(), and llvm::Instruction::Shl.

static bool llvm::ShiftInst::classof const ShiftInst  )  [inline, static]
 

Definition at line 543 of file Instructions.h.

Referenced by classof().

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 812 of file Instructions.cpp.

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 536 of file Instructions.h.

References llvm::Instruction::getOpcode().


The documentation for this class was generated from the following files: