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