LLVM API Documentation
#include <Instructions.h>
Public Member Functions | |
| BitCastInst (Value *S, const Type *Ty, const Twine &NameStr="", Instruction *InsertBefore=0) | |
| Constructor with insert-before-instruction semantics. | |
| BitCastInst (Value *S, const Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| Constructor with insert-at-end-of-block semantics. | |
| virtual CastInst * | clone (LLVMContext &Context) const |
| Clone an identical BitCastInst. | |
Static Public Member Functions | |
| static bool | classof (const BitCastInst *) |
| 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 3018 of file Instructions.h.
| BitCastInst::BitCastInst | ( | Value * | S, | |
| const Type * | Ty, | |||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) |
Constructor with insert-before-instruction semantics.
| S | The value to be casted |
| Ty | The type to casted to |
| NameStr | A name for the new instruction |
| InsertBefore | Where to insert the new instruction |
Definition at line 2466 of file Instructions.cpp.
References llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().
Referenced by clone().
| BitCastInst::BitCastInst | ( | Value * | S, | |
| const Type * | Ty, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) |
Constructor with insert-at-end-of-block semantics.
| S | The value to be casted |
| Ty | The type to casted to |
| NameStr | A name for the new instruction |
| InsertAtEnd | The block to insert the instruction into |
Definition at line 2472 of file Instructions.cpp.
References llvm::CastInst::castIsValid(), and llvm::CastInst::getOpcode().
| CastInst * BitCastInst::clone | ( | LLVMContext & | Context | ) | const [virtual] |
Clone an identical BitCastInst.
Implements llvm::Instruction.
Definition at line 3002 of file Instructions.cpp.
References BitCastInst(), llvm::User::getOperand(), llvm::Value::getType(), and llvm::Value::SubclassOptionalData.
| static bool llvm::BitCastInst::classof | ( | const BitCastInst * | ) | [inline, static] |
Definition at line 3040 of file Instructions.h.
| static bool llvm::BitCastInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::CastInst.
Definition at line 3041 of file Instructions.h.
References llvm::BitCast, and llvm::Instruction::getOpcode().