Convert FP value S to unsigned integer type Ty and optionally insert before InsertBefore.

Synopsis

Declared in <llvm/IR/Instructions.h>

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

Parameters

Name

Description

S

The floating‐point value to convert.

Ty

The unsigned integer type to convert to.

NameStr

Name of the new instruction.

InsertBefore

Where to insert the new instruction.

Created with MrDocs