llvm::ZExtInst::ZExtInst

Zero-extend S to integer type Ty and optionally insert before InsertBefore.

Synopsis

Declared in <llvm/IR/Instructions.h>

ZExtInst(
    Value* S,
    Type* Ty,
    Twine const& NameStr = "",
    InsertPosition InsertBefore = nullptr);

Parameters

NameDescription
SThe value to zero extend.
TyThe wider integer type to extend to.
NameStrName of the new instruction.
InsertBeforeWhere to insert the new instruction.