frontend/A32/ir_emitter: Remove unnecessary includes
std::initializer_list isn't used anywhere in here, and we can just forward declare the CoprocReg enum to avoid needing to include the header.
This commit is contained in:
parent
bfa8035414
commit
9365487797
4 changed files with 8 additions and 7 deletions
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include "common/assert.h"
|
#include "common/assert.h"
|
||||||
#include "frontend/A32/ir_emitter.h"
|
#include "frontend/A32/ir_emitter.h"
|
||||||
|
#include "frontend/A32/types.h"
|
||||||
#include "frontend/ir/opcodes.h"
|
#include "frontend/ir/opcodes.h"
|
||||||
|
|
||||||
namespace Dynarmic::A32 {
|
namespace Dynarmic::A32 {
|
||||||
|
|
|
@ -6,19 +6,17 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <initializer_list>
|
|
||||||
|
|
||||||
#include <dynarmic/A32/coprocessor_util.h>
|
|
||||||
|
|
||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
#include "frontend/A32/location_descriptor.h"
|
#include "frontend/A32/location_descriptor.h"
|
||||||
#include "frontend/A32/types.h"
|
|
||||||
#include "frontend/ir/ir_emitter.h"
|
#include "frontend/ir/ir_emitter.h"
|
||||||
#include "frontend/ir/value.h"
|
#include "frontend/ir/value.h"
|
||||||
|
|
||||||
namespace Dynarmic::A32 {
|
namespace Dynarmic::A32 {
|
||||||
|
|
||||||
|
enum class CoprocReg;
|
||||||
enum class Exception;
|
enum class Exception;
|
||||||
|
enum class ExtReg;
|
||||||
|
enum class Reg;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience class to construct a basic block of the intermediate representation.
|
* Convenience class to construct a basic block of the intermediate representation.
|
||||||
|
@ -36,8 +34,8 @@ public:
|
||||||
|
|
||||||
IR::U32 GetRegister(Reg source_reg);
|
IR::U32 GetRegister(Reg source_reg);
|
||||||
IR::U32U64 GetExtendedRegister(ExtReg source_reg);
|
IR::U32U64 GetExtendedRegister(ExtReg source_reg);
|
||||||
void SetRegister(const Reg dest_reg, const IR::U32& value);
|
void SetRegister(Reg dest_reg, const IR::U32& value);
|
||||||
void SetExtendedRegister(const ExtReg dest_reg, const IR::U32U64& value);
|
void SetExtendedRegister(ExtReg dest_reg, const IR::U32U64& value);
|
||||||
|
|
||||||
void ALUWritePC(const IR::U32& value);
|
void ALUWritePC(const IR::U32& value);
|
||||||
void BranchWritePC(const IR::U32& value);
|
void BranchWritePC(const IR::U32& value);
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include "frontend/A32/ir_emitter.h"
|
#include "frontend/A32/ir_emitter.h"
|
||||||
#include "frontend/A32/location_descriptor.h"
|
#include "frontend/A32/location_descriptor.h"
|
||||||
#include "frontend/A32/translate/translate.h"
|
#include "frontend/A32/translate/translate.h"
|
||||||
|
#include "frontend/A32/types.h"
|
||||||
|
|
||||||
namespace Dynarmic::A32 {
|
namespace Dynarmic::A32 {
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include "frontend/A32/ir_emitter.h"
|
#include "frontend/A32/ir_emitter.h"
|
||||||
#include "frontend/A32/location_descriptor.h"
|
#include "frontend/A32/location_descriptor.h"
|
||||||
#include "frontend/A32/translate/translate.h"
|
#include "frontend/A32/translate/translate.h"
|
||||||
|
#include "frontend/A32/types.h"
|
||||||
|
|
||||||
namespace Dynarmic::A32 {
|
namespace Dynarmic::A32 {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue