Lines Matching refs:allocator_

57     : allocator_(graph->GetAllocator()),  in HInstructionBuilder()
109 HPhi* phi = new (allocator_) HPhi( in GetLocalsForWithAllocation()
110 allocator_, in GetLocalsForWithAllocation()
159 HPhi* phi = new (allocator_) HPhi( in InitializeBlockLocals()
160 allocator_, in InitializeBlockLocals()
198 HPhi* phi = new (allocator_) HPhi( in InitializeBlockLocals()
199 allocator_, in InitializeBlockLocals()
260 HEnvironment* environment = new (allocator_) HEnvironment( in InitializeInstruction()
261 allocator_, in InitializeInstruction()
277 HNullCheck* null_check = new (allocator_) HNullCheck(ref, dex_pc); in LoadNullCheckedLocal()
337 AppendInstruction(new (allocator_) HSuspendCheck(0u)); in Build()
338 AppendInstruction(new (allocator_) HGoto(0u)); in Build()
341 AppendInstruction(new (allocator_) HExit()); in Build()
344 HSuspendCheck* suspend_check = new (allocator_) HSuspendCheck(current_block_->GetDexPc()); in Build()
381 AppendInstruction(new (allocator_) HNativeDebugInfo(dex_pc)); in Build()
405 AppendInstruction(new (allocator_) HGoto()); in Build()
427 AppendInstruction(new (allocator_) HGoto(0u)); in BuildIntrinsic()
452 HInvokeStaticOrDirect* invoke = new (allocator_) HInvokeStaticOrDirect( in BuildIntrinsic()
453 allocator_, in BuildIntrinsic()
468 AppendInstruction(new (allocator_) HReturnVoid()); in BuildIntrinsic()
470 AppendInstruction(new (allocator_) HReturn(latest_result_)); in BuildIntrinsic()
477 AppendInstruction(new (allocator_) HExit()); in BuildIntrinsic()
578 HParameterValue* parameter = new (allocator_) HParameterValue(*dex_file_, in InitializeParameters()
594 HParameterValue* parameter = new (allocator_) HParameterValue( in InitializeParameters()
617 T* comparison = new (allocator_) T(first, second, dex_pc); in If_22t()
619 AppendInstruction(new (allocator_) HIf(comparison, dex_pc)); in If_22t()
626 T* comparison = new (allocator_) T(value, graph_->GetIntConstant(0, dex_pc), dex_pc); in If_21t()
628 AppendInstruction(new (allocator_) HIf(comparison, dex_pc)); in If_21t()
637 AppendInstruction(new (allocator_) T(type, first, dex_pc)); in Unop_12x()
646 AppendInstruction(new (allocator_) HTypeConversion(result_type, first, dex_pc)); in Conversion_12x()
656 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_23x()
666 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_23x_shift()
676 AppendInstruction(new (allocator_) HCompare(type, first, second, bias, dex_pc)); in Binop_23x_cmp()
686 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_12x_shift()
696 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_12x()
707 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22s()
718 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22b()
754 AppendInstruction(new (allocator_) HGoto(dex_pc)); in BuildSwitch()
758 HEqual* comparison = new (allocator_) HEqual(value, case_value, dex_pc); in BuildSwitch()
760 AppendInstruction(new (allocator_) HIf(comparison, dex_pc)); in BuildSwitch()
768 new (allocator_) HPackedSwitch(table.GetEntryAt(0), table.GetNumEntries(), value, dex_pc)); in BuildSwitch()
788 AppendInstruction(new (allocator_) HConstructorFence(fence_target, dex_pc, allocator_)); in BuildReturn()
793 AppendInstruction(new (allocator_) HReturnVoid(dex_pc)); in BuildReturn()
797 AppendInstruction(new (allocator_) HReturn(value, dex_pc)); in BuildReturn()
977 HInvoke* invoke = new (allocator_) HInvokeUnresolved(allocator_, in BuildInvoke()
996 HInvoke* invoke = new (allocator_) HInvokeStaticOrDirect( in BuildInvoke()
997 allocator_, in BuildInvoke()
1041 invoke = new (allocator_) HInvokeStaticOrDirect(allocator_, in BuildInvoke()
1060 invoke = new (allocator_) HInvokeVirtual(allocator_, in BuildInvoke()
1069 invoke = new (allocator_) HInvokeInterface(allocator_, in BuildInvoke()
1099 HInvoke* invoke = new (allocator_) HInvokePolymorphic(allocator_, in BuildInvokePolymorphic()
1116 HInvoke* invoke = new (allocator_) HInvokeCustom(allocator_, in BuildInvokeCustom()
1133 cls = new (allocator_) HClinitCheck(load_class, dex_pc); in BuildNewInstance()
1152 HNewInstance* new_instance = new (allocator_) HNewInstance( in BuildNewInstance()
1209 new (allocator_) HConstructorFence(allocation, allocation->GetDexPc(), allocator_); in BuildConstructorFenceForAllocation()
1462 clinit_check = new (allocator_) HClinitCheck(cls, dex_pc); in ProcessClinitCheckForInvoke()
1592 instruction = new (allocator_) HRor(kInt32, /*value=*/ nullptr, /*distance=*/ nullptr); in BuildSimpleIntrinsic()
1597 instruction = new (allocator_) HRor(kInt64, /*value=*/ nullptr, /*distance=*/ nullptr); in BuildSimpleIntrinsic()
1600 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1604 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1608 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1612 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1618 instruction = new (allocator_) HNotEqual(/*first=*/ nullptr, /*second=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1624 instruction = new (allocator_) HArrayGet(/*array=*/ nullptr, in BuildSimpleIntrinsic()
1636 new (allocator_) HArrayLength(/*array=*/ nullptr, dex_pc, /* is_string_length= */ true); in BuildSimpleIntrinsic()
1640 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1644 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyStore, dex_pc); in BuildSimpleIntrinsic()
1648 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyAny, dex_pc); in BuildSimpleIntrinsic()
1651 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyAny, dex_pc); in BuildSimpleIntrinsic()
1654 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1657 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyStore, dex_pc); in BuildSimpleIntrinsic()
1660 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1663 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kStoreStore, dex_pc); in BuildSimpleIntrinsic()
1666 instruction = new (allocator_) HMin(kInt32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1669 instruction = new (allocator_) HMin(kInt64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1672 instruction = new (allocator_) HMin(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1675 instruction = new (allocator_) HMin(kFloat64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1678 instruction = new (allocator_) HMax(kInt32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1681 instruction = new (allocator_) HMax(kInt64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1684 instruction = new (allocator_) HMax(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1687 instruction = new (allocator_) HMax(kFloat64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1690 instruction = new (allocator_) HAbs(kInt32, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1693 instruction = new (allocator_) HAbs(kInt64, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1696 instruction = new (allocator_) HAbs(kFloat32, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1699 instruction = new (allocator_) HAbs(kFloat64, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1715 HNeg* neg = new (allocator_) HNeg(kInt32, instruction->InputAt(1u)); in BuildSimpleIntrinsic()
1732 new (allocator_) HArrayLength(array, dex_pc, /*is_string_length=*/ true); in BuildSimpleIntrinsic()
1735 new (allocator_) HBoundsCheck(index, length, dex_pc, /*is_string_char_at=*/ true); in BuildSimpleIntrinsic()
1745 HEqual* equal = new (allocator_) HEqual(instruction, graph_->GetIntConstant(0), dex_pc); in BuildSimpleIntrinsic()
1841 field_set = new (allocator_) HUnresolvedInstanceFieldSet(object, in BuildInstanceFieldAccess()
1848 field_set = new (allocator_) HInstanceFieldSet(object, in BuildInstanceFieldAccess()
1865 field_get = new (allocator_) HUnresolvedInstanceFieldGet(object, in BuildInstanceFieldAccess()
1871 field_get = new (allocator_) HInstanceFieldGet(object, in BuildInstanceFieldAccess()
1898 new (allocator_) HUnresolvedStaticFieldSet(value, field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
1900 AppendInstruction(new (allocator_) HUnresolvedStaticFieldGet(field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
2001 cls = new (allocator_) HClinitCheck(constant, dex_pc); in BuildStaticFieldAccess()
2010 AppendInstruction(new (allocator_) HStaticFieldSet(cls, in BuildStaticFieldAccess()
2021 AppendInstruction(new (allocator_) HStaticFieldGet(cls, in BuildStaticFieldAccess()
2058 second = new (allocator_) HDivZeroCheck(second, dex_pc); in BuildCheckedDivRem()
2063 AppendInstruction(new (allocator_) HDiv(type, first, second, dex_pc)); in BuildCheckedDivRem()
2065 AppendInstruction(new (allocator_) HRem(type, first, second, dex_pc)); in BuildCheckedDivRem()
2079 HInstruction* length = new (allocator_) HArrayLength(object, dex_pc); in BuildArrayAccess()
2082 index = new (allocator_) HBoundsCheck(index, length, dex_pc); in BuildArrayAccess()
2087 HArraySet* aset = new (allocator_) HArraySet(object, index, value, anticipated_type, dex_pc); in BuildArrayAccess()
2091 HArrayGet* aget = new (allocator_) HArrayGet(object, index, anticipated_type, dex_pc); in BuildArrayAccess()
2108 HNewArray* new_array = new (allocator_) HNewArray(cls, length, dex_pc, component_type_shift); in BuildNewArray()
2132 HArraySet* aset = new (allocator_) HArraySet(new_array, index, value, type, dex_pc); in BuildFilledNewArray()
2150 HArraySet* aset = new (allocator_) HArraySet(object, index, value, anticipated_type, dex_pc); in BuildFillArrayData()
2171 HInstruction* length = new (allocator_) HArrayLength(array, dex_pc); in BuildFillArrayData()
2177 AppendInstruction(new (allocator_) HBoundsCheck(last_index, length, dex_pc)); in BuildFillArrayData()
2221 new (allocator_) HArraySet(object, index, value, DataType::Type::kInt64, dex_pc); in BuildFillWideArrayData()
2229 new (allocator_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc); in BuildLoadString()
2264 HLoadClass* load_class = new (allocator_) HLoadClass( in BuildLoadClass()
2317 HLoadMethodHandle* load_method_handle = new (allocator_) HLoadMethodHandle( in BuildLoadMethodHandle()
2325 new (allocator_) HLoadMethodType(graph_->GetCurrentMethod(), proto_index, dex_file, dex_pc); in BuildLoadMethodType()
2362 AppendInstruction(new (allocator_) HInstanceOf(object, in BuildTypeCheck()
2367 allocator_, in BuildTypeCheck()
2377 new (allocator_) HCheckCast(object, in BuildTypeCheck()
2382 allocator_, in BuildTypeCheck()
2385 AppendInstruction(new (allocator_) HBoundType(object, dex_pc)); in BuildTypeCheck()
2528 AppendInstruction(new (allocator_) HGoto(dex_pc)); in ProcessDexInstruction()
3312 AppendInstruction(new (allocator_) HArrayLength(object, dex_pc)); in ProcessDexInstruction()
3353 AppendInstruction(new (allocator_) HLoadException(dex_pc)); in ProcessDexInstruction()
3355 AppendInstruction(new (allocator_) HClearException(dex_pc)); in ProcessDexInstruction()
3361 AppendInstruction(new (allocator_) HThrow(exception, dex_pc)); in ProcessDexInstruction()
3384 AppendInstruction(new (allocator_) HMonitorOperation( in ProcessDexInstruction()
3393 AppendInstruction(new (allocator_) HMonitorOperation( in ProcessDexInstruction()