mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 23:50:00 +01:00
27 lines
645 B
C++
27 lines
645 B
C++
/* This file is part of the dynarmic project.
|
|
* Copyright (c) 2016 MerryMage
|
|
* This software may be used and distributed according to the terms of the GNU
|
|
* General Public License version 2 or any later version.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <dynarmic/callbacks.h>
|
|
|
|
namespace Dynarmic {
|
|
namespace IR {
|
|
class Block;
|
|
}
|
|
}
|
|
|
|
namespace Dynarmic {
|
|
namespace Optimization {
|
|
|
|
void GetSetElimination(IR::Block& block);
|
|
void ConstantPropagation(IR::Block& block, const UserCallbacks::Memory& memory_callbacks);
|
|
void DeadCodeElimination(IR::Block& block);
|
|
void VerificationPass(const IR::Block& block);
|
|
|
|
} // namespace Optimization
|
|
} // namespace Dynarmic
|