top | up | prev | next

SignExtendInstruction Class

Definition at line 169 of Instruction.hpp

Constructors

SignExtendInstruction(Value* arg_, Type* destType_)

Member Functions

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

Constructor Details

SignExtendInstruction Constructor

cmsxi::SignExtendInstruction::SignExtendInstruction(Value * arg_, Type * destType_)

Definition at line 259 of Instruction.cpp :
259 : UnaryTypeInstruction(arg_destType_)
260 {
261 }


Declaration at line 172 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 263 of Instruction.cpp :
264 {
265     WriteResult(formatterfunctioncontext);
266     formatter.Write(" = signextend ");
267     WriteArg(formattercontext);
268     WriteMetadataRef(formatter);
269 }


Calls: cmsxi::Instruction::WriteMetadataRef , cmsxi::Instruction::WriteResult , cmsxi::UnaryInstruction::WriteArg


top | up | prev | next