top | up | prev | next

MDBasicBlockRef Class

Definition at line 91 of Metadata.hpp

Constructors

MDBasicBlockRef(void* bb_)

Member Functions

void Write(CodeFormatter& formatter)

Member Variables

void* bb

Constructor Details

MDBasicBlockRef Constructor

cmsxi::MDBasicBlockRef::MDBasicBlockRef(void * bb_)

Definition at line 100 of Metadata.cpp :
100 : MDItem(MDItemKind::basicBlockRef)bb(bb_)
101 {
102 }


Declaration at line 94 of Metadata.hpp


Member Function Details

Write Member Function

void cmsxi::MDBasicBlockRef::Write(CodeFormatter& formatter)

Definition at line 104 of Metadata.cpp :
105 {
106     BasicBlock* basicBlock = static_cast<BasicBlock*>(bb);
107     formatter.Write(std::to_string(basicBlock->Id()));
108 }


Calls: cmsxi::BasicBlock::Id , cmsxi::MDBasicBlockRef::Write

Called by: cmsxi::MDBasicBlockRef::Write


top | up | prev | next