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