hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
IRCodeBlock Class Reference

#include <IR.h>

Public Member Functions

 IRCodeBlock ()=default
 
void insert (const IR &ir)
 
yoi::wstr to_string (yoi::indexT indent=0)
 
yoi::vec< IR > & getIRArray ()
 

Private Attributes

yoi::vec< IRcodeBlock
 

Detailed Description

Definition at line 409 of file IR.h.

Constructor & Destructor Documentation

◆ IRCodeBlock()

IRCodeBlock ( )
default

Member Function Documentation

◆ getIRArray()

yoi::vec< IR > & getIRArray ( )

Definition at line 518 of file IR.cpp.

References IRCodeBlock::codeBlock.

Referenced by LLVMCodegen::generateCodeBlock(), IRBuilder::getCurrentInsertionPoint(), and IRBuilder::insert().

Here is the caller graph for this function:

◆ insert()

void insert ( const IR ir)

Definition at line 506 of file IR.cpp.

Referenced by visitor::visit().

Here is the caller graph for this function:

◆ to_string()

yoi::wstr to_string ( yoi::indexT  indent = 0)

Definition at line 510 of file IR.cpp.

References IRCodeBlock::codeBlock.

Member Data Documentation

◆ codeBlock

yoi::vec<IR> codeBlock
private

Definition at line 410 of file IR.h.

Referenced by IRCodeBlock::getIRArray(), IRCodeBlock::to_string(), and IRBuilder::yield().


The documentation for this class was generated from the following files: