Skip to content

MoonLiveIr

Source: MoonLiveIr.h

DeclaredControl

struct DeclaredControl
src/core/moonlive/MoonLiveIr.h:64

Public Attributes

constchar * name =

uint8_t min = 0

uint8_t max = 255

uint8_t def = 0

uint8_t nameLen = 0

CtrlType type = CtrlType::Uint8

uint8_t offset = 0

IrInst

struct IrInst
src/core/moonlive/MoonLiveIr.h:49

Public Attributes

IrOp op

VReg dst = 0

VReg a = 0

VReg b = 0

VReg c = 0

VReg d = 0

int32_t imm = 0

HostCallFn callFn =

InlineOp inlineOp {}

IrProgram

struct IrProgram
src/core/moonlive/MoonLiveIr.h:78

Public Attributes

IrInst ops

uint8_t count = 0

VReg vregsUsed = kFirstTemp

Public Methods

inline bool push(const IrInst & i)