Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 8 of 8) sorted by relevance

/art/runtime/entrypoints/quick/
Dquick_fillarray_entrypoints.cc41 const Instruction::ArrayDataPayload* payload, in artHandleFillArrayDataFromCode() argument
45 DCHECK_EQ(payload->ident, static_cast<uint16_t>(Instruction::kArrayDataSignature)); in artHandleFillArrayDataFromCode()
51 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { in artHandleFillArrayDataFromCode()
55 array->GetLength(), payload->element_count - 1); in artHandleFillArrayDataFromCode()
58 uint32_t size_in_bytes = payload->element_count * payload->element_width; in artHandleFillArrayDataFromCode()
59 memcpy(array->GetRawData(payload->element_width, 0), payload->data, size_in_bytes); in artHandleFillArrayDataFromCode()
/art/runtime/entrypoints/portable/
Dportable_fillarray_entrypoints.cc30 const Instruction::ArrayDataPayload* payload = in art_portable_fill_array_data_from_code() local
32 DCHECK_EQ(payload->ident, static_cast<uint16_t>(Instruction::kArrayDataSignature)); in art_portable_fill_array_data_from_code()
38 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { in art_portable_fill_array_data_from_code()
43 array->GetLength(), payload->element_count - 1); in art_portable_fill_array_data_from_code()
46 uint32_t size_in_bytes = payload->element_count * payload->element_width; in art_portable_fill_array_data_from_code()
47 memcpy(array->GetRawData(payload->element_width, 0), payload->data, size_in_bytes); in art_portable_fill_array_data_from_code()
/art/compiler/optimizing/
Dlocations.h123 uword payload = EncodeStackIndex(stack_index); in StackSlot() local
124 Location loc(kStackSlot, payload); in StackSlot()
135 uword payload = EncodeStackIndex(stack_index); in DoubleStackSlot() local
136 Location loc(kDoubleStackSlot, payload); in DoubleStackSlot()
245 Location(Kind kind, uword payload) in Location() argument
246 : value_(KindField::Encode(kind) | PayloadField::Encode(payload)) {} in Location()
/art/compiler/dex/quick/x86/
Dcall_x86.cc153 RegStorage payload = TargetPtrReg(kArg1); in GenFillArrayData() local
170 NewLIR2(kX86PcRelAdr, payload.GetReg(), WrapPointer(tab_rec)); in GenFillArrayData()
171 OpRegReg(kOpAdd, payload, method_start); in GenFillArrayData()
172 CallRuntimeHelperRegReg(kQuickHandleFillArrayData, array_ptr, payload, true); in GenFillArrayData()
/art/compiler/dex/portable/
Dmir_to_gbc.cc145 const Instruction::PackedSwitchPayload* payload = in ConvertPackedSwitch() local
153 payload->case_count); in ConvertPackedSwitch()
155 for (uint16_t i = 0; i < payload->case_count; ++i) { in ConvertPackedSwitch()
157 FindCaseTarget(current_dalvik_offset_ + payload->targets[i]); in ConvertPackedSwitch()
158 sw->addCase(irb_->getInt32(payload->first_key + i), llvm_bb); in ConvertPackedSwitch()
169 const Instruction::SparseSwitchPayload* payload = in ConvertSparseSwitch() local
173 const int32_t* keys = payload->GetKeys(); in ConvertSparseSwitch()
174 const int32_t* targets = payload->GetTargets(); in ConvertSparseSwitch()
180 payload->case_count); in ConvertSparseSwitch()
182 for (size_t i = 0; i < payload->case_count; ++i) { in ConvertSparseSwitch()
/art/runtime/interpreter/
Dinterpreter_switch_impl.cc512 const Instruction::ArrayDataPayload* payload = in ExecuteSwitchImpl() local
514 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { in ExecuteSwitchImpl()
518 array->GetLength(), payload->element_count); in ExecuteSwitchImpl()
523 RecordArrayElementsInTransaction(array, payload->element_count); in ExecuteSwitchImpl()
525 uint32_t size_in_bytes = payload->element_count * payload->element_width; in ExecuteSwitchImpl()
526 memcpy(array->GetRawData(payload->element_width, 0), payload->data, size_in_bytes); in ExecuteSwitchImpl()
Dinterpreter_goto_table_impl.cc597 const Instruction::ArrayDataPayload* payload = in ExecuteGotoImpl() local
599 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) { in ExecuteGotoImpl()
603 array->GetLength(), payload->element_count); in ExecuteGotoImpl()
607 RecordArrayElementsInTransaction(array, payload->element_count); in ExecuteGotoImpl()
609 uint32_t size_in_bytes = payload->element_count * payload->element_width; in ExecuteGotoImpl()
610 memcpy(array->GetRawData(payload->element_width, 0), payload->data, size_in_bytes); in ExecuteGotoImpl()
/art/compiler/llvm/
Dgbc_expander.cc2412 const art::Instruction::ArrayDataPayload* payload = in Expand_HLFillArrayData() local
2416 if (payload->element_count == 0) { in Expand_HLFillArrayData()