llvm::IRBuilderBase::CreatePointerCast

Create a pointer cast.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

Value*
CreatePointerCast(
    Value* V,
    Type* DestTy,
    Twine const& Name = "");

Return Value

The created pointer cast.

Parameters

NameDescription
VInput value.
DestTyDestination type of the cast.
NameName of the new instruction or value.