BranchInstruction Class

Definition

Line 2840 of cmsxi/Instruction.cm

Inheritance

Constructors & Destructor

public nothrow BranchInstruction(Value* cond_, uint trueTarget_, uint falseTarget_, int line_)

Member Functions

public override nothrow void BeginComputeLivenessAndNextUse()
public override nothrow void EndComputeLivenessAndNextUse()
public override void GenerateCode(MachineCode& machineCode, CodeFormatter& formatter)
public override nothrow String<char> Name() const
public override nothrow String<char> OperationName() const
public override void Print(CodeFormatter& formatter)
public override void Validate(Function& function, int numArgs)

Member Variables

public Value* cond
public uint falseTarget
public BasicBlock* falseTargetBlock
public uint trueTarget
public BasicBlock* trueTargetBlock

Constructor& Destructor Details

BranchInstruction Constructor

public nothrow BranchInstruction(Value* cond_, uint trueTarget_, uint falseTarget_, int line_)

Definition
Line 2842 of cmsxi/Instruction.cm


Member Function Details

BeginComputeLivenessAndNextUse Member Function

public override nothrow void BeginComputeLivenessAndNextUse()

Definition
Line 2876 of cmsxi/Instruction.cm


EndComputeLivenessAndNextUse Member Function

public override nothrow void EndComputeLivenessAndNextUse()

Definition
Line 2885 of cmsxi/Instruction.cm


GenerateCode Member Function

public override void GenerateCode(MachineCode& machineCode, CodeFormatter& formatter)

Definition
Line 2890 of cmsxi/Instruction.cm


Name Member Function

public override nothrow String<char> Name()

Definition
Line 2846 of cmsxi/Instruction.cm


OperationName Member Function

public override nothrow String<char> OperationName()

Definition
Line 2850 of cmsxi/Instruction.cm


Print Member Function

public override void Print(CodeFormatter& formatter)

Definition
Line 2871 of cmsxi/Instruction.cm


Validate Member Function

public override void Validate(Function& function, int numArgs)

Definition
Line 2854 of cmsxi/Instruction.cm