// TODO: store all of values, allocated registers, stack offsets in single allocator // to be able to find out which kind a specific temp register represent #pragma once #include #include #include "prelude/string.hpp" #include "ir/ir.hpp" class CodeGenerator { public: virtual ~CodeGenerator() {}; virtual void Generate(const char* filename, View ops) = 0; };