top | up | prev | next

BranchInstruction Class

Definition at line 335 of Instruction.hpp

Constructors

BranchInstruction(Value* cond_, BasicBlock* trueDest_, BasicBlock* falseDest_)

Member Functions

void Write(CodeFormatter& formatter, Function& function, Context& context)

Member Variables

Value* cond
BasicBlock* falseDest
BasicBlock* trueDest

Constructor Details

BranchInstruction Constructor

cmsxi::BranchInstruction::BranchInstruction(Value * cond_, BasicBlock * trueDest_, BasicBlock * falseDest_)

Definition at line 597 of Instruction.cpp :
597 : Instruction()cond(cond_)trueDest(trueDest_)falseDest(falseDest_)
598 {
599 }


Declaration at line 338 of Instruction.hpp


Member Function Details

Write Member Function

void cmsxi::BranchInstruction::Write(CodeFormatter& formatter, Function & function, Context & context)

Definition at line 601 of Instruction.cpp

Calls: cmsxi::BasicBlock::Id , cmsxi::Instruction::WriteMetadataRef , cmsxi::Type::Name , cmsxi::Value::GetType , cmsxi::Value::Name


top | up | prev | next