top | up | prev | next

ElemAddrInstruction Abstract Class

Definition at line 274 of Instruction.hpp

Constructors

ElemAddrInstruction(Value* ptr_, Value* index_)

Member Functions

Type* GetType(Context& context) override
void Write(CodeFormatter& formatter, Function& function, Context& context)

Member Variables

Value* index
Value* ptr

Constructor Details

ElemAddrInstruction Constructor

cmsxi::ElemAddrInstruction::ElemAddrInstruction(Value * ptr_, Value * index_)

Definition at line 434 of Instruction.cpp :
434 : Instruction()ptr(ptr_)index(index_)
435 {
436 }


Declaration at line 277 of Instruction.hpp


Member Function Details

GetType Member Function

Type * cmsxi::ElemAddrInstruction::GetType(Context & context) override

Definition at line 438 of Instruction.cpp
Declaration at line 278 of Instruction.hpp

Base class overridden functions: cmsxi::Instruction::GetType , cmsxi::Value::GetType

Calls: cmsxi::ArrayType::ElementType , cmsxi::Context::GetPtrType , cmsxi::PtrType::BaseType , cmsxi::StructureType::GetMemberType , cmsxi::Type::IsArrayType , cmsxi::Type::IsPtrType , cmsxi::Type::IsStructureType , cmsxi::Value::GetType , cmsxi::Value::IsLongValue


Write Member Function

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

Definition at line 470 of Instruction.cpp

Calls: cmsxi::Instruction::WriteMetadataRef , cmsxi::Instruction::WriteResult , cmsxi::Type::Name , cmsxi::Value::GetType , cmsxi::Value::Name


top | up | prev | next