Home
last modified time | relevance | path

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

/external/v8/src/interpreter/
Dbytecode-array-iterator.cc40 uint32_t BytecodeArrayIterator::GetRawOperand(int operand_index, in GetRawOperand() argument
42 DCHECK_GE(operand_index, 0); in GetRawOperand()
43 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetRawOperand()
45 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetRawOperand()
48 Bytecodes::GetOperandOffset(current_bytecode(), operand_index); in GetRawOperand()
61 int8_t BytecodeArrayIterator::GetImmediateOperand(int operand_index) const { in GetImmediateOperand()
62 uint32_t operand = GetRawOperand(operand_index, OperandType::kImm8); in GetImmediateOperand()
67 int BytecodeArrayIterator::GetCountOperand(int operand_index) const { in GetCountOperand()
69 Bytecodes::GetOperandSize(current_bytecode(), operand_index); in GetCountOperand()
72 uint32_t operand = GetRawOperand(operand_index, type); in GetCountOperand()
[all …]
Dbytecode-array-iterator.h29 int8_t GetImmediateOperand(int operand_index) const;
30 int GetIndexOperand(int operand_index) const;
31 int GetCountOperand(int operand_index) const;
32 Register GetRegisterOperand(int operand_index) const;
33 Handle<Object> GetConstantForIndexOperand(int operand_index) const;
37 uint32_t GetRawOperand(int operand_index, OperandType operand_type) const;
Dbytecode-array-builder.cc30 MUST_USE_RESULT uint32_t GetOperand(int operand_index) const { in GetOperand()
33 DCHECK_GE(operand_index, 0); in GetOperand()
34 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(bytecode)); in GetOperand()
37 Bytecodes::GetOperandOffset(bytecode, operand_index); in GetOperand()
38 OperandSize size = Bytecodes::GetOperandSize(bytecode, operand_index); in GetOperand()
54 Handle<Object> GetConstantForIndexOperand(int operand_index) const { in GetConstantForIndexOperand()
56 GetOperand(operand_index)); in GetConstantForIndexOperand()
1232 bool BytecodeArrayBuilder::OperandIsValid(Bytecode bytecode, int operand_index, in OperandIsValid() argument
1234 OperandType operand_type = Bytecodes::GetOperandType(bytecode, operand_index); in OperandIsValid()
Dbytecode-array-builder.h297 bool OperandIsValid(Bytecode bytecode, int operand_index,
/external/v8/src/compiler/
Dinterpreter-assembler.cc157 Node* InterpreterAssembler::BytecodeOperand(int operand_index) { in BytecodeOperand() argument
158 DCHECK_LT(operand_index, interpreter::Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperand()
160 interpreter::Bytecodes::GetOperandSize(bytecode_, operand_index)); in BytecodeOperand()
165 bytecode_, operand_index)))); in BytecodeOperand()
169 Node* InterpreterAssembler::BytecodeOperandSignExtended(int operand_index) { in BytecodeOperandSignExtended() argument
170 DCHECK_LT(operand_index, interpreter::Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandSignExtended()
172 interpreter::Bytecodes::GetOperandSize(bytecode_, operand_index)); in BytecodeOperandSignExtended()
177 bytecode_, operand_index)))); in BytecodeOperandSignExtended()
186 Node* InterpreterAssembler::BytecodeOperandShort(int operand_index) { in BytecodeOperandShort() argument
187 DCHECK_LT(operand_index, interpreter::Bytecodes::NumberOfOperands(bytecode_)); in BytecodeOperandShort()
[all …]
Dinterpreter-assembler.h43 Node* BytecodeOperandCount(int operand_index);
46 Node* BytecodeOperandIdx(int operand_index);
49 Node* BytecodeOperandImm(int operand_index);
52 Node* BytecodeOperandReg(int operand_index);
185 Node* BytecodeOperand(int operand_index);
186 Node* BytecodeOperandSignExtended(int operand_index);
187 Node* BytecodeOperandShort(int operand_index);
188 Node* BytecodeOperandShortSignExtended(int operand_index);
Dregister-allocator.cc1395 int operand_index = iterator.Current(); in ExistsUseWithoutDefinition() local
1397 operand_index); in ExistsUseWithoutDefinition()
1398 LiveRange* range = GetOrCreateLiveRangeFor(operand_index); in ExistsUseWithoutDefinition()
1788 int operand_index = iterator.Current(); in AddInitialIntervals() local
1789 TopLevelLiveRange* range = data()->GetOrCreateLiveRangeFor(operand_index); in AddInitialIntervals()
2109 int operand_index = iterator.Current(); in ProcessLoopHeader() local
2110 TopLevelLiveRange* range = data()->GetOrCreateLiveRangeFor(operand_index); in ProcessLoopHeader()
3315 LiveRangeBoundArray* ArrayFor(int operand_index) { in ArrayFor() argument
3316 DCHECK(operand_index < bounds_length_); in ArrayFor()
3317 TopLevelLiveRange* range = data_->live_ranges()[operand_index]; in ArrayFor()
[all …]
/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()->GetConstantUndefined()); in ZapEnvironmentSlot()
Dlithium-allocator.cc580 int operand_index = iterator.Current(); in AddInitialIntervals() local
581 LiveRange* range = LiveRangeFor(operand_index); in AddInitialIntervals()
1248 int operand_index = iterator.Current(); in ResolveControlFlow() local
1251 LiveRange* cur_range = LiveRangeFor(operand_index); in ResolveControlFlow()
1322 int operand_index = iterator.Current(); in BuildLiveRanges() local
1323 LiveRange* range = LiveRangeFor(operand_index); in BuildLiveRanges()
1339 int operand_index = iterator.Current(); in BuildLiveRanges() local
1344 PrintF("Value %d used before first definition!\n", operand_index); in BuildLiveRanges()
1345 LiveRange* range = LiveRangeFor(operand_index); in BuildLiveRanges()
/external/v8/test/cctest/interpreter/
Dtest-bytecode-generator.cc223 int operand_index = i; in CheckBytecodeArrayEqual() local
233 static_cast<uint32_t>(expected.bytecode[operand_index]); in CheckBytecodeArrayEqual()
237 ReadUnalignedUInt16(&expected.bytecode[operand_index]); in CheckBytecodeArrayEqual()