Lines Matching refs:allocator_

97     : allocator_(graph->GetAllocator()),  in HInstructionBuilder()
148 HPhi* phi = new (allocator_) HPhi( in GetLocalsForWithAllocation()
149 allocator_, in GetLocalsForWithAllocation()
198 HPhi* phi = new (allocator_) HPhi( in InitializeBlockLocals()
199 allocator_, in InitializeBlockLocals()
237 HPhi* phi = new (allocator_) HPhi( in InitializeBlockLocals()
238 allocator_, in InitializeBlockLocals()
299 HEnvironment* environment = new (allocator_) HEnvironment( in InitializeInstruction()
300 allocator_, in InitializeInstruction()
316 HNullCheck* null_check = new (allocator_) HNullCheck(ref, dex_pc); in LoadNullCheckedLocal()
380 AppendInstruction(new (allocator_) HSuspendCheck(0u)); in Build()
382 AppendInstruction(new (allocator_) HMethodEntryHook(0u)); in Build()
384 AppendInstruction(new (allocator_) HGoto(0u)); in Build()
387 AppendInstruction(new (allocator_) HExit()); in Build()
390 HSuspendCheck* suspend_check = new (allocator_) HSuspendCheck(current_block_->GetDexPc()); in Build()
399 InsertInstructionAtTop(new (allocator_) HNop(block_dex_pc, /* needs_environment= */ true)); in Build()
427 AppendInstruction(new (allocator_) HNop(dex_pc, /* needs_environment= */ true)); in Build()
447 AppendInstruction(new (allocator_) HGoto()); in Build()
474 AppendInstruction(new (allocator_) HMethodEntryHook(0u)); in BuildIntrinsic()
476 AppendInstruction(new (allocator_) HGoto(0u)); in BuildIntrinsic()
501 HInvokeStaticOrDirect* invoke = new (allocator_) HInvokeStaticOrDirect( in BuildIntrinsic()
502 allocator_, in BuildIntrinsic()
519 AppendInstruction(new (allocator_) HMethodExitHook(graph_->GetNullConstant(), kNoDexPc)); in BuildIntrinsic()
521 AppendInstruction(new (allocator_) HReturnVoid()); in BuildIntrinsic()
524 AppendInstruction(new (allocator_) HMethodExitHook(latest_result_, kNoDexPc)); in BuildIntrinsic()
526 AppendInstruction(new (allocator_) HReturn(latest_result_)); in BuildIntrinsic()
533 AppendInstruction(new (allocator_) HExit()); in BuildIntrinsic()
633 HParameterValue* parameter = new (allocator_) HParameterValue(*dex_file_, in InitializeParameters()
649 HParameterValue* parameter = new (allocator_) HParameterValue( in InitializeParameters()
673 comparison = new (allocator_) T(value, graph_->GetIntConstant(0, dex_pc), dex_pc); in If_21_22t()
676 comparison = new (allocator_) T(value, second, dex_pc); in If_21_22t()
679 HIf* if_instr = new (allocator_) HIf(comparison, dex_pc); in If_21_22t()
701 AppendInstruction(new (allocator_) T(type, first, dex_pc)); in Unop_12x()
710 AppendInstruction(new (allocator_) HTypeConversion(result_type, first, dex_pc)); in Conversion_12x()
720 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_23x()
730 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_23x_shift()
740 AppendInstruction(new (allocator_) HCompare(type, first, second, bias, dex_pc)); in Binop_23x_cmp()
750 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_12x_shift()
760 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_12x()
771 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22s()
782 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22b()
818 AppendInstruction(new (allocator_) HGoto(dex_pc)); in BuildSwitch()
822 HEqual* comparison = new (allocator_) HEqual(value, case_value, dex_pc); in BuildSwitch()
824 AppendInstruction(new (allocator_) HIf(comparison, dex_pc)); in BuildSwitch()
832 new (allocator_) HPackedSwitch(table.GetEntryAt(0), table.GetNumEntries(), value, dex_pc)); in BuildSwitch()
852 AppendInstruction(new (allocator_) HConstructorFence(fence_target, dex_pc, allocator_)); in BuildReturn()
860 AppendInstruction(new (allocator_) HMethodExitHook(graph_->GetNullConstant(), dex_pc)); in BuildReturn()
862 AppendInstruction(new (allocator_) HReturnVoid(dex_pc)); in BuildReturn()
867 AppendInstruction(new (allocator_) HMethodExitHook(value, dex_pc)); in BuildReturn()
869 AppendInstruction(new (allocator_) HReturn(value, dex_pc)); in BuildReturn()
1043 HInvoke* invoke = new (allocator_) HInvokeUnresolved(allocator_, in BuildInvoke()
1062 HInvoke* invoke = new (allocator_) HInvokeStaticOrDirect( in BuildInvoke()
1063 allocator_, in BuildInvoke()
1128 invoke = new (allocator_) HInvokeStaticOrDirect(allocator_, in BuildInvoke()
1147 invoke = new (allocator_) HInvokeVirtual(allocator_, in BuildInvoke()
1168 invoke = new (allocator_) HInvokeInterface(allocator_, in BuildInvoke()
1369 HInvoke* invoke = new (allocator_) HInvokePolymorphic(allocator_, in BuildInvokePolymorphic()
1410 HInvoke* invoke = new (allocator_) HInvokeCustom(allocator_, in BuildInvokeCustom()
1429 cls = new (allocator_) HClinitCheck(load_class, dex_pc); in BuildNewInstance()
1452 HNewInstance* new_instance = new (allocator_) HNewInstance( in BuildNewInstance()
1509 new (allocator_) HConstructorFence(allocation, allocation->GetDexPc(), allocator_); in BuildConstructorFenceForAllocation()
1760 clinit_check = new (allocator_) HClinitCheck(cls, dex_pc); in ProcessClinitCheckForInvoke()
1897 instruction = new (allocator_) HRor(kInt32, /*value=*/ nullptr, /*distance=*/ nullptr); in BuildSimpleIntrinsic()
1902 instruction = new (allocator_) HRor(kInt64, /*value=*/ nullptr, /*distance=*/ nullptr); in BuildSimpleIntrinsic()
1905 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1909 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1913 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1917 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1923 instruction = new (allocator_) HNotEqual(/*first=*/ nullptr, /*second=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1929 instruction = new (allocator_) HArrayGet(/*array=*/ nullptr, in BuildSimpleIntrinsic()
1941 new (allocator_) HArrayLength(/*array=*/ nullptr, dex_pc, /* is_string_length= */ true); in BuildSimpleIntrinsic()
1946 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1951 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyStore, dex_pc); in BuildSimpleIntrinsic()
1956 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyAny, dex_pc); in BuildSimpleIntrinsic()
1959 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyAny, dex_pc); in BuildSimpleIntrinsic()
1962 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1965 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyStore, dex_pc); in BuildSimpleIntrinsic()
1968 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1971 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kStoreStore, dex_pc); in BuildSimpleIntrinsic()
1974 instruction = new (allocator_) HMin(kInt32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1977 instruction = new (allocator_) HMin(kInt64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1980 instruction = new (allocator_) HMin(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1983 instruction = new (allocator_) HMin(kFloat64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1986 instruction = new (allocator_) HMax(kInt32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1989 instruction = new (allocator_) HMax(kInt64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1992 instruction = new (allocator_) HMax(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1995 instruction = new (allocator_) HMax(kFloat64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1998 instruction = new (allocator_) HAbs(kInt32, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
2001 instruction = new (allocator_) HAbs(kInt64, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
2004 instruction = new (allocator_) HAbs(kFloat32, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
2007 instruction = new (allocator_) HAbs(kFloat64, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
2024 HNeg* neg = new (allocator_) HNeg(kInt32, instruction->InputAt(1u)); in BuildSimpleIntrinsic()
2041 new (allocator_) HArrayLength(array, dex_pc, /*is_string_length=*/ true); in BuildSimpleIntrinsic()
2044 new (allocator_) HBoundsCheck(index, length, dex_pc, /*is_string_char_at=*/ true); in BuildSimpleIntrinsic()
2054 HEqual* equal = new (allocator_) HEqual(instruction, graph_->GetIntConstant(0), dex_pc); in BuildSimpleIntrinsic()
2139 field_set = new (allocator_) HUnresolvedInstanceFieldSet(object, in BuildInstanceFieldAccess()
2146 field_set = new (allocator_) HInstanceFieldSet(object, in BuildInstanceFieldAccess()
2163 field_get = new (allocator_) HUnresolvedInstanceFieldGet(object, in BuildInstanceFieldAccess()
2169 field_get = new (allocator_) HInstanceFieldGet(object, in BuildInstanceFieldAccess()
2196 new (allocator_) HUnresolvedStaticFieldSet(value, field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
2198 AppendInstruction(new (allocator_) HUnresolvedStaticFieldGet(field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
2322 cls = new (allocator_) HClinitCheck(constant, dex_pc); in BuildStaticFieldAccess()
2331 AppendInstruction(new (allocator_) HStaticFieldSet(cls, in BuildStaticFieldAccess()
2342 AppendInstruction(new (allocator_) HStaticFieldGet(cls, in BuildStaticFieldAccess()
2379 second = new (allocator_) HDivZeroCheck(second, dex_pc); in BuildCheckedDivRem()
2384 AppendInstruction(new (allocator_) HDiv(type, first, second, dex_pc)); in BuildCheckedDivRem()
2386 AppendInstruction(new (allocator_) HRem(type, first, second, dex_pc)); in BuildCheckedDivRem()
2400 HInstruction* length = new (allocator_) HArrayLength(object, dex_pc); in BuildArrayAccess()
2403 index = new (allocator_) HBoundsCheck(index, length, dex_pc); in BuildArrayAccess()
2408 HArraySet* aset = new (allocator_) HArraySet(object, index, value, anticipated_type, dex_pc); in BuildArrayAccess()
2412 HArrayGet* aget = new (allocator_) HArrayGet(object, index, anticipated_type, dex_pc); in BuildArrayAccess()
2429 HNewArray* new_array = new (allocator_) HNewArray(cls, length, dex_pc, component_type_shift); in BuildNewArray()
2453 HArraySet* aset = new (allocator_) HArraySet(new_array, index, value, type, dex_pc); in BuildFilledNewArray()
2471 HArraySet* aset = new (allocator_) HArraySet(object, index, value, anticipated_type, dex_pc); in BuildFillArrayData()
2492 HInstruction* length = new (allocator_) HArrayLength(array, dex_pc); in BuildFillArrayData()
2498 AppendInstruction(new (allocator_) HBoundsCheck(last_index, length, dex_pc)); in BuildFillArrayData()
2542 new (allocator_) HArraySet(object, index, value, DataType::Type::kInt64, dex_pc); in BuildFillWideArrayData()
2550 new (allocator_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc); in BuildLoadString()
2591 HLoadClass* load_class = new (allocator_) HLoadClass( in BuildLoadClass()
2690 HLoadMethodHandle* load_method_handle = new (allocator_) HLoadMethodHandle( in BuildLoadMethodHandle()
2698 new (allocator_) HLoadMethodType(graph_->GetCurrentMethod(), proto_index, dex_file, dex_pc); in BuildLoadMethodType()
2735 AppendInstruction(new (allocator_) HInstanceOf(object, in BuildTypeCheck()
2740 allocator_, in BuildTypeCheck()
2748 new (allocator_) HCheckCast(object, in BuildTypeCheck()
2753 allocator_, in BuildTypeCheck()
2756 AppendInstruction(new (allocator_) HBoundType(object, dex_pc)); in BuildTypeCheck()
2908 AppendInstruction(new (allocator_) HGoto(dex_pc)); in ProcessDexInstruction()
3656 AppendInstruction(new (allocator_) HArrayLength(object, dex_pc)); in ProcessDexInstruction()
3697 AppendInstruction(new (allocator_) HLoadException(dex_pc)); in ProcessDexInstruction()
3699 AppendInstruction(new (allocator_) HClearException(dex_pc)); in ProcessDexInstruction()
3705 AppendInstruction(new (allocator_) HThrow(exception, dex_pc)); in ProcessDexInstruction()
3728 AppendInstruction(new (allocator_) HMonitorOperation( in ProcessDexInstruction()
3737 AppendInstruction(new (allocator_) HMonitorOperation( in ProcessDexInstruction()