2021-02-03 00:07:00 +00:00
|
|
|
// Copyright 2021 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-02-06 02:11:23 +00:00
|
|
|
#include <boost/container/small_vector.hpp>
|
2021-02-03 00:07:00 +00:00
|
|
|
|
|
|
|
#include "shader_recompiler/frontend/ir/basic_block.h"
|
|
|
|
|
|
|
|
namespace Shader::IR {
|
|
|
|
|
|
|
|
struct Function {
|
2021-02-11 19:39:06 +00:00
|
|
|
BlockList blocks;
|
2021-02-14 23:15:42 +00:00
|
|
|
BlockList post_order_blocks;
|
2021-02-03 00:07:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Shader::IR
|