llvm::sandboxir::PHINode::create

Create and insert a new PHINode.

Synopsis

Declared in <llvm/SandboxIR/Instruction.h>

static
PHINode*
create(
    Type* Ty,
    unsigned int NumReservedValues,
    InsertPosition Pos,
    Context& Ctx,
    Twine const& Name = "");

Return Value

The newly created instruction.

Parameters

NameDescription
TyResult type of the PHI.
NumReservedValuesNumber of PHI incoming values to reserve.
PosInsert position for the new instruction.
CtxSandboxIR context.
NameName of the new instruction.