llvm::IRBuilderBase::CreateSIToFP

Create a si to fp.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

Value*
CreateSIToFP(
    Value* V,
    Type* DestTy,
    Twine const& Name = "",
    MDNode* FPMathTag = nullptr);

Return Value

The created si to fp.

Parameters

NameDescription
VInput value.
DestTyDestination type of the cast.
NameName of the new instruction or value.
FPMathTagFloating-point math metadata tag.