#include <OOC/SSA/Algebraic.oh>
#include <Object/Boxed.oh>
#include <Object/BigInt.oh>
#include <OOC/SSA/Opcode.oh>
#include <OOC/SSA/Opnd.oh>
typedef struct OOC_SSA_Algebraic__WorklistDesc *OOC_SSA_Algebraic__Worklist;
typedef struct OOC_SSA_Algebraic__WorklistDesc {
  OOC_SSA_Algebraic__Worklist next;
  OOC_SSA__Instr instr;
} OOC_SSA_Algebraic__WorklistDesc;
#define OOC_SSA_Algebraic__maxPower2 63
static Object_BigInt__BigInt OOC_SSA_Algebraic__intZero;
static Object_BigInt__BigInt OOC_SSA_Algebraic__intOne;
static Object_BigInt__BigInt OOC_SSA_Algebraic__intTwo;
static Object_BigInt__BigInt OOC_SSA_Algebraic__power2[64];
static OOC_INT32 OOC_SSA_Algebraic__IsPowerOf2(Object_BigInt__BigInt value);
static OOC_CHAR8 OOC_SSA_Algebraic__IsNMinus1(OOC_SSA__Result res);
static void OOC_SSA_Algebraic__Init(void);

/* run-time meta data */
static RT0__ModuleDesc _mid;
RT0__StructDesc _td_OOC_SSA_Algebraic__Worklist = { (RT0__Struct[]){&_td_OOC_SSA_Algebraic__WorklistDesc}, NULL, &_mid, "Worklist", 8, -1, RT0__strPointer };
RT0__StructDesc _td_OOC_SSA_Algebraic__WorklistDesc = { (RT0__Struct[]){&_td_OOC_SSA_Algebraic__WorklistDesc}, (void*[]){}, &_mid, "WorklistDesc", 16, 0, RT0__strRecord };
RT0__StructDesc _td_OOC_SSA_Algebraic__1233 = { (RT0__Struct[]){&_td_Object_BigInt__BigInt}, NULL, &_mid, NULL, 512, 64, RT0__strArray };
static RT0__ModuleDesc _mid = { (OOC_CHAR8*)"OOC:SSA:Algebraic", (RT0__Struct[]) { &_td_OOC_SSA_Algebraic__Worklist, &_td_OOC_SSA_Algebraic__WorklistDesc, NULL } };

extern void OOC_OOC_SSA_Algebraic_init0() {
  RT0__RegisterModule(&_mid);
  OOC_OOC_SSA_Algebraic_init();
}

/* --- */
