Home
last modified time | relevance | path

Searched refs:operand_index (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/interpreter/
Dbytecode-array-iterator.cc63 int operand_index, OperandType operand_type) const { in GetUnsignedOperand() argument
64 DCHECK_GE(operand_index, 0); in GetUnsignedOperand()
65 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetUnsignedOperand()
67 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetUnsignedOperand()
72 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetUnsignedOperand()
79 int operand_index, OperandType operand_type) const { in GetSignedOperand() argument
80 DCHECK_GE(operand_index, 0); in GetSignedOperand()
81 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetSignedOperand()
83 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetSignedOperand()
88 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetSignedOperand()
[all …]
Dbytecode-array-iterator.h34 uint32_t GetFlagOperand(int operand_index) const;
35 uint32_t GetUnsignedImmediateOperand(int operand_index) const;
36 int32_t GetImmediateOperand(int operand_index) const;
37 uint32_t GetIndexOperand(int operand_index) const;
38 uint32_t GetRegisterCountOperand(int operand_index) const;
39 Register GetRegisterOperand(int operand_index) const;
40 int GetRegisterOperandRange(int operand_index) const;
41 Runtime::FunctionId GetRuntimeIdOperand(int operand_index) const;
42 Runtime::FunctionId GetIntrinsicIdOperand(int operand_index) const;
43 Handle<Object> GetConstantForIndexOperand(int operand_index) const;
[all …]
Dinterpreter-assembler.cc206 Node* InterpreterAssembler::OperandOffset(int operand_index) { in OperandOffset() argument
208 Bytecodes::GetOperandOffset(bytecode_, operand_index, operand_scale())); in OperandOffset()
211 Node* InterpreterAssembler::BytecodeOperandUnsignedByte(int operand_index) { in BytecodeOperandUnsignedByte() argument
212 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandUnsignedByte()
214 bytecode_, operand_index, operand_scale())); in BytecodeOperandUnsignedByte()
215 Node* operand_offset = OperandOffset(operand_index); in BytecodeOperandUnsignedByte()
220 Node* InterpreterAssembler::BytecodeOperandSignedByte(int operand_index) { in BytecodeOperandSignedByte() argument
221 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandSignedByte()
223 bytecode_, operand_index, operand_scale())); in BytecodeOperandSignedByte()
224 Node* operand_offset = OperandOffset(operand_index); in BytecodeOperandSignedByte()
[all …]
Dinterpreter-assembler.h29 compiler::Node* BytecodeOperandCount(int operand_index);
32 compiler::Node* BytecodeOperandFlag(int operand_index);
35 compiler::Node* BytecodeOperandIdx(int operand_index);
38 compiler::Node* BytecodeOperandUImm(int operand_index);
41 compiler::Node* BytecodeOperandImm(int operand_index);
44 compiler::Node* BytecodeOperandReg(int operand_index);
47 compiler::Node* BytecodeOperandRuntimeId(int operand_index);
50 compiler::Node* BytecodeOperandIntrinsicId(int operand_index);
229 compiler::Node* OperandOffset(int operand_index);
239 compiler::Node* BytecodeOperandUnsignedByte(int operand_index);
[all …]
Dbytecode-pipeline.h280 INLINE(void UpdateScaleForOperand(int operand_index, uint32_t operand)) { in NON_EXPORTED_BASE()
281 if (Bytecodes::OperandIsScalableSignedByte(bytecode(), operand_index)) { in NON_EXPORTED_BASE()
285 operand_index)) { in NON_EXPORTED_BASE()
291 INLINE(void SetOperand(int operand_index, uint32_t operand)) { in NON_EXPORTED_BASE()
292 operands_[operand_index] = operand; in NON_EXPORTED_BASE()
293 UpdateScaleForOperand(operand_index, operand); in NON_EXPORTED_BASE()
Dbytecodes.cc113 for (int operand_index = 0; operand_index < i; ++operand_index) { in GetOperandOffset() local
115 GetOperandSize(bytecode, operand_index, operand_scale); in GetOperandOffset()
Dbytecodes.h574 int operand_index) { in OperandIsScalableSignedByte() argument
576 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] == in OperandIsScalableSignedByte()
581 int operand_index) { in OperandIsScalableUnsignedByte() argument
583 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] == in OperandIsScalableUnsignedByte()
587 static bool OperandIsScalable(Bytecode bytecode, int operand_index) { in OperandIsScalable() argument
588 return OperandIsScalableSignedByte(bytecode, operand_index) || in OperandIsScalable()
589 OperandIsScalableUnsignedByte(bytecode, operand_index); in OperandIsScalable()
/external/v8/src/runtime/
Druntime-interpreter.cc76 for (int operand_index = 0; operand_index < operand_count; operand_index++) { in PrintRegisters() local
78 interpreter::Bytecodes::GetOperandType(bytecode, operand_index); in PrintRegisters()
85 bytecode_iterator.GetRegisterOperand(operand_index); in PrintRegisters()
86 int range = bytecode_iterator.GetRegisterOperandRange(operand_index); in PrintRegisters()
/external/v8/src/crankshaft/
Dhydrogen-environment-liveness.cc38 int operand_index = simulate->ToOperandIndex(index); in ZapEnvironmentSlot() local
39 if (operand_index == -1) { in ZapEnvironmentSlot()
42 simulate->SetOperandAt(operand_index, graph()->GetConstantOptimizedOut()); in ZapEnvironmentSlot()
Dlithium-allocator.cc581 int operand_index = iterator.Current(); in AddInitialIntervals() local
582 LiveRange* range = LiveRangeFor(operand_index); in AddInitialIntervals()
1249 int operand_index = iterator.Current(); in ResolveControlFlow() local
1252 LiveRange* cur_range = LiveRangeFor(operand_index); in ResolveControlFlow()
1323 int operand_index = iterator.Current(); in BuildLiveRanges() local
1324 LiveRange* range = LiveRangeFor(operand_index); in BuildLiveRanges()
1340 int operand_index = iterator.Current(); in BuildLiveRanges() local
1345 PrintF("Value %d used before first definition!\n", operand_index); in BuildLiveRanges()
1346 LiveRange* range = LiveRangeFor(operand_index); in BuildLiveRanges()
/external/v8/src/compiler/
Dregister-allocator.cc219 LiveRangeBoundArray* ArrayFor(int operand_index) { in ArrayFor() argument
220 DCHECK(operand_index < bounds_length_); in ArrayFor()
221 TopLevelLiveRange* range = data_->live_ranges()[operand_index]; in ArrayFor()
223 LiveRangeBoundArray* array = &bounds_[operand_index]; in ArrayFor()
1477 int operand_index = iterator.Current(); in ExistsUseWithoutDefinition() local
1479 operand_index); in ExistsUseWithoutDefinition()
1480 LiveRange* range = GetOrCreateLiveRangeFor(operand_index); in ExistsUseWithoutDefinition()
1886 int operand_index = iterator.Current(); in AddInitialIntervals() local
1887 TopLevelLiveRange* range = data()->GetOrCreateLiveRangeFor(operand_index); in AddInitialIntervals()
2364 int operand_index = iterator.Current(); in ProcessLoopHeader() local
[all …]
Dbytecode-graph-builder.h164 BinaryOperationHint GetBinaryOperationHint(int operand_index);
Dbytecode-graph-builder.cc1428 int operand_index) { in GetBinaryOperationHint() argument
1430 bytecode_iterator().GetIndexOperand(operand_index)); in GetBinaryOperationHint()