llvm::MachineIRBuilder::buildAddrSpaceCast

Build and insert Dst = G_ADDRSPACE_CAST Src.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

MachineInstrBuilder
buildAddrSpaceCast(
    DstOp const& Dst,
    SrcOp const& Src);

Return Value

a MachineInstrBuilder for the newly created instruction.

Parameters

NameDescription
DstDestination operand for the result.
SrcSource operand.