2021-02-02 19:07:00 -05: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 21:11:23 -05:00
|
|
|
#include <boost/container/small_vector.hpp>
|
2021-02-02 19:07:00 -05:00
|
|
|
|
|
|
|
#include "shader_recompiler/frontend/ir/basic_block.h"
|
|
|
|
|
|
|
|
namespace Shader::IR {
|
|
|
|
|
|
|
|
struct Function {
|
2021-02-11 14:39:06 -05:00
|
|
|
BlockList blocks;
|
2021-02-14 18:15:42 -05:00
|
|
|
BlockList post_order_blocks;
|
2021-02-02 19:07:00 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Shader::IR
|