/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | lite_translator_tests.cc | 32 MachineCode machine_code; in TEST() local 33 LiteTranslator translator(&machine_code, 0); in TEST() 46 MachineCode machine_code; in TEST() local 47 LiteTranslator translator(&machine_code, 0); in TEST() 50 int size1 = machine_code.install_size(); in TEST() 52 int size2 = machine_code.install_size(); in TEST() 56 int size3 = machine_code.install_size(); in TEST() 60 int size4 = machine_code.install_size(); in TEST() 66 MachineCode machine_code; in TEST() local 67 LiteTranslator translator(&machine_code, 0); in TEST() [all …]
|
D | lite_translate_region_exec_tests.cc | 46 MachineCode machine_code; in Run() local 49 &machine_code, in Run() 56 ScopedExecRegion exec(&machine_code); in Run() 118 MachineCode machine_code; in TEST_F() local 121 &machine_code, in TEST_F() 150 MachineCode machine_code; in TEST_F() local 156 &machine_code, in TEST_F() 165 ScopedExecRegion exec(&machine_code); in TEST_F()
|
D | lite_translate_region.cc | 65 MachineCode* machine_code, in TryLiteTranslateRegionImpl() argument 68 LiteTranslator translator(machine_code, start_pc, params); in TryLiteTranslateRegionImpl() 94 MachineCode* machine_code, in LiteTranslateRange() argument 96 auto [success, stop_pc] = TryLiteTranslateRegionImpl(start_pc, end_pc, machine_code, params); in LiteTranslateRange() 101 MachineCode* machine_code, in TryLiteTranslateRegion() argument 106 start_pc, std::numeric_limits<GuestAddr>::max(), machine_code, params); in TryLiteTranslateRegion()
|
D | lite_translate_insn_exec_tests.cc | 39 MachineCode machine_code; in RunOneInstruction() local 42 &machine_code, in RunOneInstruction() 49 ScopedExecRegion exec(&machine_code); in RunOneInstruction()
|
D | inline_intrinsic_tests.cc | 117 MachineCode machine_code; in TEST() local 118 MacroAssembler<x86_64::Assembler> as(&machine_code); in TEST()
|
D | lite_translator.h | 62 explicit LiteTranslator(MachineCode* machine_code, 65 : as_(machine_code), in as_() argument
|
/frameworks/libs/binary_translation/code_gen_lib/ |
D | code_gen_lib_riscv64_test.cc | 55 MachineCode machine_code; in TEST() local 58 &machine_code, ToGuestAddr(&g_insn), AsHostCode(DummyTrampoline), &g_arg, "DummyTrampoline"); in TEST() 60 ScopedExecRegion exec(&machine_code); in TEST() 72 void GenMoveResidenceToReg(MachineCode* machine_code) { in GenMoveResidenceToReg() argument 73 x86_64::Assembler as(machine_code); in GenMoveResidenceToReg() 137 MachineCode machine_code; in TEST() local 140 &machine_code, ToGuestAddr(&g_insn), "vi", AsHostCode(DummyRunner2), "DummyRunner2"); in TEST() 142 ScopedExecRegion exec(&machine_code); in TEST() 170 MachineCode machine_code; in TEST() local 173 &machine_code, ToGuestAddr(&g_insn), "zzzzzzzzzzz", AsHostCode(Run10UInt8), "Run10UInt8"); in TEST() [all …]
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | code_pool_test.cc | 85 MachineCode machine_code; in TEST() local 87 machine_code.AddSequence(kCode.data(), kCode.size()); in TEST() 88 auto host_code = code_pool.Add(&machine_code); in TEST() 97 MachineCode machine_code; in TEST() local 99 machine_code.AddSequence(kCode.data(), kCode.size()); in TEST() 100 auto host_code = code_pool.Add(&machine_code); in TEST()
|
/frameworks/libs/binary_translation/runtime/ |
D | translator_riscv64.cc | 114 HostCodePiece InstallTranslated(MachineCode* machine_code, in InstallTranslated() argument 118 HostCode host_code = GetDefaultCodePoolInstance()->Add(machine_code); in InstallTranslated() 119 ProfilerLogGeneratedCode(host_code, machine_code->install_size(), pc, size, prefix); in InstallTranslated() 120 return {host_code, machine_code->install_size()}; in InstallTranslated() 133 MachineCode machine_code; in TryLiteTranslateAndInstallRegion() local 135 auto [success, stop_pc] = TryLiteTranslateRegion(pc, &machine_code, params); in TryLiteTranslateAndInstallRegion() 140 return {true, InstallTranslated(&machine_code, pc, size, "lite"), size, kLightTranslated}; in TryLiteTranslateAndInstallRegion() 160 MachineCode machine_code; in HeavyOptimizeRegion() local 162 HeavyOptimizeRegion(pc, &machine_code); in HeavyOptimizeRegion() 165 return {true, InstallTranslated(&machine_code, pc, size, "heavy"), size, kHeavyOptimized}; in HeavyOptimizeRegion() [all …]
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | heavy_optimizer_insn_exec_tests.cc | 40 MachineCode machine_code; in RunOneInstruction() local 43 &machine_code, in RunOneInstruction() 55 ScopedExecRegion exec(&machine_code); in RunOneInstruction()
|
D | heavy_optimize_region.cc | 37 MachineCode* machine_code, in HeavyOptimizeRegion() argument 66 x86_64::GenCode(&machine_ir, machine_code); in HeavyOptimizeRegion()
|
D | call_intrinsic_tests.cc | 49 MachineCode machine_code; in Init() local 51 &machine_code, machine_ir->FrameSize(), machine_ir->NumBasicBlocks(), machine_ir->arena()); in Init() 67 x86_64::GenCode(machine_ir, &machine_code, x86_64::GenCodeParams{.skip_emit = true}); in Init() 85 exec_.Init(&machine_code); in Init()
|
/frameworks/libs/binary_translation/lite_translator/include/berberis/lite_translator/ |
D | lite_translate_region.h | 42 MachineCode* machine_code, 45 MachineCode* machine_code,
|
/frameworks/libs/binary_translation/backend/riscv64_to_x86_64/ |
D | code_gen.cc | 37 void GenCode(MachineIR* machine_ir, MachineCode* machine_code, const GenCodeParams& params) { in GenCode() argument 75 machine_code, machine_ir->FrameSize(), machine_ir->NumBasicBlocks(), machine_ir->arena()); in GenCode()
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/include/berberis/heavy_optimizer/riscv64/ |
D | heavy_optimize_region.h | 40 MachineCode* machine_code,
|
/frameworks/libs/binary_translation/assembler/ |
D | Android.bp | 102 "machine_code.cc",
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_exec_test.cc | 56 MachineCode machine_code; in Init() local 58 &machine_code, machine_ir.FrameSize(), machine_ir.bb_list().size(), machine_ir.arena()); in Init() 94 exec_.Init(&machine_code); in Init()
|