#include "ir/IR.h" namespace ir { Function::Function(std::string name) : Value(Type::Int32(), std::move(name)), entry_(std::make_unique("entry")) {} void Function::EnsureEntry() { if (!entry_) { entry_ = std::make_unique("entry"); } } } // namespace ir