LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
llvm::ZExtInst Class Reference

This class represents zero extension of integer types. More...

#include <Instructions.h>

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

List of all members.

Public Member Functions

 ZExtInst (Value *S, Type *Ty, const Twine &NameStr="", Instruction *InsertBefore=0)
 Constructor with insert-before-instruction semantics.
 ZExtInst (Value *S, Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd)
 Constructor with insert-at-end semantics.

Static Public Member Functions

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

Protected Member Functions

virtual ZExtInstclone_impl () const
 Clone an identical ZExtInst.

Detailed Description

This class represents zero extension of integer types.

Definition at line 3307 of file Instructions.h.


Constructor & Destructor Documentation

ZExtInst::ZExtInst ( Value S,
Type Ty,
const Twine NameStr = "",
Instruction InsertBefore = 0 
)

Constructor with insert-before-instruction semantics.

Parameters:
SThe value to be zero extended
TyThe type to zero extend to
NameStrA name for the new instruction
InsertBeforeWhere to insert the new instruction

Definition at line 2720 of file Instructions.cpp.

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

Referenced by clone_impl().

ZExtInst::ZExtInst ( Value S,
Type Ty,
const Twine NameStr,
BasicBlock InsertAtEnd 
)

Constructor with insert-at-end semantics.

Parameters:
SThe value to be zero extended
TyThe type to zero extend to
NameStrA name for the new instruction
InsertAtEndThe block to insert the instruction into

Definition at line 2726 of file Instructions.cpp.

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


Member Function Documentation

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

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

Reimplemented from llvm::CastInst.

Definition at line 3330 of file Instructions.h.

References llvm::Instruction::getOpcode().

Referenced by classof().

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

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

Reimplemented from llvm::CastInst.

Definition at line 3333 of file Instructions.h.

References classof().

ZExtInst * ZExtInst::clone_impl ( ) const [protected, virtual]

Clone an identical ZExtInst.

Implements llvm::Instruction.

Definition at line 3449 of file Instructions.cpp.

References llvm::User::getOperand(), llvm::Value::getType(), and ZExtInst().


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