You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nudt-compiler-cpp/src/irgen/IRGen.h

15 lines
200 B

// 将 AST 翻译为极简 IR。
#pragma once
#include <memory>
namespace ast {
struct CompUnit;
}
namespace ir {
class Module;
}
std::unique_ptr<ir::Module> GenerateIR(const ast::CompUnit& ast);