Lines Matching refs:codegen_

1025   return codegen_->GetAssembler();  in GetAssembler()
1030 codegen_->MoveLocation(move->GetDestination(), move->GetSource(), move->GetType()); in EmitMove()
1035 codegen_->SwapLocations(move->GetDestination(), move->GetSource(), move->GetType()); in EmitSwap()
1056 ScratchRegisterScope ensure_scratch(this, TMP, V0, codegen_->GetNumberOfCoreRegisters()); in Exchange()
1919 new (codegen_->GetScopedAllocator()) SuspendCheckSlowPathMIPS64(instruction, successor); in GenerateSuspendCheck()
1921 codegen_->AddSlowPath(slow_path); in GenerateSuspendCheck()
1937 __ Beqzc(TMP, codegen_->GetLabelOf(successor)); in GenerateSuspendCheck()
1947 codegen_(codegen) {} in InstructionCodeGeneratorMIPS64()
2324 auto null_checker = GetImplicitNullChecker(instruction, codegen_); in VisitArrayGet()
2456 codegen_->GenerateFieldLoadWithBakerReadBarrier(instruction, in VisitArrayGet()
2463 codegen_->GenerateArrayLoadWithBakerReadBarrier(instruction, in VisitArrayGet()
2480 codegen_->MaybeGenerateReadBarrierSlow(instruction, out_loc, out_loc, obj_loc, offset); in VisitArrayGet()
2487 codegen_->MaybeGenerateReadBarrierSlow(instruction, in VisitArrayGet()
2557 codegen_->MaybeRecordImplicitNullCheck(instruction); in VisitArrayLength()
2618 auto null_checker = GetImplicitNullChecker(instruction, codegen_); in VisitArraySet()
2704 slow_path = new (codegen_->GetScopedAllocator()) ArraySetSlowPathMIPS64(instruction); in VisitArraySet()
2705 codegen_->AddSlowPath(slow_path); in VisitArraySet()
2776 codegen_->MaybeRecordImplicitNullCheck(instruction); in VisitArraySet()
2779 codegen_->MarkGCCard(obj, value, instruction->GetValueCanBeNull()); in VisitArraySet()
2855 LocationSummary* locations = codegen_->CreateThrowingSlowPathLocations(instruction, caller_saves); in VisitBoundsCheck()
2899 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathMIPS64(instruction); in VisitBoundsCheck()
2900 codegen_->AddSlowPath(slow_path); in VisitBoundsCheck()
2909 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathMIPS64(instruction); in VisitBoundsCheck()
2910 codegen_->AddSlowPath(slow_path); in VisitBoundsCheck()
2924 new (codegen_->GetScopedAllocator()) BoundsCheckSlowPathMIPS64(instruction); in VisitBoundsCheck()
2925 codegen_->AddSlowPath(slow_path); in VisitBoundsCheck()
3001 new (codegen_->GetScopedAllocator()) TypeCheckSlowPathMIPS64( in VisitCheckCast()
3003 codegen_->AddSlowPath(slow_path); in VisitCheckCast()
3182 new (codegen_->GetScopedAllocator()) LoadClassSlowPathMIPS64(check->GetLoadClass(), check); in VisitClinitCheck()
3183 codegen_->AddSlowPath(slow_path); in VisitClinitCheck()
3631 LocationSummary* locations = codegen_->CreateThrowingSlowPathLocations(instruction); in VisitDivZeroCheck()
3637 new (codegen_->GetScopedAllocator()) DivZeroCheckSlowPathMIPS64(instruction); in VisitDivZeroCheck()
3638 codegen_->AddSlowPath(slow_path); in VisitDivZeroCheck()
3649 int64_t divisor = codegen_->GetInt64ValueOf(value.GetConstant()->AsConstant()); in VisitDivZeroCheck()
3699 if (codegen_->GetCompilerOptions().CountHotnessInCompiledCode()) { in HandleGoto()
3711 if (!codegen_->GoesToNextBlock(block, successor)) { in HandleGoto()
3712 __ Bc(codegen_->GetLabelOf(successor)); in HandleGoto()
4481 Mips64Label* true_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor) ? in VisitIf()
4482 nullptr : codegen_->GetLabelOf(true_successor); in VisitIf()
4483 Mips64Label* false_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor) ? in VisitIf()
4484 nullptr : codegen_->GetLabelOf(false_successor); in VisitIf()
4820 codegen_->GetStackOffsetOfShouldDeoptimizeFlag()); in VisitShouldDeoptimizeFlag()
4838 codegen_->MoveLocation(locations->Out(), locations->InAt(1), select->GetType()); in VisitSelect()
4900 auto null_checker = GetImplicitNullChecker(instruction, codegen_); in HandleFieldGet()
4943 codegen_->GenerateFieldLoadWithBakerReadBarrier(instruction, in HandleFieldGet()
4960 codegen_->MaybeGenerateReadBarrierSlow(instruction, dst_loc, dst_loc, obj_loc, offset); in HandleFieldGet()
5001 auto null_checker = GetImplicitNullChecker(instruction, codegen_); in HandleFieldSet()
5060 codegen_->MarkGCCard(obj, src, value_can_be_null); in HandleFieldSet()
5099 codegen_->GenerateFieldLoadWithBakerReadBarrier(instruction, in GenerateReferenceLoadOneRegister()
5113 codegen_->GenerateReadBarrierSlow(instruction, out, out, maybe_temp, offset); in GenerateReferenceLoadOneRegister()
5140 codegen_->GenerateFieldLoadWithBakerReadBarrier(instruction, in GenerateReferenceLoadTwoRegisters()
5150 codegen_->GenerateReadBarrierSlow(instruction, out, out, obj, offset); in GenerateReferenceLoadTwoRegisters()
5272 new (codegen_->GetScopedAllocator()) ReadBarrierMarkSlowPathMIPS64( in GenerateGcRootFieldLoad()
5276 codegen_->AddSlowPath(slow_path); in GenerateGcRootFieldLoad()
5295 codegen_->GenerateReadBarrierForRootSlow(instruction, root, root); in GenerateGcRootFieldLoad()
5823 slow_path = new (codegen_->GetScopedAllocator()) TypeCheckSlowPathMIPS64( in VisitInstanceOf()
5825 codegen_->AddSlowPath(slow_path); in VisitInstanceOf()
5852 slow_path = new (codegen_->GetScopedAllocator()) TypeCheckSlowPathMIPS64( in VisitInstanceOf()
5854 codegen_->AddSlowPath(slow_path); in VisitInstanceOf()
5907 codegen_->GenerateInvokeUnresolvedRuntimeCall(invoke); in VisitInvokeUnresolved()
5940 codegen_->MaybeRecordImplicitNullCheck(invoke); in VisitInvokeInterface()
5960 DCHECK(!codegen_->IsLeafMethod()); in VisitInvokeInterface()
5961 codegen_->RecordPcInfo(invoke, invoke->GetDexPc()); in VisitInvokeInterface()
5965 IntrinsicLocationsBuilderMIPS64 intrinsic(codegen_); in VisitInvokeVirtual()
5978 IntrinsicLocationsBuilderMIPS64 intrinsic(codegen_); in VisitInvokeStaticOrDirect()
5991 codegen_->GenerateInvokePolymorphicCall(invoke); in VisitInvokePolymorphic()
5999 codegen_->GenerateInvokeCustomCall(invoke); in VisitInvokeCustom()
6153 if (TryGenerateIntrinsicCode(invoke, codegen_)) { in VisitInvokeStaticOrDirect()
6158 codegen_->GenerateStaticOrDirectCall(invoke, in VisitInvokeStaticOrDirect()
6201 if (TryGenerateIntrinsicCode(invoke, codegen_)) { in VisitInvokeVirtual()
6205 codegen_->GenerateVirtualCall(invoke, invoke->GetLocations()->GetTemp(0)); in VisitInvokeVirtual()
6206 DCHECK(!codegen_->IsLeafMethod()); in VisitInvokeVirtual()
6246 codegen_->GenerateLoadClassRuntimeCall(cls); in VisitLoadClass()
6276 DCHECK(codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass()
6279 codegen_->NewBootImageTypePatch(cls->GetDexFile(), cls->GetTypeIndex()); in VisitLoadClass()
6281 codegen_->NewBootImageTypePatch(cls->GetDexFile(), cls->GetTypeIndex(), info_high); in VisitLoadClass()
6282 codegen_->EmitPcRelativeAddressPlaceholderHigh(info_high, AT, info_low); in VisitLoadClass()
6287 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadClass()
6288 uint32_t boot_image_offset = codegen_->GetBootImageOffset(cls); in VisitLoadClass()
6290 codegen_->NewBootImageRelRoPatch(boot_image_offset); in VisitLoadClass()
6292 codegen_->NewBootImageRelRoPatch(boot_image_offset, info_high); in VisitLoadClass()
6293 codegen_->EmitPcRelativeAddressPlaceholderHigh(info_high, AT, info_low); in VisitLoadClass()
6299 codegen_->NewTypeBssEntryPatch(cls->GetDexFile(), cls->GetTypeIndex()); in VisitLoadClass()
6301 codegen_->NewTypeBssEntryPatch(cls->GetDexFile(), cls->GetTypeIndex(), bss_info_high); in VisitLoadClass()
6302 codegen_->EmitPcRelativeAddressPlaceholderHigh(bss_info_high, out); in VisitLoadClass()
6318 codegen_->DeduplicateBootImageAddressLiteral(address)); in VisitLoadClass()
6324 codegen_->DeduplicateJitClassLiteral(cls->GetDexFile(), in VisitLoadClass()
6338 new (codegen_->GetScopedAllocator()) LoadClassSlowPathMIPS64(cls, cls); in VisitLoadClass()
6339 codegen_->AddSlowPath(slow_path); in VisitLoadClass()
6358 codegen_->GenerateLoadMethodHandleRuntimeCall(load); in VisitLoadMethodHandle()
6368 codegen_->GenerateLoadMethodTypeRuntimeCall(load); in VisitLoadMethodType()
6424 DCHECK(codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadString()
6426 codegen_->NewBootImageStringPatch(load->GetDexFile(), load->GetStringIndex()); in VisitLoadString()
6428 codegen_->NewBootImageStringPatch(load->GetDexFile(), load->GetStringIndex(), info_high); in VisitLoadString()
6429 codegen_->EmitPcRelativeAddressPlaceholderHigh(info_high, AT, info_low); in VisitLoadString()
6434 DCHECK(!codegen_->GetCompilerOptions().IsBootImage()); in VisitLoadString()
6435 uint32_t boot_image_offset = codegen_->GetBootImageOffset(load); in VisitLoadString()
6437 codegen_->NewBootImageRelRoPatch(boot_image_offset); in VisitLoadString()
6439 codegen_->NewBootImageRelRoPatch(boot_image_offset, info_high); in VisitLoadString()
6440 codegen_->EmitPcRelativeAddressPlaceholderHigh(info_high, AT, info_low); in VisitLoadString()
6446 codegen_->NewStringBssEntryPatch(load->GetDexFile(), load->GetStringIndex()); in VisitLoadString()
6448 codegen_->NewStringBssEntryPatch(load->GetDexFile(), load->GetStringIndex(), info_high); in VisitLoadString()
6449 codegen_->EmitPcRelativeAddressPlaceholderHigh(info_high, out); in VisitLoadString()
6457 new (codegen_->GetScopedAllocator()) LoadStringSlowPathMIPS64(load); in VisitLoadString()
6458 codegen_->AddSlowPath(slow_path); in VisitLoadString()
6468 codegen_->DeduplicateBootImageAddressLiteral(address)); in VisitLoadString()
6474 codegen_->DeduplicateJitStringLiteral(load->GetDexFile(), in VisitLoadString()
6488 codegen_->InvokeRuntime(kQuickResolveString, load, load->GetDexPc()); in VisitLoadString()
6509 codegen_->InvokeRuntime(instruction->IsEnter() ? kQuickLockObject : kQuickUnlockObject, in VisitMonitorOperation()
6637 codegen_->InvokeRuntime(entrypoint, instruction, instruction->GetDexPc()); in VisitNewArray()
6639 DCHECK(!codegen_->IsLeafMethod()); in VisitNewArray()
6651 codegen_->InvokeRuntime(instruction->GetEntrypoint(), instruction, instruction->GetDexPc()); in VisitNewInstance()
6693 LocationSummary* locations = codegen_->CreateThrowingSlowPathLocations(instruction); in VisitNullCheck()
6718 codegen_->GenerateNullCheck(instruction); in VisitNullCheck()
6738 codegen_->ClearSpillSlotsFromLoopPhisInStackMap(suspend_check, instruction); in VisitParallelMove()
6741 codegen_->GetMoveResolver()->EmitNativeCode(instruction); in VisitParallelMove()
6748 location = Location::StackSlot(location.GetStackIndex() + codegen_->GetFrameSize()); in VisitParameterValue()
6750 location = Location::DoubleStackSlot(location.GetStackIndex() + codegen_->GetFrameSize()); in VisitParameterValue()
6825 codegen_->InvokeRuntime(entrypoint, instruction, instruction->GetDexPc()); in VisitRem()
7092 codegen_->GenerateFrameExit(); in VisitReturn()
7100 codegen_->GenerateFrameExit(); in VisitReturnVoid()
7154 codegen_->CreateUnresolvedFieldLocationSummary( in VisitUnresolvedInstanceFieldGet()
7161 codegen_->GenerateUnresolvedFieldAccess(instruction, in VisitUnresolvedInstanceFieldGet()
7171 codegen_->CreateUnresolvedFieldLocationSummary( in VisitUnresolvedInstanceFieldSet()
7178 codegen_->GenerateUnresolvedFieldAccess(instruction, in VisitUnresolvedInstanceFieldSet()
7188 codegen_->CreateUnresolvedFieldLocationSummary( in VisitUnresolvedStaticFieldGet()
7195 codegen_->GenerateUnresolvedFieldAccess(instruction, in VisitUnresolvedStaticFieldGet()
7205 codegen_->CreateUnresolvedFieldLocationSummary( in VisitUnresolvedStaticFieldSet()
7212 codegen_->GenerateUnresolvedFieldAccess(instruction, in VisitUnresolvedStaticFieldSet()
7251 codegen_->InvokeRuntime(kQuickDeliverException, instruction, instruction->GetDexPc()); in VisitThrow()
7513 __ Bltzc(temp_reg, codegen_->GetLabelOf(default_block)); in GenPackedSwitchWithCompares()
7517 __ Beqzc(temp_reg, codegen_->GetLabelOf(successors[0])); in GenPackedSwitchWithCompares()
7522 __ Bltzc(temp_reg, codegen_->GetLabelOf(successors[last_index + 1])); in GenPackedSwitchWithCompares()
7524 __ Beqzc(temp_reg, codegen_->GetLabelOf(successors[last_index + 2])); in GenPackedSwitchWithCompares()
7529 __ Beqzc(temp_reg, codegen_->GetLabelOf(successors[last_index + 1])); in GenPackedSwitchWithCompares()
7533 if (!codegen_->GoesToNextBlock(switch_block, default_block)) { in GenPackedSwitchWithCompares()
7534 __ Bc(codegen_->GetLabelOf(default_block)); in GenPackedSwitchWithCompares()
7547 labels[i] = codegen_->GetLabelOf(successors[i]); in GenTableBasedPackedSwitch()
7554 __ Bgeuc(TMP, AT, codegen_->GetLabelOf(default_block)); in GenTableBasedPackedSwitch()