| /external/v8/src/interpreter/ |
| D | bytecode-array-accessor.cc | 16 Handle<BytecodeArray> bytecode_array, int initial_offset) in BytecodeArrayAccessor() argument 17 : bytecode_array_(bytecode_array), in BytecodeArrayAccessor() 31 uint8_t current_byte = bytecode_array()->get(bytecode_offset_); in UpdateOperandScale() 45 return bytecode_offset_ >= 0 && bytecode_offset_ < bytecode_array()->length(); in OffsetInBounds() 51 bytecode_array()->get(bytecode_offset_ + current_prefix_offset()); in current_bytecode() 70 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetUnsignedOperand() 86 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetSignedOperand() 131 bytecode_array()->GetFirstBytecodeAddress() + bytecode_offset_ + in GetRegisterOperand() 173 return FixedArray::get(bytecode_array()->constant_pool(), in GetConstantForIndexOperand() 175 bytecode_array()->GetIsolate()); in GetConstantForIndexOperand() [all …]
|
| D | bytecode-array-iterator.cc | 13 Handle<BytecodeArray> bytecode_array) in BytecodeArrayIterator() argument 14 : BytecodeArrayAccessor(bytecode_array, 0) {} in BytecodeArrayIterator() 21 return current_offset() >= bytecode_array()->length(); in done()
|
| D | bytecode-array-random-iterator.cc | 13 Handle<BytecodeArray> bytecode_array, Zone* zone) in BytecodeArrayRandomIterator() argument 14 : BytecodeArrayAccessor(bytecode_array, 0), offsets_(zone) { in BytecodeArrayRandomIterator() 17 while (current_offset() < bytecode_array->length()) { in BytecodeArrayRandomIterator()
|
| D | bytecode-array-writer.cc | 44 Handle<BytecodeArray> bytecode_array = isolate->factory()->NewBytecodeArray( in ToBytecodeArray() local 47 bytecode_array->set_handler_table(*handler_table); in ToBytecodeArray() 50 isolate, Handle<AbstractCode>::cast(bytecode_array)); in ToBytecodeArray() 51 bytecode_array->set_source_position_table(*source_position_table); in ToBytecodeArray() 52 return bytecode_array; in ToBytecodeArray()
|
| D | bytecode-array-accessor.h | 21 BytecodeArrayAccessor(Handle<BytecodeArray> bytecode_array, 31 const Handle<BytecodeArray>& bytecode_array() const { in bytecode_array() function
|
| D | bytecode-array-iterator.h | 17 explicit BytecodeArrayIterator(Handle<BytecodeArray> bytecode_array);
|
| D | bytecode-array-random-iterator.h | 19 explicit BytecodeArrayRandomIterator(Handle<BytecodeArray> bytecode_array,
|
| D | bytecode-register.h | 46 static Register bytecode_array();
|
| D | bytecode-register.cc | 75 Register Register::bytecode_array() { in bytecode_array() function in v8::internal::interpreter::Register
|
| D | interpreter-assembler.cc | 182 bytecode_array_.Bind(LoadRegister(Register::bytecode_array())); in BytecodeArrayTaggedPointer() 1350 Node* bytecode_array = LoadRegister(Register::bytecode_array()); in RegisterCount() local 1352 bytecode_array, BytecodeArray::kFrameSizeOffset, MachineType::Uint32()); in RegisterCount()
|
| /external/v8/src/runtime/ |
| D | runtime-interpreter.cc | 77 bytecode_iterator.bytecode_array()->GetIsolate()); in PrintRegisters() 97 bytecode_iterator.bytecode_array()->parameter_count()) in PrintRegisters() 114 CONVERT_ARG_HANDLE_CHECKED(BytecodeArray, bytecode_array, 0); in RUNTIME_FUNCTION() 120 interpreter::BytecodeArrayIterator bytecode_iterator(bytecode_array); in RUNTIME_FUNCTION() 124 const uint8_t* base_address = bytecode_array->GetFirstBytecodeAddress(); in RUNTIME_FUNCTION() 129 bytecode_array->parameter_count()); in RUNTIME_FUNCTION() 142 CONVERT_ARG_HANDLE_CHECKED(BytecodeArray, bytecode_array, 0); in RUNTIME_FUNCTION() 147 interpreter::BytecodeArrayIterator bytecode_iterator(bytecode_array); in RUNTIME_FUNCTION() 166 CONVERT_ARG_HANDLE_CHECKED(BytecodeArray, bytecode_array, 0); in RUNTIME_FUNCTION() 168 interpreter::BytecodeArrayIterator it(bytecode_array); in RUNTIME_FUNCTION()
|
| D | runtime-generator.cc | 25 int size = function->shared()->bytecode_array()->register_count(); in RUNTIME_FUNCTION()
|
| D | runtime-function.cc | 188 target_shared->set_bytecode_array(source_shared->bytecode_array()); in RUNTIME_FUNCTION()
|
| /external/v8/src/compiler/ |
| D | bytecode-analysis.cc | 84 BytecodeAnalysis::BytecodeAnalysis(Handle<BytecodeArray> bytecode_array, in BytecodeAnalysis() argument 86 : bytecode_array_(bytecode_array), in BytecodeAnalysis() 93 liveness_map_(bytecode_array->length(), zone) {} in BytecodeAnalysis() 183 const Handle<BytecodeArray>& bytecode_array = accessor.bytecode_array(); in UpdateOutLiveness() local 203 HandlerTable* table = HandlerTable::cast(bytecode_array->handler_table()); in UpdateOutLiveness() 250 BytecodeArrayRandomIterator iterator(bytecode_array(), zone()); in Analyze() 305 current_offset, bytecode_array()->register_count(), zone()); in Analyze() 465 interpreter::BytecodeArrayIterator iterator(bytecode_array()); in PrintLivenessTo() 493 BytecodeArrayRandomIterator iterator(bytecode_array(), zone()); in LivenessIsValid() 495 BytecodeLivenessState previous_liveness(bytecode_array()->register_count(), in LivenessIsValid() [all …]
|
| D | bytecode-analysis.h | 64 BytecodeAnalysis(Handle<BytecodeArray> bytecode_array, Zone* zone, 104 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } in bytecode_array() function
|
| D | bytecode-graph-builder.cc | 472 bytecode_array_(handle(shared_info->bytecode_array())), in BytecodeGraphBuilder() 474 handle(HandlerTable::cast(bytecode_array()->handler_table()))), in BytecodeGraphBuilder() 478 bytecode_array()->parameter_count(), in BytecodeGraphBuilder() 479 bytecode_array()->register_count(), shared_info)), in BytecodeGraphBuilder() 498 int params = bytecode_array()->parameter_count(); in GetNewTarget() 510 int params = bytecode_array()->parameter_count(); in GetFunctionContext() 555 int actual_parameter_count = bytecode_array()->parameter_count() + 4; in CreateGraph() 558 Environment env(this, bytecode_array()->register_count(), in CreateGraph() 559 bytecode_array()->parameter_count(), graph()->start(), in CreateGraph() 632 BytecodeAnalysis bytecode_analysis(bytecode_array(), local_zone(), in VisitBytecodes() [all …]
|
| D | osr.cc | 30 ? info->shared_info()->bytecode_array()->parameter_count() in OsrHelper() 34 ? info->shared_info()->bytecode_array()->register_count() + in OsrHelper()
|
| D | bytecode-graph-builder.h | 248 const Handle<BytecodeArray>& bytecode_array() const { in bytecode_array() function
|
| /external/v8/src/ |
| D | runtime-profiler.cc | 205 int level = shared->bytecode_array()->osr_loop_nesting_level(); in AttemptOnStackReplacement() 206 shared->bytecode_array()->set_osr_loop_nesting_level( in AttemptOnStackReplacement() 390 if (shared->bytecode_array()->Size() <= allowance) { in MaybeOSRIgnition() 403 if (shared->bytecode_array()->Size() > kMaxSizeOptIgnition) { in ShouldOptimizeIgnition() 427 shared->bytecode_array()->Size() < kMaxSizeEarlyOptIgnition) { in ShouldOptimizeIgnition()
|
| D | compilation-info.h | 92 Handle<BytecodeArray> bytecode_array() const { return bytecode_array_; } in bytecode_array() function 192 void SetBytecodeArray(Handle<BytecodeArray> bytecode_array) { in SetBytecodeArray() argument 193 bytecode_array_ = bytecode_array; in SetBytecodeArray()
|
| D | frames.cc | 1437 abstract_code = AbstractCode::cast(shared_info->bytecode_array()); in FRAME_SUMMARY_DISPATCH() 1578 BytecodeArray* bytecode = function()->shared()->bytecode_array(); in LookupExceptionHandlerInTable() 1620 void InterpretedFrame::PatchBytecodeArray(BytecodeArray* bytecode_array) { in PatchBytecodeArray() argument 1625 SetExpression(index, bytecode_array); in PatchBytecodeArray() 1649 AbstractCode::cast(function()->shared()->bytecode_array()); in Summarize()
|
| /external/v8/src/debug/ |
| D | debug-evaluate.cc | 522 Handle<BytecodeArray> bytecode_array(info->bytecode_array()); in FunctionHasNoSideEffect() local 523 if (FLAG_trace_side_effect_free_debug_evaluate) bytecode_array->Print(); in FunctionHasNoSideEffect() 524 for (interpreter::BytecodeArrayIterator it(bytecode_array); !it.done(); in FunctionHasNoSideEffect()
|
| D | debug.cc | 294 BytecodeArray* bytecode_array = debug_info_->OriginalBytecodeArray(); in GetDebugBreakType() local 296 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); in GetDebugBreakType() 325 BytecodeArray* bytecode_array = debug_info_->DebugBytecodeArray(); in SetDebugBreak() local 327 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); in SetDebugBreak() 331 bytecode_array->set(code_offset(), in SetDebugBreak() 339 BytecodeArray* bytecode_array = debug_info_->DebugBytecodeArray(); in ClearDebugBreak() local 341 bytecode_array->set(code_offset(), original->get(code_offset())); in ClearDebugBreak() 348 BytecodeArray* bytecode_array = debug_info_->DebugBytecodeArray(); in IsDebugBreak() local 350 interpreter::Bytecodes::FromByte(bytecode_array->get(code_offset())); in IsDebugBreak()
|
| /external/v8/src/profiler/ |
| D | tick-sample.cc | 258 i::Address bytecode_array = in GetStackSample() local 261 frames[i++] = bytecode_array + i::BytecodeArray::kHeaderSize + in GetStackSample()
|
| /external/v8/src/heap/ |
| D | heap.cc | 2371 ALLOCATE_VARSIZE_MAP(BYTECODE_ARRAY_TYPE, bytecode_array) in CreateInitialMaps() 3451 AllocationResult Heap::CopyBytecodeArray(BytecodeArray* bytecode_array) { in CopyBytecodeArray() argument 3452 int size = BytecodeArray::SizeFor(bytecode_array->length()); in CopyBytecodeArray() 3461 copy->set_length(bytecode_array->length()); in CopyBytecodeArray() 3462 copy->set_frame_size(bytecode_array->frame_size()); in CopyBytecodeArray() 3463 copy->set_parameter_count(bytecode_array->parameter_count()); in CopyBytecodeArray() 3464 copy->set_constant_pool(bytecode_array->constant_pool()); in CopyBytecodeArray() 3465 copy->set_handler_table(bytecode_array->handler_table()); in CopyBytecodeArray() 3466 copy->set_source_position_table(bytecode_array->source_position_table()); in CopyBytecodeArray() 3467 copy->set_interrupt_budget(bytecode_array->interrupt_budget()); in CopyBytecodeArray() [all …]
|