Fixed recompiler's file naming convention to match citra file naming convention.

Fixed unnecessary double public block.
This commit is contained in:
Patrick Martin 2015-12-20 13:12:44 -08:00
parent 4e7234a1c4
commit 80027cc54f
36 changed files with 101 additions and 103 deletions

View File

@ -1,5 +1,5 @@
#include "ARMFuncs.h"
#include "InstructionBlock.h"
#include "ARM_funcs.h"
#include "instruction_block.h"
#include <functional>
ARMFuncs::ShiftTN ARMFuncs::DecodeImmShift(InstructionBlock* instruction, u32 type, u32 imm5)

View File

@ -1,40 +1,39 @@
set(SRCS
main.cpp
CodeGen.cpp
ModuleGen.cpp
Disassembler.cpp
InstructionBlock.cpp
MachineState.cpp
TBAA.cpp
ARMFuncs.cpp
BlockColors.cpp
code_gen.cpp
module_gen.cpp
disassembler.cpp
instruction_block.cpp
machine_state.cpp
tbaa.cpp
ARM_funcs.cpp
block_colors.cpp
Instructions/Instruction.cpp
Instructions/MovShift.cpp
Instructions/Branch.cpp
Instructions/Arithmetic.cpp
Instructions/Ldr.cpp
Instructions/Str.cpp
instructions/instruction.cpp
instructions/mov_shift.cpp
instructions/branch.cpp
instructions/arithmetic.cpp
instructions/ldr.cpp
instructions/str.cpp
)
set(HEADERS
CodeGen.h
ModuleGen.h
Disassembler.h
InstructionBlock.h
MachineState.h
TBAA.h
BinarySearch.h
ARMFuncs.h
BlockColors.h
code_gen.h
module_gen.h
disassembler.h
instruction_block.h
machine_state.h
tbaa.h
binary_search.h
ARM_funcs.h
block_colors.h
Instructions/Types.h
Instructions/Types.h
Instructions/Instruction.h
Instructions/MovShift.h
Instructions/Branch.h
Instructions/Arithmetic.h
Instructions/Ldr.h
Instructions/Str.h
instructions/types.h
instructions/instruction.h
instructions/mov_shift.h
instructions/branch.h
instructions/arithmetic.h
instructions/ldr.h
instructions/str.h
)
create_directory_groups(${SRCS} ${HEADERS})

View File

@ -1,7 +1,7 @@
#include "Branch.h"
#include "Disassembler.h"
#include "InstructionBlock.h"
#include "ModuleGen.h"
#include "branch.h"
#include "disassembler.h"
#include "instruction_block.h"
#include "module_gen.h"
static RegisterInstruction<Branch> register_instruction;

View File

