Zero-extend S to integer type Ty and optionally insert before InsertBefore.
Declared in <llvm/IR/Instructions.h>
ZExtInst(
Value* S,
Type* Ty,
Twine const& NameStr = "",
InsertPosition InsertBefore = nullptr);
| Name | Description |
|---|---|
| S | The value to zero extend. |
| Ty | The wider integer type to extend to. |
| NameStr | Name of the new instruction. |
| InsertBefore | Where to insert the new instruction. |