code_generator_x86_64.h revision 92a73aef279be78e3c2b04db1713076183933436
19cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray/* 29cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * Copyright (C) 2014 The Android Open Source Project 39cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * 49cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * Licensed under the Apache License, Version 2.0 (the "License"); 59cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * you may not use this file except in compliance with the License. 69cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * You may obtain a copy of the License at 79cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * 89cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * http://www.apache.org/licenses/LICENSE-2.0 99cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * 109cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * Unless required by applicable law or agreed to in writing, software 119cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * distributed under the License is distributed on an "AS IS" BASIS, 129cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 139cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * See the License for the specific language governing permissions and 149cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray * limitations under the License. 159cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray */ 169cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 179cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#ifndef ART_COMPILER_OPTIMIZING_CODE_GENERATOR_X86_64_H_ 189cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#define ART_COMPILER_OPTIMIZING_CODE_GENERATOR_X86_64_H_ 199cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 209cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#include "code_generator.h" 219cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#include "nodes.h" 22ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray#include "parallel_move_resolver.h" 239cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#include "utils/x86_64/assembler_x86_64.h" 249cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 259cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffraynamespace art { 269cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffraynamespace x86_64 { 279cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 289cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffraystatic constexpr size_t kX86_64WordSize = 8; 299cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 309cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffraystatic constexpr Register kParameterCoreRegisters[] = { RSI, RDX, RCX, R8, R9 }; 317fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffraystatic constexpr FloatRegister kParameterFloatRegisters[] = 327fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray { XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7 }; 339cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 349cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffraystatic constexpr size_t kParameterCoreRegistersLength = arraysize(kParameterCoreRegisters); 357fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffraystatic constexpr size_t kParameterFloatRegistersLength = arraysize(kParameterFloatRegisters); 369cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 377fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffrayclass InvokeDexCallingConvention : public CallingConvention<Register, FloatRegister> { 389cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray public: 397fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray InvokeDexCallingConvention() : CallingConvention( 407fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray kParameterCoreRegisters, 417fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray kParameterCoreRegistersLength, 427fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray kParameterFloatRegisters, 437fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray kParameterFloatRegistersLength) {} 449cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 459cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray private: 469cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray DISALLOW_COPY_AND_ASSIGN(InvokeDexCallingConvention); 479cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray}; 489cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 499cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffrayclass InvokeDexCallingConventionVisitor { 509cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray public: 517fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray InvokeDexCallingConventionVisitor() : gp_index_(0), fp_index_(0), stack_index_(0) {} 529cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 539cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray Location GetNextLocation(Primitive::Type type); 549cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 559cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray private: 569cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray InvokeDexCallingConvention calling_convention; 577fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray // The current index for cpu registers. 589cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray uint32_t gp_index_; 597fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray // The current index for fpu registers. 607fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray uint32_t fp_index_; 617fb49da8ec62e8a10ed9419ade9f32c6b1174687Nicolas Geoffray // The current stack index. 629cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray uint32_t stack_index_; 639cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 649cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray DISALLOW_COPY_AND_ASSIGN(InvokeDexCallingConventionVisitor); 659cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray}; 669cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 679cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffrayclass CodeGeneratorX86_64; 689cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 69ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffrayclass ParallelMoveResolverX86_64 : public ParallelMoveResolver { 70ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray public: 71ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray ParallelMoveResolverX86_64(ArenaAllocator* allocator, CodeGeneratorX86_64* codegen) 72ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray : ParallelMoveResolver(allocator), codegen_(codegen) {} 73ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray 74ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray virtual void EmitMove(size_t index) OVERRIDE; 75ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray virtual void EmitSwap(size_t index) OVERRIDE; 76ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray virtual void SpillScratch(int reg) OVERRIDE; 77ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray virtual void RestoreScratch(int reg) OVERRIDE; 78ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray 79ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray X86_64Assembler* GetAssembler() const; 80ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray 81ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray private: 82412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray void Exchange32(CpuRegister reg, int mem); 83412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray void Exchange32(int mem1, int mem2); 84412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray void Exchange64(CpuRegister reg, int mem); 85412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray void Exchange64(int mem1, int mem2); 86ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray 87ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray CodeGeneratorX86_64* const codegen_; 88ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray 89ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray DISALLOW_COPY_AND_ASSIGN(ParallelMoveResolverX86_64); 90ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray}; 91ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray 929cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffrayclass LocationsBuilderX86_64 : public HGraphVisitor { 939cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray public: 949cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray LocationsBuilderX86_64(HGraph* graph, CodeGeneratorX86_64* codegen) 959cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray : HGraphVisitor(graph), codegen_(codegen) {} 969cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 97360231a056e796c36ffe62348507e904dc9efb9bNicolas Geoffray#define DECLARE_VISIT_INSTRUCTION(name, super) \ 989cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual void Visit##name(H##name* instr); 999cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 10096f89a290eb67d7bf4b1636798fa28df14309cc7Nicolas Geoffray FOR_EACH_CONCRETE_INSTRUCTION(DECLARE_VISIT_INSTRUCTION) 1019cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1029cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#undef DECLARE_VISIT_INSTRUCTION 1039cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 104e982f0b8e809cece6f460fa2d8df25873aa69de4Nicolas Geoffray void HandleInvoke(HInvoke* invoke); 105e982f0b8e809cece6f460fa2d8df25873aa69de4Nicolas Geoffray 1069cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray private: 1079cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray CodeGeneratorX86_64* const codegen_; 1089cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray InvokeDexCallingConventionVisitor parameter_visitor_; 1099cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1109cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray DISALLOW_COPY_AND_ASSIGN(LocationsBuilderX86_64); 1119cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray}; 1129cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1139cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffrayclass InstructionCodeGeneratorX86_64 : public HGraphVisitor { 1149cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray public: 1159cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray InstructionCodeGeneratorX86_64(HGraph* graph, CodeGeneratorX86_64* codegen); 1169cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 117360231a056e796c36ffe62348507e904dc9efb9bNicolas Geoffray#define DECLARE_VISIT_INSTRUCTION(name, super) \ 1189cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual void Visit##name(H##name* instr); 1199cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 12096f89a290eb67d7bf4b1636798fa28df14309cc7Nicolas Geoffray FOR_EACH_CONCRETE_INSTRUCTION(DECLARE_VISIT_INSTRUCTION) 1219cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1229cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#undef DECLARE_VISIT_INSTRUCTION 1239cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1249cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray void LoadCurrentMethod(CpuRegister reg); 1259cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1269cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray X86_64Assembler* GetAssembler() const { return assembler_; } 1279cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1289cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray private: 1293c04974a90b0e03f4b509010bff49f0b2a3da57fNicolas Geoffray // Generate code for the given suspend check. If not null, `successor` 1303c04974a90b0e03f4b509010bff49f0b2a3da57fNicolas Geoffray // is the block to branch to if the suspend check is not needed, and after 1313c04974a90b0e03f4b509010bff49f0b2a3da57fNicolas Geoffray // the suspend call. 1323c04974a90b0e03f4b509010bff49f0b2a3da57fNicolas Geoffray void GenerateSuspendCheck(HSuspendCheck* instruction, HBasicBlock* successor); 1333c04974a90b0e03f4b509010bff49f0b2a3da57fNicolas Geoffray 1349cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray X86_64Assembler* const assembler_; 1359cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray CodeGeneratorX86_64* const codegen_; 1369cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1379cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray DISALLOW_COPY_AND_ASSIGN(InstructionCodeGeneratorX86_64); 1389cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray}; 1399cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1409cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffrayclass CodeGeneratorX86_64 : public CodeGenerator { 1419cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray public: 1429cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray explicit CodeGeneratorX86_64(HGraph* graph); 1439cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual ~CodeGeneratorX86_64() {} 1449cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1459cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual void GenerateFrameEntry() OVERRIDE; 1469cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual void GenerateFrameExit() OVERRIDE; 14792a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray virtual void Bind(HBasicBlock* block) OVERRIDE; 1489cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual void Move(HInstruction* instruction, Location location, HInstruction* move_for) OVERRIDE; 1493bca0df855f0e575c6ee020ed016999fc8f14122Nicolas Geoffray virtual void SaveCoreRegister(Location stack_location, uint32_t reg_id) OVERRIDE; 1503bca0df855f0e575c6ee020ed016999fc8f14122Nicolas Geoffray virtual void RestoreCoreRegister(Location stack_location, uint32_t reg_id) OVERRIDE; 1519cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1529cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual size_t GetWordSize() const OVERRIDE { 1539cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray return kX86_64WordSize; 1549cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray } 1559cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 156ab032bc1ff57831106fdac6a91a136293609401fNicolas Geoffray virtual size_t FrameEntrySpillSize() const OVERRIDE; 157ab032bc1ff57831106fdac6a91a136293609401fNicolas Geoffray 1589cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual HGraphVisitor* GetLocationBuilder() OVERRIDE { 1599cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray return &location_builder_; 1609cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray } 1619cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1629cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual HGraphVisitor* GetInstructionVisitor() OVERRIDE { 1639cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray return &instruction_visitor_; 1649cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray } 1659cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 1669cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual X86_64Assembler* GetAssembler() OVERRIDE { 1679cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray return &assembler_; 1689cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray } 1699cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 170ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray ParallelMoveResolverX86_64* GetMoveResolver() { 171ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray return &move_resolver_; 172ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray } 173ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray 1749cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual Location GetStackLocation(HLoadLocal* load) const OVERRIDE; 1759cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 17671175b7f19a4f6cf9cc264feafd820dbafa371fbNicolas Geoffray virtual void SetupBlockedRegisters() const OVERRIDE; 17771175b7f19a4f6cf9cc264feafd820dbafa371fbNicolas Geoffray virtual Location AllocateFreeRegister(Primitive::Type type) const OVERRIDE; 1789cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual void DumpCoreRegister(std::ostream& stream, int reg) const OVERRIDE; 1799cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray virtual void DumpFloatingPointRegister(std::ostream& stream, int reg) const OVERRIDE; 1809cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 181412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray virtual InstructionSet GetInstructionSet() const OVERRIDE { 182412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray return InstructionSet::kX86_64; 183412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray } 184412f10cfed002ab617c78f2621d68446ca4dd8bdNicolas Geoffray 1853c7bb98698f77af10372cf31824d3bb115d9bf0fNicolas Geoffray // Emit a write barrier. 1863c7bb98698f77af10372cf31824d3bb115d9bf0fNicolas Geoffray void MarkGCCard(CpuRegister temp, CpuRegister card, CpuRegister object, CpuRegister value); 1873c7bb98698f77af10372cf31824d3bb115d9bf0fNicolas Geoffray 1889cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray // Helper method to move a value between two locations. 1899cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray void Move(Location destination, Location source); 1909cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 19192a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray Label* GetLabelOf(HBasicBlock* block) const { 19292a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray return block_labels_.GetRawStorage() + block->GetBlockId(); 19392a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray } 19492a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray 19592a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray virtual void Initialize() OVERRIDE { 19692a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray block_labels_.SetSize(GetGraph()->GetBlocks().Size()); 19792a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray } 19892a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray 1993c7bb98698f77af10372cf31824d3bb115d9bf0fNicolas Geoffray private: 20092a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray // Labels for each block that will be compiled. 20192a73aef279be78e3c2b04db1713076183933436Nicolas Geoffray GrowableArray<Label> block_labels_; 2029cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray LocationsBuilderX86_64 location_builder_; 2039cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray InstructionCodeGeneratorX86_64 instruction_visitor_; 204ecb2f9ba57b08ceac4204ddd6a0a88a0524f8741Nicolas Geoffray ParallelMoveResolverX86_64 move_resolver_; 2059cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray X86_64Assembler assembler_; 2069cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 2079cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray DISALLOW_COPY_AND_ASSIGN(CodeGeneratorX86_64); 2089cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray}; 2099cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 2109cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray} // namespace x86_64 2119cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray} // namespace art 2129cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray 2139cf35523764d829ae0470dae2d5dd99be469c841Nicolas Geoffray#endif // ART_COMPILER_OPTIMIZING_CODE_GENERATOR_X86_64_H_ 214