Searched refs:loc2 (Results 1 – 4 of 4) sorted by relevance
338 HeapLocation* loc2 = heap_locations_[index2]; in ComputeMayAlias() local339 if (loc1->GetOffset() != loc2->GetOffset()) { in ComputeMayAlias()344 if (loc1->GetDeclaringClassDefIndex() != loc2->GetDeclaringClassDefIndex()) { in ComputeMayAlias()348 if (!CanReferencesAlias(loc1->GetReferenceInfo(), loc2->GetReferenceInfo())) { in ComputeMayAlias()351 if (loc1->IsArrayElement() && loc2->IsArrayElement()) { in ComputeMayAlias()353 HInstruction* array_index2 = loc2->GetIndex(); in ComputeMayAlias()
529 Location loc2 = move->GetSource(); in EmitSwap() local532 DCHECK(!loc2.IsConstant()); in EmitSwap()534 if (loc1.Equals(loc2)) { in EmitSwap()538 if (loc1.IsRegister() && loc2.IsRegister()) { in EmitSwap()541 Register r2 = loc2.AsRegister<Register>(); in EmitSwap()545 } else if (loc1.IsFpuRegister() && loc2.IsFpuRegister()) { in EmitSwap()547 FRegister f2 = loc2.AsFpuRegister<FRegister>(); in EmitSwap()558 } else if ((loc1.IsRegister() && loc2.IsFpuRegister()) || in EmitSwap()559 (loc1.IsFpuRegister() && loc2.IsRegister())) { in EmitSwap()563 : loc2.AsFpuRegister<FRegister>(); in EmitSwap()[all …]
794 void CodeGeneratorMIPS64::SwapLocations(Location loc1, Location loc2, Primitive::Type type) { in SwapLocations() argument796 DCHECK(!loc2.IsConstant()); in SwapLocations()798 if (loc1.Equals(loc2)) { in SwapLocations()803 bool is_slot2 = loc2.IsStackSlot() || loc2.IsDoubleStackSlot(); in SwapLocations()805 bool is_fp_reg2 = loc2.IsFpuRegister(); in SwapLocations()807 if (loc2.IsRegister() && loc1.IsRegister()) { in SwapLocations()810 GpuRegister r2 = loc2.AsRegister<GpuRegister>(); in SwapLocations()817 FpuRegister r2 = loc2.AsFpuRegister<FpuRegister>(); in SwapLocations()830 Location reg_loc = is_slot1 ? loc2 : loc1; in SwapLocations()831 Location mem_loc = is_slot1 ? loc1 : loc2; in SwapLocations()[all …]
321 void SwapLocations(Location loc1, Location loc2, Primitive::Type type);