LLVM API Documentation

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, const Type *Ty, const std::string &NameStr="", Instruction *InsertBefore=0)
 Constructor with insert-before-instruction semantics.
 ZExtInst (Value *S, const Type *Ty, const std::string &NameStr, BasicBlock *InsertAtEnd)
 Constructor with insert-at-end semantics.
virtual CastInstclone () 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)


Detailed Description

This class represents zero extension of integer types.

Definition at line 2718 of file Instructions.h.


Constructor & Destructor Documentation

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

Constructor with insert-before-instruction semantics.

Parameters:
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 2360 of file Instructions.cpp.

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

ZExtInst::ZExtInst ( Value S,
const Type Ty,
const std::string &  NameStr,
BasicBlock InsertAtEnd 
)

Constructor with insert-at-end semantics.

Parameters:
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 2366 of file Instructions.cpp.

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


Member Function Documentation

CastInst * ZExtInst::clone (  )  const [virtual]

Clone an identical ZExtInst.

Implements llvm::Instruction.

Definition at line 2917 of file Instructions.cpp.

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

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

Definition at line 2744 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 2745 of file Instructions.h.

References llvm::Instruction::getOpcode(), and llvm::ZExt.

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

Reimplemented from llvm::CastInst.

Definition at line 2748 of file Instructions.h.


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.