Lines Matching refs:allocator_
95 : allocator_(graph->GetAllocator()), in HInstructionBuilder()
146 HPhi* phi = new (allocator_) HPhi( in GetLocalsForWithAllocation()
147 allocator_, in GetLocalsForWithAllocation()
196 HPhi* phi = new (allocator_) HPhi( in InitializeBlockLocals()
197 allocator_, in InitializeBlockLocals()
235 HPhi* phi = new (allocator_) HPhi( in InitializeBlockLocals()
236 allocator_, in InitializeBlockLocals()
297 HEnvironment* environment = new (allocator_) HEnvironment( in InitializeInstruction()
298 allocator_, in InitializeInstruction()
314 HNullCheck* null_check = new (allocator_) HNullCheck(ref, dex_pc); in LoadNullCheckedLocal()
374 AppendInstruction(new (allocator_) HSuspendCheck(0u)); in Build()
375 AppendInstruction(new (allocator_) HGoto(0u)); in Build()
378 AppendInstruction(new (allocator_) HExit()); in Build()
381 HSuspendCheck* suspend_check = new (allocator_) HSuspendCheck(current_block_->GetDexPc()); in Build()
413 AppendInstruction(new (allocator_) HNativeDebugInfo(dex_pc)); in Build()
433 AppendInstruction(new (allocator_) HGoto()); in Build()
459 AppendInstruction(new (allocator_) HGoto(0u)); in BuildIntrinsic()
484 HInvokeStaticOrDirect* invoke = new (allocator_) HInvokeStaticOrDirect( in BuildIntrinsic()
485 allocator_, in BuildIntrinsic()
500 AppendInstruction(new (allocator_) HReturnVoid()); in BuildIntrinsic()
502 AppendInstruction(new (allocator_) HReturn(latest_result_)); in BuildIntrinsic()
509 AppendInstruction(new (allocator_) HExit()); in BuildIntrinsic()
610 HParameterValue* parameter = new (allocator_) HParameterValue(*dex_file_, in InitializeParameters()
626 HParameterValue* parameter = new (allocator_) HParameterValue( in InitializeParameters()
649 T* comparison = new (allocator_) T(first, second, dex_pc); in If_22t()
651 AppendInstruction(new (allocator_) HIf(comparison, dex_pc)); in If_22t()
658 T* comparison = new (allocator_) T(value, graph_->GetIntConstant(0, dex_pc), dex_pc); in If_21t()
660 AppendInstruction(new (allocator_) HIf(comparison, dex_pc)); in If_21t()
669 AppendInstruction(new (allocator_) T(type, first, dex_pc)); in Unop_12x()
678 AppendInstruction(new (allocator_) HTypeConversion(result_type, first, dex_pc)); in Conversion_12x()
688 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_23x()
698 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_23x_shift()
708 AppendInstruction(new (allocator_) HCompare(type, first, second, bias, dex_pc)); in Binop_23x_cmp()
718 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_12x_shift()
728 AppendInstruction(new (allocator_) T(type, first, second, dex_pc)); in Binop_12x()
739 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22s()
750 AppendInstruction(new (allocator_) T(DataType::Type::kInt32, first, second, dex_pc)); in Binop_22b()
786 AppendInstruction(new (allocator_) HGoto(dex_pc)); in BuildSwitch()
790 HEqual* comparison = new (allocator_) HEqual(value, case_value, dex_pc); in BuildSwitch()
792 AppendInstruction(new (allocator_) HIf(comparison, dex_pc)); in BuildSwitch()
800 new (allocator_) HPackedSwitch(table.GetEntryAt(0), table.GetNumEntries(), value, dex_pc)); in BuildSwitch()
820 AppendInstruction(new (allocator_) HConstructorFence(fence_target, dex_pc, allocator_)); in BuildReturn()
825 AppendInstruction(new (allocator_) HReturnVoid(dex_pc)); in BuildReturn()
829 AppendInstruction(new (allocator_) HReturn(value, dex_pc)); in BuildReturn()
1021 HInvoke* invoke = new (allocator_) HInvokeUnresolved(allocator_, in BuildInvoke()
1040 HInvoke* invoke = new (allocator_) HInvokeStaticOrDirect( in BuildInvoke()
1041 allocator_, in BuildInvoke()
1105 invoke = new (allocator_) HInvokeStaticOrDirect(allocator_, in BuildInvoke()
1123 invoke = new (allocator_) HInvokeVirtual(allocator_, in BuildInvoke()
1143 invoke = new (allocator_) HInvokeInterface(allocator_, in BuildInvoke()
1195 HInvoke* invoke = new (allocator_) HInvokePolymorphic(allocator_, in BuildInvokePolymorphic()
1233 HInvoke* invoke = new (allocator_) HInvokeCustom(allocator_, in BuildInvokeCustom()
1251 cls = new (allocator_) HClinitCheck(load_class, dex_pc); in BuildNewInstance()
1274 HNewInstance* new_instance = new (allocator_) HNewInstance( in BuildNewInstance()
1331 new (allocator_) HConstructorFence(allocation, allocation->GetDexPc(), allocator_); in BuildConstructorFenceForAllocation()
1583 clinit_check = new (allocator_) HClinitCheck(cls, dex_pc); in ProcessClinitCheckForInvoke()
1719 instruction = new (allocator_) HRor(kInt32, /*value=*/ nullptr, /*distance=*/ nullptr); in BuildSimpleIntrinsic()
1724 instruction = new (allocator_) HRor(kInt64, /*value=*/ nullptr, /*distance=*/ nullptr); in BuildSimpleIntrinsic()
1727 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1731 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1735 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1739 instruction = new (allocator_) HCompare( in BuildSimpleIntrinsic()
1745 instruction = new (allocator_) HNotEqual(/*first=*/ nullptr, /*second=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1751 instruction = new (allocator_) HArrayGet(/*array=*/ nullptr, in BuildSimpleIntrinsic()
1763 new (allocator_) HArrayLength(/*array=*/ nullptr, dex_pc, /* is_string_length= */ true); in BuildSimpleIntrinsic()
1767 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1771 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyStore, dex_pc); in BuildSimpleIntrinsic()
1775 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyAny, dex_pc); in BuildSimpleIntrinsic()
1778 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyAny, dex_pc); in BuildSimpleIntrinsic()
1781 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1784 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kAnyStore, dex_pc); in BuildSimpleIntrinsic()
1787 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kLoadAny, dex_pc); in BuildSimpleIntrinsic()
1790 instruction = new (allocator_) HMemoryBarrier(MemBarrierKind::kStoreStore, dex_pc); in BuildSimpleIntrinsic()
1793 instruction = new (allocator_) HMin(kInt32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1796 instruction = new (allocator_) HMin(kInt64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1799 instruction = new (allocator_) HMin(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1802 instruction = new (allocator_) HMin(kFloat64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1805 instruction = new (allocator_) HMax(kInt32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1808 instruction = new (allocator_) HMax(kInt64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1811 instruction = new (allocator_) HMax(kFloat32, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1814 instruction = new (allocator_) HMax(kFloat64, /*left=*/ nullptr, /*right=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1817 instruction = new (allocator_) HAbs(kInt32, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1820 instruction = new (allocator_) HAbs(kInt64, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1823 instruction = new (allocator_) HAbs(kFloat32, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1826 instruction = new (allocator_) HAbs(kFloat64, /*input=*/ nullptr, dex_pc); in BuildSimpleIntrinsic()
1842 HNeg* neg = new (allocator_) HNeg(kInt32, instruction->InputAt(1u)); in BuildSimpleIntrinsic()
1859 new (allocator_) HArrayLength(array, dex_pc, /*is_string_length=*/ true); in BuildSimpleIntrinsic()
1862 new (allocator_) HBoundsCheck(index, length, dex_pc, /*is_string_char_at=*/ true); in BuildSimpleIntrinsic()
1872 HEqual* equal = new (allocator_) HEqual(instruction, graph_->GetIntConstant(0), dex_pc); in BuildSimpleIntrinsic()
1957 field_set = new (allocator_) HUnresolvedInstanceFieldSet(object, in BuildInstanceFieldAccess()
1964 field_set = new (allocator_) HInstanceFieldSet(object, in BuildInstanceFieldAccess()
1981 field_get = new (allocator_) HUnresolvedInstanceFieldGet(object, in BuildInstanceFieldAccess()
1987 field_get = new (allocator_) HInstanceFieldGet(object, in BuildInstanceFieldAccess()
2014 new (allocator_) HUnresolvedStaticFieldSet(value, field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
2016 AppendInstruction(new (allocator_) HUnresolvedStaticFieldGet(field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
2136 cls = new (allocator_) HClinitCheck(constant, dex_pc); in BuildStaticFieldAccess()
2145 AppendInstruction(new (allocator_) HStaticFieldSet(cls, in BuildStaticFieldAccess()
2156 AppendInstruction(new (allocator_) HStaticFieldGet(cls, in BuildStaticFieldAccess()
2193 second = new (allocator_) HDivZeroCheck(second, dex_pc); in BuildCheckedDivRem()
2198 AppendInstruction(new (allocator_) HDiv(type, first, second, dex_pc)); in BuildCheckedDivRem()
2200 AppendInstruction(new (allocator_) HRem(type, first, second, dex_pc)); in BuildCheckedDivRem()
2214 HInstruction* length = new (allocator_) HArrayLength(object, dex_pc); in BuildArrayAccess()
2217 index = new (allocator_) HBoundsCheck(index, length, dex_pc); in BuildArrayAccess()
2222 HArraySet* aset = new (allocator_) HArraySet(object, index, value, anticipated_type, dex_pc); in BuildArrayAccess()
2226 HArrayGet* aget = new (allocator_) HArrayGet(object, index, anticipated_type, dex_pc); in BuildArrayAccess()
2243 HNewArray* new_array = new (allocator_) HNewArray(cls, length, dex_pc, component_type_shift); in BuildNewArray()
2267 HArraySet* aset = new (allocator_) HArraySet(new_array, index, value, type, dex_pc); in BuildFilledNewArray()
2285 HArraySet* aset = new (allocator_) HArraySet(object, index, value, anticipated_type, dex_pc); in BuildFillArrayData()
2306 HInstruction* length = new (allocator_) HArrayLength(array, dex_pc); in BuildFillArrayData()
2312 AppendInstruction(new (allocator_) HBoundsCheck(last_index, length, dex_pc)); in BuildFillArrayData()
2356 new (allocator_) HArraySet(object, index, value, DataType::Type::kInt64, dex_pc); in BuildFillWideArrayData()
2364 new (allocator_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc); in BuildLoadString()
2405 HLoadClass* load_class = new (allocator_) HLoadClass( in BuildLoadClass()
2507 HLoadMethodHandle* load_method_handle = new (allocator_) HLoadMethodHandle( in BuildLoadMethodHandle()
2515 new (allocator_) HLoadMethodType(graph_->GetCurrentMethod(), proto_index, dex_file, dex_pc); in BuildLoadMethodType()
2549 AppendInstruction(new (allocator_) HInstanceOf(object, in BuildTypeCheck()
2554 allocator_, in BuildTypeCheck()
2562 new (allocator_) HCheckCast(object, in BuildTypeCheck()
2567 allocator_, in BuildTypeCheck()
2570 AppendInstruction(new (allocator_) HBoundType(object, dex_pc)); in BuildTypeCheck()
2718 AppendInstruction(new (allocator_) HGoto(dex_pc)); in ProcessDexInstruction()
3466 AppendInstruction(new (allocator_) HArrayLength(object, dex_pc)); in ProcessDexInstruction()
3507 AppendInstruction(new (allocator_) HLoadException(dex_pc)); in ProcessDexInstruction()
3509 AppendInstruction(new (allocator_) HClearException(dex_pc)); in ProcessDexInstruction()
3515 AppendInstruction(new (allocator_) HThrow(exception, dex_pc)); in ProcessDexInstruction()
3538 AppendInstruction(new (allocator_) HMonitorOperation( in ProcessDexInstruction()
3547 AppendInstruction(new (allocator_) HMonitorOperation( in ProcessDexInstruction()