@ -1,5 +1,5 @@
#include "Instruction.h"
#include "Types.h"
#include "instruction.h"
#include "types.h"
class Branch : public Instruction
{

View File

@ -1,10 +1,10 @@
#include "Instruction.h"
#include "instruction.h"
#include "common/logging/log.h"
#include <cassert>
#include "InstructionBlock.h"
#include "ModuleGen.h"
#include "MachineState.h"
#include "BinarySearch.h"
#include "instruction_block.h"
#include "module_gen.h"
#include "machine_state.h"
#include "binary_search.h"
Instruction::Instruction()
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "common/common_types.h"
#include <initializer_list>
#include "Types.h"
#include "types.h"
class InstructionBlock;
@ -77,7 +77,6 @@ class Instruction::FieldDefObject
{
public:
typedef void(*WriteFunctionType)(u32 value, void *field_address);
public:
// Constant
FieldDefObject(u32 bit_count, u32 const_value);
// Field

View File

@ -1,10 +1,10 @@
#include "Ldr.h"
#include "Disassembler.h"
#include "InstructionBlock.h"
#include "ldr.h"
#include "disassembler.h"
#include "instruction_block.h"
#include <llvm/IR/Value.h>
#include <core/loader/loader.h>
#include <core/mem_map.h>
#include "MachineState.h"
#include "machine_state.h"
static RegisterInstruction<Ldr> register_instruction;

View File

@ -1,5 +1,5 @@
#include "Instruction.h"
#include "Types.h"
#include "instruction.h"
#include "types.h"
#include <bitset>
class Ldr : public Instruction

View File

@ -1,10 +1,10 @@
#include "Str.h"
#include "Disassembler.h"
#include "InstructionBlock.h"
#include "str.h"
#include "disassembler.h"
#include "instruction_block.h"
#include <llvm/IR/Value.h>
#include <core/loader/loader.h>
#include <core/mem_map.h>
#include "MachineState.h"
#include "machine_state.h"
static RegisterInstruction<Str> register_instruction;

View File

@ -1,5 +1,5 @@
#include "Instruction.h"
#include "Types.h"
#include "instruction.h"
#include "types.h"
#include <bitset>
class Str : public Instruction

View File

@ -1,7 +1,7 @@
#include "Arithmetic.h"
#include "Disassembler.h"
#include <binary_translation/ARMFuncs.h>
#include <binary_translation/InstructionBlock.h>
#include "arithmetic.h"
#include "disassembler.h"
#include <binary_translation/ARM_funcs.h>
#include <binary_translation/instruction_block.h>
static RegisterInstruction<Arithmetic> register_instruction;

View File

@ -1,5 +1,5 @@
#include "Instruction.h"
#include "Types.h"
#include "instruction.h"
#include "types.h"
/*
* Data processing instructions

View File

@ -1,9 +1,9 @@
#include "MovShift.h"
#include "Disassembler.h"
#include "InstructionBlock.h"
#include "ModuleGen.h"
#include "ARMFuncs.h"
#include <binary_translation/BinarySearch.h>
#include "mov_shift.h"
#include "disassembler.h"
#include "instruction_block.h"
#include "module_gen.h"
#include "ARM_funcs.h"
#include <binary_translation/binary_search.h>
static RegisterInstruction<MovShift> register_instruction;

View File

@ -1,5 +1,5 @@
#include "Instruction.h"
#include "Types.h"
#include "instruction.h"
#include "types.h"
/*
* Data processing instructions

View File

@ -1,6 +1,6 @@
#include "BlockColors.h"
#include "block_colors.h"
#include <stack>
#include "InstructionBlock.h"
#include "instruction_block.h"
#include <llvm/IR/Function.h>
#include "common/logging/log.h"

View File

@ -1,5 +1,5 @@
#include "CodeGen.h"
#include "ModuleGen.h"
#include "code_gen.h"
#include "module_gen.h"
#include "core/loader/loader.h"
#include "common/logging/log.h"

View File

@ -1,5 +1,5 @@
#include "Disassembler.h"
#include "Instructions/Instruction.h"
#include "disassembler.h"
#include "instructions/instruction.h"
#include <vector>
std::vector<RegisterInstructionBase::CreateFunctionType> g_read_functions;

View File

@ -1,9 +1,9 @@
#include "InstructionBlock.h"
#include "ModuleGen.h"
#include "Instructions/Instruction.h"
#include "instruction_block.h"
#include "module_gen.h"
#include "instructions/instruction.h"
#include <sstream>
#include <iomanip>
#include "MachineState.h"
#include "machine_state.h"
InstructionBlock::InstructionBlock(ModuleGen* module, Instruction* instruction)
: module(module),

View File

@ -2,7 +2,7 @@
#include <string>
#include <common/common_types.h>
#include <llvm/IR/IRBuilder.h>
#include "ModuleGen.h"
#include "module_gen.h"
namespace llvm
{

View File

@ -1,11 +1,11 @@
#include "MachineState.h"
#include "ModuleGen.h"
#include "Instructions/Types.h"
#include "machine_state.h"
#include "module_gen.h"
#include "instructions/types.h"
#include <llvm/IR/GlobalValue.h>
#include <llvm/IR/Constants.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/GlobalVariable.h>
#include "TBAA.h"
#include "tbaa.h"
using namespace llvm;

View File

@ -5,7 +5,7 @@
#include "core/mem_map.h"
#include "core/hle/kernel/memory.h"
#include "core/loader/loader.h"
#include "codegen.h"
#include "code_gen.h"
#include <llvm/Support/CommandLine.h>
namespace cl = llvm::cl;

View File

@ -1,18 +1,18 @@
#include "ModuleGen.h"
#include "Disassembler.h"
#include "module_gen.h"
#include "disassembler.h"
#include "core/loader/loader.h"
#include "core/mem_map.h"
#include "Instructions/Instruction.h"
#include "Instructions/Types.h"
#include "InstructionBlock.h"
#include "instructions/instruction.h"
#include "instructions/types.h"
#include "instruction_block.h"
#include "common/logging/log.h"
#include <llvm/IR/Function.h>
#include <llvm/IR/GlobalVariable.h>
#include <llvm/ADT/STLExtras.h>
#include <stack>
#include "MachineState.h"
#include "TBAA.h"
#include "BlockColors.h"
#include "machine_state.h"
#include "tbaa.h"
#include "block_colors.h"
using namespace llvm;

View File

@ -1,4 +1,4 @@
#include "TBAA.h"
#include "tbaa.h"
#include <llvm/IR/MDBuilder.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Metadata.h>

View File

@ -1,5 +1,5 @@
#pragma once
#include "Instructions/Types.h"
#include "instructions/types.h"
#include <llvm/IR/Instructions.h>
namespace llvm

View File

@ -256,12 +256,12 @@ set(HEADERS
if(ENABLE_BINARY_TRANSLATION)
set(SRCS
${SRCS}
binary_translation/BinaryTranslationLoader.cpp
binary_translation/binary_translation_loader.cpp
)
set(HEADERS
${HEADERS}
mem_map.h
binary_translation/BinaryTranslationLoader.h
binary_translation/binary_translation_loader.h
)
endif()
create_directory_groups(${SRCS} ${HEADERS})

View File

@ -24,7 +24,7 @@
#include "core/arm/skyeye_common/vfp/vfp.h"
#if ENABLE_BINARY_TRANSLATION
#include "core/binary_translation/BinaryTranslationLoader.h"
#include "core/binary_translation/binary_translation_loader.h"
#endif
#include "core/gdbstub/gdbstub.h"

View File

@ -1,4 +1,4 @@
#include "BinaryTranslationLoader.h"
#include "binary_translation_loader.h"
#include "core/arm/skyeye_common/armstate.h"
#include "core/arm/skyeye_common/arm_regformat.h"
#include "common/logging/log.h"

View File

@ -16,7 +16,7 @@
#include "core/loader/elf.h"
#include "core/loader/ncch.h"
#if ENABLE_BINARY_TRANSLATION
#include "core/binary_translation/BinaryTranslationLoader.h"
#include "core/binary_translation/binary_translation_loader.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////