top | up | prev | next

BitCastInstruction Class

Definition at line 190 of Instruction.hpp

Constructors

BitCastInstruction(Value* arg_, Type* destType_)

Member Functions

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

Constructor Details

BitCastInstruction Constructor

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

Definition at line 295 of Instruction.cpp :
295 : UnaryTypeInstruction(arg_destType_)
296 {
297 }


Declaration at line 193 of Instruction.hpp


Member Function Details

Write Member Function

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

Definition at line 299 of Instruction.cpp :
300 {
301     WriteResult(formatterfunctioncontext);
302     formatter.Write(" = bitcast ");
303     WriteArg(formattercontext);
304     WriteMetadataRef(formatter);
305 }


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


top | up | prev | next