/art/compiler/utils/mips64/ |
D | managed_register_mips64.h | 101 explicit Mips64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in Mips64ManagedRegister() argument 103 static Mips64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument 104 Mips64ManagedRegister reg(reg_id); in FromRegId()
|
/art/compiler/utils/x86_64/ |
D | managed_register_x86_64.h | 191 explicit X86_64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in X86_64ManagedRegister() argument 193 static X86_64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument 194 X86_64ManagedRegister reg(reg_id); in FromRegId()
|
/art/compiler/utils/x86/ |
D | managed_register_x86.h | 205 explicit X86ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in X86ManagedRegister() argument 207 static X86ManagedRegister FromRegId(int reg_id) { in FromRegId() argument 208 X86ManagedRegister reg(reg_id); in FromRegId()
|
/art/compiler/utils/mips/ |
D | managed_register_mips.h | 208 explicit MipsManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in MipsManagedRegister() argument 210 static MipsManagedRegister FromRegId(int reg_id) { in FromRegId() argument 211 MipsManagedRegister reg(reg_id); in FromRegId()
|
/art/compiler/utils/arm64/ |
D | managed_register_arm64.h | 205 explicit Arm64ManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in Arm64ManagedRegister() argument 207 static Arm64ManagedRegister FromRegId(int reg_id) { in FromRegId() argument 208 Arm64ManagedRegister reg(reg_id); in FromRegId()
|
/art/compiler/dex/quick/ |
D | local_optimizations.cc | 93 inline void Mir2Lir::EliminateLoad(LIR* lir, int reg_id) { in EliminateLoad() argument 94 DCHECK(RegStorage::SameRegType(lir->operands[0], reg_id)); in EliminateLoad() 98 if (lir->operands[0] == reg_id) { in EliminateLoad() 104 switch (reg_id & RegStorage::kShapeTypeMask) { in EliminateLoad() 107 src_reg = RegStorage::Solo32(reg_id); in EliminateLoad() 111 src_reg = RegStorage::Solo64(reg_id); in EliminateLoad() 115 src_reg = RegStorage::FloatSolo32(reg_id); in EliminateLoad() 119 src_reg = RegStorage::FloatSolo64(reg_id); in EliminateLoad()
|
D | codegen_util.cc | 181 void Mir2Lir::AnnotateDalvikRegAccess(LIR* lir, int reg_id, bool is_load, in AnnotateDalvikRegAccess() argument 190 lir->flags.alias_info = ENCODE_ALIAS_INFO(reg_id, is64bit); in AnnotateDalvikRegAccess()
|
D | mir_to_lir.h | 645 void AnnotateDalvikRegAccess(LIR* lir, int reg_id, bool is_load, bool is64bit); 649 void EliminateLoad(LIR* lir, int reg_id);
|
/art/compiler/utils/arm/ |
D | managed_register_arm.h | 254 explicit ArmManagedRegister(int reg_id) : ManagedRegister(reg_id) {} in ArmManagedRegister() argument 256 static ArmManagedRegister FromRegId(int reg_id) { in FromRegId() argument 257 ArmManagedRegister reg(reg_id); in FromRegId()
|
/art/compiler/utils/ |
D | managed_register.h | 78 explicit ManagedRegister(int reg_id) : id_(reg_id) { } in ManagedRegister() argument
|
/art/compiler/optimizing/ |
D | code_generator_arm.h | 213 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 214 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 215 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 216 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
|
D | code_generator_mips64.h | 242 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id); 243 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id); 244 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id); 245 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id);
|
D | code_generator_x86.h | 206 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 207 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 208 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 209 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
|
D | code_generator_x86_64.h | 207 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 208 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 209 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE; 210 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) OVERRIDE;
|
D | code_generator_arm64.h | 282 size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id); 283 size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id); 284 size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id); 285 size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id);
|
D | code_generator.h | 200 virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0; 202 virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0; 204 virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0; 205 virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0;
|
D | locations.h | 543 void SetRegisterBit(uint32_t reg_id) { in SetRegisterBit() argument 544 register_mask_ |= (1 << reg_id); in SetRegisterBit() 551 bool RegisterContainsObject(uint32_t reg_id) { in RegisterContainsObject() argument 552 return RegisterSet::Contains(register_mask_, reg_id); in RegisterContainsObject()
|
D | code_generator_arm64.cc | 668 size_t CodeGeneratorARM64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 669 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in SaveCoreRegister() 674 size_t CodeGeneratorARM64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 675 Register reg = Register(VIXLRegCodeFromART(reg_id), kXRegSize); in RestoreCoreRegister() 680 size_t CodeGeneratorARM64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 681 FPRegister reg = FPRegister(reg_id, kDRegSize); in SaveFloatingPointRegister() 686 size_t CodeGeneratorARM64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 687 FPRegister reg = FPRegister(reg_id, kDRegSize); in RestoreFloatingPointRegister()
|
D | code_generator_mips64.cc | 922 size_t CodeGeneratorMIPS64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 923 __ StoreToOffset(kStoreDoubleword, GpuRegister(reg_id), SP, stack_index); in SaveCoreRegister() 927 size_t CodeGeneratorMIPS64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 928 __ LoadFromOffset(kLoadDoubleword, GpuRegister(reg_id), SP, stack_index); in RestoreCoreRegister() 932 size_t CodeGeneratorMIPS64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 933 __ StoreFpuToOffset(kStoreDoubleword, FpuRegister(reg_id), SP, stack_index); in SaveFloatingPointRegister() 937 size_t CodeGeneratorMIPS64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 938 __ LoadFpuFromOffset(kLoadDoubleword, FpuRegister(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
|
D | code_generator_arm.cc | 357 size_t CodeGeneratorARM::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 358 __ StoreToOffset(kStoreWord, static_cast<Register>(reg_id), SP, stack_index); in SaveCoreRegister() 362 size_t CodeGeneratorARM::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 363 __ LoadFromOffset(kLoadWord, static_cast<Register>(reg_id), SP, stack_index); in RestoreCoreRegister() 367 size_t CodeGeneratorARM::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 368 __ StoreSToOffset(static_cast<SRegister>(reg_id), SP, stack_index); in SaveFloatingPointRegister() 372 size_t CodeGeneratorARM::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 373 __ LoadSFromOffset(static_cast<SRegister>(reg_id), SP, stack_index); in RestoreFloatingPointRegister()
|
D | code_generator_x86.cc | 350 size_t CodeGeneratorX86::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 351 __ movl(Address(ESP, stack_index), static_cast<Register>(reg_id)); in SaveCoreRegister() 355 size_t CodeGeneratorX86::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 356 __ movl(static_cast<Register>(reg_id), Address(ESP, stack_index)); in RestoreCoreRegister() 360 size_t CodeGeneratorX86::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 361 __ movsd(Address(ESP, stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister() 365 size_t CodeGeneratorX86::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 366 __ movsd(XmmRegister(reg_id), Address(ESP, stack_index)); in RestoreFloatingPointRegister()
|
D | code_generator_x86_64.cc | 407 size_t CodeGeneratorX86_64::SaveCoreRegister(size_t stack_index, uint32_t reg_id) { in SaveCoreRegister() argument 408 __ movq(Address(CpuRegister(RSP), stack_index), CpuRegister(reg_id)); in SaveCoreRegister() 412 size_t CodeGeneratorX86_64::RestoreCoreRegister(size_t stack_index, uint32_t reg_id) { in RestoreCoreRegister() argument 413 __ movq(CpuRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreCoreRegister() 417 size_t CodeGeneratorX86_64::SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in SaveFloatingPointRegister() argument 418 __ movsd(Address(CpuRegister(RSP), stack_index), XmmRegister(reg_id)); in SaveFloatingPointRegister() 422 size_t CodeGeneratorX86_64::RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { in RestoreFloatingPointRegister() argument 423 __ movsd(XmmRegister(reg_id), Address(CpuRegister(RSP), stack_index)); in RestoreFloatingPointRegister()
|
/art/compiler/dex/quick/arm/ |
D | target_arm.cc | 304 int reg_id = i; in DecodeRegList() local 306 reg_id = rs_rARM_LR.GetRegNum(); in DecodeRegList() 308 reg_id = rs_rARM_PC.GetRegNum(); in DecodeRegList() 311 snprintf(buf + strlen(buf), buf_size - strlen(buf), ", r%d", reg_id); in DecodeRegList() 314 snprintf(buf, buf_size, "r%d", reg_id); in DecodeRegList()
|
/art/compiler/dex/quick/x86/ |
D | int_x86.cc | 1188 int reg_id = DECODE_ALIAS_INFO_REG(last_lir_insn_->flags.alias_info) - push_offset / 4u; in GenInlinedCas() local 1189 AnnotateDalvikRegAccess(last_lir_insn_, reg_id, true, false); in GenInlinedCas() 1195 int reg_id = DECODE_ALIAS_INFO_REG(last_lir_insn_->flags.alias_info) - push_offset / 4u; in GenInlinedCas() local 1196 AnnotateDalvikRegAccess(last_lir_insn_, reg_id, true, false); in GenInlinedCas()
|
D | target_x86.cc | 1365 int reg_id = DECODE_ALIAS_INFO_REG(last_lir_insn_->flags.alias_info) - 1; in GenInlinedIndexOf() local 1366 AnnotateDalvikRegAccess(last_lir_insn_, reg_id, true, false); in GenInlinedIndexOf()
|