Home
last modified time | relevance | path

Searched refs:slot_index (Results 1 – 25 of 38) sorted by relevance

12

/third_party/node/deps/v8/src/wasm/
Djump-table-assembler.h71 static uint32_t JumpSlotIndexToOffset(uint32_t slot_index) { in JumpSlotIndexToOffset() argument
72 uint32_t line_index = slot_index / kJumpTableSlotsPerLine; in JumpSlotIndexToOffset()
74 (slot_index % kJumpTableSlotsPerLine) * kJumpTableSlotSize; in JumpSlotIndexToOffset()
86 static uint32_t FarJumpSlotIndexToOffset(uint32_t slot_index) { in FarJumpSlotIndexToOffset() argument
87 return slot_index * kFarJumpTableSlotSize; in FarJumpSlotIndexToOffset()
105 static uint32_t LazyCompileSlotIndexToOffset(uint32_t slot_index) { in LazyCompileSlotIndexToOffset() argument
106 return slot_index * kLazyCompileTableSlotSize; in LazyCompileSlotIndexToOffset()
120 for (uint32_t slot_index = 0; slot_index < num_slots; ++slot_index) { in GenerateLazyCompileTable() local
121 DCHECK_EQ(slot_index * kLazyCompileTableSlotSize, jtasm.pc_offset()); in GenerateLazyCompileTable()
122 jtasm.EmitLazyCompileJumpSlot(slot_index + num_imported_functions, in GenerateLazyCompileTable()
Dwasm-code-manager.cc1182 uint32_t slot_index = declared_function_index(module(), func_index); in UseLazyStub() local
1183 DCHECK_NULL(code_table_[slot_index]); in UseLazyStub()
1186 JumpTableAssembler::LazyCompileSlotIndexToOffset(slot_index); in UseLazyStub()
1187 PatchJumpTablesLocked(slot_index, lazy_compile_target); in UseLazyStub()
1526 void NativeModule::PatchJumpTablesLocked(uint32_t slot_index, Address target) { in PatchJumpTablesLocked() argument
1532 PatchJumpTableLocked(code_space_data, slot_index, target); in PatchJumpTablesLocked()
1537 uint32_t slot_index, Address target) { in PatchJumpTableLocked() argument
1559 DCHECK_LT(slot_index, module_->num_declared_functions); in PatchJumpTableLocked()
1562 JumpTableAssembler::JumpSlotIndexToOffset(slot_index); in PatchJumpTableLocked()
1564 WasmCode::kRuntimeStubCount + slot_index); in PatchJumpTableLocked()
[all …]
Dmodule-compiler.cc3369 int slot_index = function_index - imported; in InitializeRecompilation() local
3370 auto& progress = compilation_progress_[slot_index]; in InitializeRecompilation()
3542 int slot_index = in OnFinishedUnits() local
3544 uint8_t function_progress = compilation_progress_[slot_index]; in OnFinishedUnits()
3577 compilation_progress_[slot_index] = MissingRecompilationField::update( in OnFinishedUnits()
3578 compilation_progress_[slot_index], false); in OnFinishedUnits()
3587 compilation_progress_[slot_index] = ReachedTierField::update( in OnFinishedUnits()
3588 compilation_progress_[slot_index], code->tier()); in OnFinishedUnits()
Dwasm-code-manager.h888 void PatchJumpTablesLocked(uint32_t slot_index, Address target);
889 void PatchJumpTableLocked(const CodeSpaceData&, uint32_t slot_index,
/third_party/node/deps/v8/src/objects/
Dcontexts.cc85 int slot_index = context.scope_info().ContextSlotIndex(name, result); in Lookup() local
86 if (slot_index >= 0) { in Lookup()
88 result->slot_index = slot_index; in Lookup()
253 *index = r.slot_index; in Lookup()
315 int slot_index = scope_info.ContextSlotIndex(name, &lookup_result); in Lookup() local
316 DCHECK(slot_index < 0 || slot_index >= MIN_CONTEXT_SLOTS); in Lookup()
317 if (slot_index >= 0) { in Lookup()
324 context->get(slot_index).IsTheHole(isolate)) { in Lookup()
331 slot_index, static_cast<uint8_t>(lookup_result.mode)); in Lookup()
333 *index = slot_index; in Lookup()
Ddebug-objects.cc367 void CoverageInfo::InitializeSlot(int slot_index, int from_pos, int to_pos) { in InitializeSlot() argument
368 set_slots_start_source_position(slot_index, from_pos); in InitializeSlot()
369 set_slots_end_source_position(slot_index, to_pos); in InitializeSlot()
370 ResetBlockCount(slot_index); in InitializeSlot()
371 set_slots_padding(slot_index, 0); in InitializeSlot()
374 void CoverageInfo::ResetBlockCount(int slot_index) { in ResetBlockCount() argument
375 set_slots_block_count(slot_index, 0); in ResetBlockCount()
Ddebug-objects.h178 void InitializeSlot(int slot_index, int start_pos, int end_pos);
179 void ResetBlockCount(int slot_index);
Dscope-info.h39 int slot_index; member
/third_party/curl/lib/
Dhash.c301 iter->slot_index = 0; in Curl_hash_start_iterate()
320 for(i = iter->slot_index; i < h->slots; i++) { in Curl_hash_next_element()
323 iter->slot_index = i + 1; in Curl_hash_next_element()
353 if(iter.slot_index != last_index) {
354 fprintf(stderr, "index %d:", iter.slot_index);
358 last_index = iter.slot_index;
Dhash.h70 int slot_index; member
/third_party/node/deps/v8/src/interpreter/
Dinterpreter-generator.cc257 TNode<IntPtrT> slot_index = Signed(BytecodeOperandIdx(1)); in IGNITION_HANDLER() local
260 TNode<Object> result = LoadContextElement(slot_context, slot_index); in IGNITION_HANDLER()
271 TNode<IntPtrT> slot_index = Signed(BytecodeOperandIdx(1)); in IGNITION_HANDLER() local
274 TNode<Object> result = LoadContextElement(slot_context, slot_index); in IGNITION_HANDLER()
283 TNode<IntPtrT> slot_index = Signed(BytecodeOperandIdx(0)); in IGNITION_HANDLER() local
285 TNode<Object> result = LoadContextElement(slot_context, slot_index); in IGNITION_HANDLER()
294 TNode<IntPtrT> slot_index = Signed(BytecodeOperandIdx(0)); in IGNITION_HANDLER() local
296 TNode<Object> result = LoadContextElement(slot_context, slot_index); in IGNITION_HANDLER()
308 TNode<IntPtrT> slot_index = Signed(BytecodeOperandIdx(1)); in IGNITION_HANDLER() local
311 StoreContextElement(slot_context, slot_index, value); in IGNITION_HANDLER()
[all …]
Dbytecode-array-builder.cc747 Register context, int slot_index, int depth, in LoadContextSlot() argument
751 OutputLdaImmutableCurrentContextSlot(slot_index); in LoadContextSlot()
754 OutputLdaCurrentContextSlot(slot_index); in LoadContextSlot()
757 OutputLdaImmutableContextSlot(context, slot_index, depth); in LoadContextSlot()
760 OutputLdaContextSlot(context, slot_index, depth); in LoadContextSlot()
766 int slot_index, in StoreContextSlot() argument
769 OutputStaCurrentContextSlot(slot_index); in StoreContextSlot()
771 OutputStaContextSlot(context, slot_index, depth); in StoreContextSlot()
791 const AstRawString* name, TypeofMode typeof_mode, int slot_index, in LoadLookupContextSlot() argument
796 OutputLdaLookupContextSlotInsideTypeof(name_index, slot_index, depth); in LoadLookupContextSlot()
[all …]
Dbytecode-array-builder.h109 BytecodeArrayBuilder& LoadContextSlot(Register context, int slot_index,
115 BytecodeArrayBuilder& StoreContextSlot(Register context, int slot_index,
226 int slot_index, int depth);
Dbytecode-generator.cc956 void Put(SlotKind slot_kind, Variable* variable, int slot_index) { in Put() argument
957 PutImpl(slot_kind, 0, variable, slot_index); in Put()
959 void Put(SlotKind slot_kind, AstNode* node, int slot_index) { in Put() argument
960 PutImpl(slot_kind, 0, node, slot_index); in Put()
963 int slot_index) { in Put() argument
964 PutImpl(slot_kind, variable_index, name, slot_index); in Put()
966 void Put(SlotKind slot_kind, const AstRawString* name, int slot_index) { in Put() argument
967 PutImpl(slot_kind, 0, name, slot_index); in Put()
988 int slot_index) { in PutImpl() argument
990 auto entry = std::make_pair(key, slot_index); in PutImpl()
/third_party/node/deps/v8/src/maglev/
Dmaglev-graph-builder.cc144 FeedbackSlot slot_index = GetSlotOperand(0); in BuildGenericUnaryOperationNode() local
147 {value}, compiler::FeedbackSource{feedback(), slot_index})); in BuildGenericUnaryOperationNode()
154 FeedbackSlot slot_index = GetSlotOperand(1); in BuildGenericBinaryOperationNode() local
156 {left, right}, compiler::FeedbackSource{feedback(), slot_index})); in BuildGenericBinaryOperationNode()
164 FeedbackSlot slot_index = GetSlotOperand(1); in BuildGenericBinarySmiOperationNode() local
166 {left, right}, compiler::FeedbackSource{feedback(), slot_index})); in BuildGenericBinarySmiOperationNode()
270 int slot_index = iterator_.GetIndexOperand(0); in MAGLEV_UNIMPLEMENTED_BYTECODE() local
277 Context::OffsetOfElementAt(slot_index), FieldIndex::kTagged)))); in MAGLEV_UNIMPLEMENTED_BYTECODE()
/third_party/node/deps/v8/src/debug/
Ddebug-stack-trace-iterator.cc104 int slot_index = context->scope_info().ContextSlotIndex( in GetReceiver() local
106 if (slot_index < 0) return v8::MaybeLocal<v8::Value>(); in GetReceiver()
107 Handle<Object> value = handle(context->get(slot_index), isolate_); in GetReceiver()
Ddebug-scopes.cc1066 int slot_index = context_->scope_info().ContextSlotIndex(variable_name); in SetContextVariableValue() local
1067 if (slot_index < 0) return false; in SetContextVariableValue()
1068 context_->set(slot_index, *new_value); in SetContextVariableValue()
1102 script_context->set(lookup_result.slot_index, *new_value); in SetScriptVariableValue()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_query.c375 int slot_index = -1; in allocate_query() local
394 slot_index = allocate_query_slot(svga, alloc_entry); in allocate_query()
396 if (slot_index == -1) { in allocate_query()
403 slot_index = allocate_query_slot(svga, alloc_entry); in allocate_query()
406 assert(slot_index != -1); in allocate_query()
407 offset = slot_index * len + alloc_entry->start_offset; in allocate_query()
421 unsigned slot_index; in deallocate_query() local
431 slot_index = (offset - alloc_entry->start_offset) / in deallocate_query()
433 deallocate_query_slot(svga, alloc_entry, slot_index); in deallocate_query()
/third_party/node/deps/v8/src/deoptimizer/
Dtranslated-state.h453 static uint32_t GetUInt32Slot(Address fp, int slot_index);
454 static uint64_t GetUInt64Slot(Address fp, int slot_index);
455 static Float32 GetFloatSlot(Address fp, int slot_index);
456 static Float64 GetDoubleSlot(Address fp, int slot_index);
/third_party/node/deps/v8/src/compiler/
Dprocessed-feedback.h76 GlobalAccessFeedback(ContextRef script_context, int slot_index,
87 int slot_index() const;
Dlinkage.h354 int GetStackIndexFromSlot(int slot_index) const { in NON_EXPORTED_BASE()
357 return -slot_index - 1; in NON_EXPORTED_BASE()
359 return slot_index + static_cast<int>(ParameterSlotCount()); in NON_EXPORTED_BASE()
Djs-heap-broker.cc292 int slot_index, bool immutable, in GlobalAccessFeedback() argument
296 index_and_immutable_(FeedbackNexus::SlotIndexBits::encode(slot_index) | in GlobalAccessFeedback()
298 DCHECK_EQ(this->slot_index(), slot_index); in GlobalAccessFeedback()
320 int GlobalAccessFeedback::slot_index() const { in slot_index() function in v8::internal::compiler::GlobalAccessFeedback
335 return script_context().get(slot_index()); in GetConstantHint()
/third_party/node/deps/v8/src/torque/
Dtypes.cc608 size_t slot_index = offset / TargetArchitecture::TaggedSize(); in ComputeSlotKindsHelper() local
634 DCHECK(slots->at(slot_index) == ObjectSlotKind::kNoPointer); in ComputeSlotKindsHelper()
635 slots->at(slot_index) = kind; in ComputeSlotKindsHelper()
/third_party/node/deps/v8/src/execution/
Dframes.cc1934 int OptimizedFrame::StackSlotOffsetRelativeToFp(int slot_index) { in StackSlotOffsetRelativeToFp() argument
1936 ((slot_index + 1) * kSystemPointerSize); in StackSlotOffsetRelativeToFp()
2368 int slot_index = Context::MIN_CONTEXT_SLOTS + it->index(); in Print() local
2369 if (slot_index < context.length()) { in Print()
2370 accumulator->Add("%o", context.get(slot_index)); in Print()
/third_party/node/deps/v8/src/ic/
Dic.cc538 Handle<Object> result(script_context->get(lookup_result.slot_index), in Load()
556 lookup_result.context_index, lookup_result.slot_index, in Load()
1704 Handle<Object> previous_value(script_context->get(lookup_result.slot_index), in Store()
1720 lookup_result.context_index, lookup_result.slot_index, in Store()
1732 script_context->set(lookup_result.slot_index, *value); in Store()
2976 Handle<Object> previous_value(script_context->get(lookup_result.slot_index), in RUNTIME_FUNCTION()
2985 script_context->set(lookup_result.slot_index, *value); in RUNTIME_FUNCTION()

12