|
hoshi-lang dev
Yet another programming language
|
#include <IR.h>
Public Member Functions | |
| template<typename T > | |
| T & | getMetadata (const yoi::wstr &key) |
| template<typename T > | |
| const T & | getMetadata (const yoi::wstr &key) const |
| template<typename T > | |
| void | setMetadata (const yoi::wstr &key, const T &value) |
| void | eraseMetadata (const yoi::wstr &key) |
| bool | hasMetadata (const yoi::wstr &key) const |
| yoi::wstr | to_string () const |
Public Attributes | |
| std::map< yoi::wstr, std::any > | metadata |
|
inline |
Definition at line 87 of file IR.h.
References IRMetadata::metadata.
Referenced by IRFunctionOptimizer::analyzeBlockForInterfaceAllocationReduction().

|
inline |
Definition at line 91 of file IR.h.
References IRMetadata::metadata.
| bool hasMetadata | ( | const yoi::wstr & | key | ) | const |
Definition at line 1584 of file IR.cpp.
Referenced by IRFunctionOptimizer::analyzeBlockForInterfaceAllocationReduction().

|
inline |
Definition at line 95 of file IR.h.
References IRMetadata::metadata.
| yoi::wstr to_string | ( | ) | const |
Definition at line 1588 of file IR.cpp.
Referenced by IRValueType::to_string().

| std::map<yoi::wstr, std::any> metadata |
Definition at line 85 of file IR.h.
Referenced by IRMetadata::getMetadata(), IRMetadata::getMetadata(), and IRMetadata::setMetadata().