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

This class represents a no-op cast from one type to another. More...

#include <Instructions.h>

Inheritance diagram for llvm::BitCastInst:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BitCastInst (Value *S, const Type *Ty, const std::string &NameStr="", Instruction *InsertBefore=0)
 Constructor with insert-before-instruction semantics.
 BitCastInst (Value *S, const Type *Ty, const std::string &NameStr, BasicBlock *InsertAtEnd)
 Constructor with insert-at-end-of-block semantics.
virtual CastInstclone () const
 Clone an identical BitCastInst.

Static Public Member Functions

bool classof (const BitCastInst *)
bool classof (const Instruction *I)
 Methods for support type inquiry through isa, cast, and dyn_cast:.
bool classof (const Value *V)

Detailed Description

This class represents a no-op cast from one type to another.

Definition at line 3081 of file Instructions.h.


Constructor & Destructor Documentation

BitCastInst::BitCastInst Value S,
const Type Ty,
const std::string &  NameStr = "",
Instruction InsertBefore = 0
 

Constructor with insert-before-instruction semantics.

Parameters:
S  The value to be casted
Ty  The type to casted to
Name  A name for the new instruction
InsertBefore  Where to insert the new instruction

Definition at line 2438 of file Instructions.cpp.

References llvm::BitCast, llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().

Referenced by clone().

BitCastInst::BitCastInst Value S,
const Type Ty,
const std::string &  NameStr,
BasicBlock InsertAtEnd
 

Constructor with insert-at-end-of-block semantics.

Parameters:
S  The value to be casted
Ty  The type to casted to
Name  A name for the new instruction
InsertAtEnd  The block to insert the instruction into

Definition at line 2444 of file Instructions.cpp.

References llvm::BitCast, llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().


Member Function Documentation

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

Reimplemented from llvm::CastInst.

Definition at line 3110 of file Instructions.h.

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

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

Reimplemented from llvm::CastInst.

Definition at line 3107 of file Instructions.h.

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

Definition at line 3106 of file Instructions.h.

CastInst * BitCastInst::clone  )  const [virtual]
 

Clone an identical BitCastInst.

Implements llvm::Instruction.

Definition at line 2886 of file Instructions.cpp.

References BitCastInst().


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


This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.