mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-08 16:10:05 +01:00
26 lines
775 B
C++
26 lines
775 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/A32/callbacks.h>
|
|
#include <dynarmic/A64/config.h>
|
|
|
|
namespace Dynarmic::IR {
|
|
class Block;
|
|
}
|
|
|
|
namespace Dynarmic::Optimization {
|
|
|
|
void A32GetSetElimination(IR::Block& block);
|
|
void A32ConstantMemoryReads(IR::Block& block, const A32::UserCallbacks::Memory& memory_callbacks);
|
|
void A64MergeInterpretBlocksPass(IR::Block& block, A64::UserCallbacks* cb);
|
|
void ConstantPropagation(IR::Block& block);
|
|
void DeadCodeElimination(IR::Block& block);
|
|
void VerificationPass(const IR::Block& block);
|
|
|
|
} // namespace Dynarmic::Optimization
|