LLVM API Documentation
#include <Instructions.h>
Inheritance diagram for llvm::CastInst:
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 CastInst * | clone () 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) |
Definition at line 462 of file Instructions.h.
llvm::CastInst::CastInst | ( | Value * | S, | |
const Type * | Ty, | |||
const std::string & | Name = "" , |
|||
Instruction * | InsertBefore = 0 | |||
) | [inline] |
Definition at line 467 of file Instructions.h.
llvm::CastInst::CastInst | ( | Value * | S, | |
const Type * | Ty, | |||
const std::string & | Name, | |||
BasicBlock * | InsertAtEnd | |||
) | [inline] |
Definition at line 471 of file Instructions.h.
static bool llvm::CastInst::classof | ( | const Value * | V | ) | [inline, static] |
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 480 of file Instructions.h.
References llvm::Instruction::Cast, and llvm::Instruction::getOpcode().
static bool llvm::CastInst::classof | ( | const CastInst * | ) | [inline, static] |
Definition at line 479 of file Instructions.h.
Referenced by llvm::UnreachableInst::classof(), llvm::UnwindInst::classof(), llvm::InvokeInst::classof(), llvm::SwitchInst::classof(), llvm::BranchInst::classof(), llvm::ReturnInst::classof(), llvm::PHINode::classof(), llvm::ShuffleVectorInst::classof(), llvm::InsertElementInst::classof(), llvm::ExtractElementInst::classof(), llvm::VAArgInst::classof(), llvm::SelectInst::classof(), llvm::ShiftInst::classof(), llvm::CallInst::classof(), and 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 1275 of file Instructions.cpp.