Home
last modified time | relevance | path

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

/external/v8/src/interpreter/
Dbytecode-array-accessor.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-accessor.h35 uint32_t GetFlagOperand(int operand_index) const;
36 uint32_t GetUnsignedImmediateOperand(int operand_index) const;
37 int32_t GetImmediateOperand(int operand_index) const;
38 uint32_t GetIndexOperand(int operand_index) const;
39 uint32_t GetRegisterCountOperand(int operand_index) const;
40 Register GetRegisterOperand(int operand_index) const;
41 int GetRegisterOperandRange(int operand_index) const;
42 Runtime::FunctionId GetRuntimeIdOperand(int operand_index) const;
43 Runtime::FunctionId GetIntrinsicIdOperand(int operand_index) const;
44 Handle<Object> GetConstantForIndexOperand(int operand_index) const;
[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* BytecodeOperandIdxSmi(int operand_index);
41 compiler::Node* BytecodeOperandUImm(int operand_index);
44 compiler::Node* BytecodeOperandUImmWord(int operand_index);
47 compiler::Node* BytecodeOperandImm(int operand_index);
50 compiler::Node* BytecodeOperandImmIntPtr(int operand_index);
53 compiler::Node* BytecodeOperandImmSmi(int operand_index);
56 compiler::Node* BytecodeOperandReg(int operand_index);
[all …]
Dinterpreter-assembler.cc244 Node* InterpreterAssembler::OperandOffset(int operand_index) { in OperandOffset() argument
246 Bytecodes::GetOperandOffset(bytecode_, operand_index, operand_scale())); in OperandOffset()
249 Node* InterpreterAssembler::BytecodeOperandUnsignedByte(int operand_index) { in BytecodeOperandUnsignedByte() argument
250 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandUnsignedByte()
252 bytecode_, operand_index, operand_scale())); in BytecodeOperandUnsignedByte()
253 Node* operand_offset = OperandOffset(operand_index); in BytecodeOperandUnsignedByte()
258 Node* InterpreterAssembler::BytecodeOperandSignedByte(int operand_index) { in BytecodeOperandSignedByte() argument
259 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandSignedByte()
261 bytecode_, operand_index, operand_scale())); in BytecodeOperandSignedByte()
262 Node* operand_offset = OperandOffset(operand_index); in BytecodeOperandSignedByte()
[all …]
Dbytecode-pipeline.h350 INLINE(void UpdateScaleForOperand(int operand_index, uint32_t operand)) { in NON_EXPORTED_BASE()
351 if (Bytecodes::OperandIsScalableSignedByte(bytecode(), operand_index)) { in NON_EXPORTED_BASE()
355 operand_index)) { in NON_EXPORTED_BASE()
361 INLINE(void SetOperand(int operand_index, uint32_t operand)) { in NON_EXPORTED_BASE()
362 operands_[operand_index] = operand; in NON_EXPORTED_BASE()
363 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.h673 int operand_index) { in OperandIsScalableSignedByte() argument
675 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] == in OperandIsScalableSignedByte()
680 int operand_index) { in OperandIsScalableUnsignedByte() argument
682 return kOperandTypeInfos[static_cast<size_t>(bytecode)][operand_index] == in OperandIsScalableUnsignedByte()
686 static bool OperandIsScalable(Bytecode bytecode, int operand_index) { in OperandIsScalable() argument
687 return OperandIsScalableSignedByte(bytecode, operand_index) || in OperandIsScalable()
688 OperandIsScalableUnsignedByte(bytecode, operand_index); in OperandIsScalable()
/external/v8/src/runtime/
Druntime-interpreter.cc81 for (int operand_index = 0; operand_index < operand_count; operand_index++) { in PrintRegisters() local
83 interpreter::Bytecodes::GetOperandType(bytecode, operand_index); in PrintRegisters()
90 bytecode_iterator.GetRegisterOperand(operand_index); in PrintRegisters()
91 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.cc582 int operand_index = iterator.Current(); in AddInitialIntervals() local
583 LiveRange* range = LiveRangeFor(operand_index); in AddInitialIntervals()
1250 int operand_index = iterator.Current(); in ResolveControlFlow() local
1253 LiveRange* cur_range = LiveRangeFor(operand_index); in ResolveControlFlow()
1324 int operand_index = iterator.Current(); in BuildLiveRanges() local
1325 LiveRange* range = LiveRangeFor(operand_index); in BuildLiveRanges()
1341 int operand_index = iterator.Current(); in BuildLiveRanges() local
1346 PrintF("Value %d used before first definition!\n", operand_index); in BuildLiveRanges()
1347 LiveRange* range = LiveRangeFor(operand_index); in BuildLiveRanges()
/external/v8/src/compiler/
Dregister-allocator.cc223 LiveRangeBoundArray* ArrayFor(int operand_index) { in ArrayFor() argument
224 DCHECK(operand_index < bounds_length_); in ArrayFor()
225 TopLevelLiveRange* range = data_->live_ranges()[operand_index]; in ArrayFor()
227 LiveRangeBoundArray* array = &bounds_[operand_index]; in ArrayFor()
1481 int operand_index = iterator.Current(); in ExistsUseWithoutDefinition() local
1483 operand_index); in ExistsUseWithoutDefinition()
1484 LiveRange* range = GetOrCreateLiveRangeFor(operand_index); in ExistsUseWithoutDefinition()
1890 int operand_index = iterator.Current(); in AddInitialIntervals() local
1891 TopLevelLiveRange* range = data()->GetOrCreateLiveRangeFor(operand_index); in AddInitialIntervals()
2368 int operand_index = iterator.Current(); in ProcessLoopHeader() local
[all …]
Dbytecode-graph-builder.h176 BinaryOperationHint GetBinaryOperationHint(int operand_index);
Dbytecode-graph-builder.cc1553 int operand_index) { in GetBinaryOperationHint() argument
1555 bytecode_iterator().GetIndexOperand(operand_index)); in GetBinaryOperationHint()