top | up | prev | next

ir Namespace

Classes

class Emitter
class EmittingContext
class EmittingDelegate
class GenObject
class NativeValue
struct Pad
class ValueStack

Functions

uint8_t GetDerefCount(OperationFlags flags) inline
OperationFlags SetDerefCount(OperationFlags flags, uint8_t n) inline
OperationFlags operator&(OperationFlags left, OperationFlags right) inline
OperationFlags operator|(OperationFlags left, OperationFlags right) inline

Enumerations

enum class OperationFlags

Function Details

GetDerefCount Function

uint8_t cmajor::ir::GetDerefCount(OperationFlags flags) inline

Definition at line 37 of GenObject.hpp :
38 {
39     return uint8_t(uint16_t(flags & OperationFlags::derefCount) >> 8);
40 }



SetDerefCount Function

OperationFlags cmajor::ir::SetDerefCount(OperationFlags flags, uint8_t n) inline

Definition at line 42 of GenObject.hpp :
43 {
44     return OperationFlags(flags | OperationFlags(n << 8));
45 }



operator& Function

OperationFlags cmajor::ir::operator&(OperationFlags left, OperationFlags right) inline

Definition at line 32 of GenObject.hpp :
33 {
34     return OperationFlags(uint16_t(left) & uint16_t(right));
35 }



operator| Function

OperationFlags cmajor::ir::operator|(OperationFlags left, OperationFlags right) inline

Definition at line 27 of GenObject.hpp :
28 {
29     return OperationFlags(uint16_t(left) | uint16_t(right));
30 }



top | up | prev | next