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::CastInst Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::CastInst:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CastInst (Value *S, const Type *Ty, const std::string &Name="", Instruction *InsertBefore=0)
 CastInst (Value *S, const Type *Ty, const std::string &Name, BasicBlock *InsertAtEnd)
virtual CastInstclone () const

Static Public Member Functions

static bool classof (const CastInst *)
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

CastInst - This class represents a cast from Operand[0] to the type of the instruction (i->getType()).

Definition at line 411 of file Instructions.h.


Constructor & Destructor Documentation

llvm::CastInst::CastInst Value S,
const Type Ty,
const std::string &  Name = "",
Instruction InsertBefore = 0
[inline]
 

Definition at line 421 of file Instructions.h.

llvm::CastInst::CastInst Value S,
const Type Ty,
const std::string &  Name,
BasicBlock InsertAtEnd
[inline]
 

Definition at line 426 of file Instructions.h.


Member Function Documentation

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

Reimplemented from llvm::Instruction.

Definition at line 439 of file Instructions.h.

References classof().

static bool llvm::CastInst::classof const Instruction I  )  [inline, static]
 

Methods for support type inquiry through isa, cast, and dyn_cast:.

Reimplemented from llvm::Instruction.

Definition at line 436 of file Instructions.h.

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

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

Definition at line 435 of file Instructions.h.

Referenced by classof().

CastInst * CastInst::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 810 of file Instructions.cpp.


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