Home
last modified time | relevance | path

Searched refs:operand_index (Results 1 - 25 of 113) sorted by relevance

12345

/third_party/node/deps/v8/src/interpreter/
H A Dbytecode-array-iterator.cc57 int operand_index, OperandType operand_type) const { in GetUnsignedOperand()
58 DCHECK_GE(operand_index, 0); in GetUnsignedOperand()
59 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetUnsignedOperand()
61 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetUnsignedOperand()
65 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetUnsignedOperand()
72 int operand_index, OperandType operand_type) const { in GetSignedOperand()
73 DCHECK_GE(operand_index, 0); in GetSignedOperand()
74 DCHECK_LT(operand_index, Bytecodes::NumberOfOperands(current_bytecode())); in GetSignedOperand()
76 Bytecodes::GetOperandType(current_bytecode(), operand_index)); in GetSignedOperand()
80 Bytecodes::GetOperandOffset(current_bytecode(), operand_index, in GetSignedOperand()
56 GetUnsignedOperand( int operand_index, OperandType operand_type) const GetUnsignedOperand() argument
71 GetSignedOperand( int operand_index, OperandType operand_type) const GetSignedOperand() argument
216 GetConstantForIndexOperand( int operand_index, IsolateT* isolate) const GetConstantForIndexOperand() argument
[all...]
H A Dinterpreter-assembler.h29 // |operand_index| in the current bytecode.
30 TNode<Uint32T> BytecodeOperandCount(int operand_index);
31 // Returns the 32-bit unsigned flag for bytecode operand |operand_index|
33 TNode<Uint32T> BytecodeOperandFlag(int operand_index);
35 // |operand_index| in the current bytecode.
36 TNode<Uint32T> BytecodeOperandIdxInt32(int operand_index);
38 // |operand_index| in the current bytecode.
39 TNode<UintPtrT> BytecodeOperandIdx(int operand_index);
40 // Returns the smi index immediate for bytecode operand |operand_index|
42 TNode<Smi> BytecodeOperandIdxSmi(int operand_index);
[all...]
H A Dinterpreter-assembler.cc243 int operand_index) { in LoadRegisterAtOperandIndex()
244 return LoadRegister(BytecodeOperandReg(operand_index)); in LoadRegisterAtOperandIndex()
248 InterpreterAssembler::LoadRegisterPairAtOperandIndex(int operand_index) { in LoadRegisterPairAtOperandIndex() argument
250 Bytecodes::GetOperandType(bytecode_, operand_index)); in LoadRegisterPairAtOperandIndex()
251 TNode<IntPtrT> first_reg_index = BytecodeOperandReg(operand_index); in LoadRegisterPairAtOperandIndex()
258 InterpreterAssembler::GetRegisterListAtOperandIndex(int operand_index) { in GetRegisterListAtOperandIndex() argument
260 Bytecodes::GetOperandType(bytecode_, operand_index))); in GetRegisterListAtOperandIndex()
262 Bytecodes::GetOperandType(bytecode_, operand_index + 1)); in GetRegisterListAtOperandIndex()
263 TNode<IntPtrT> base_reg = RegisterLocation(BytecodeOperandReg(operand_index)); in GetRegisterListAtOperandIndex()
264 TNode<Uint32T> reg_count = BytecodeOperandCount(operand_index in GetRegisterListAtOperandIndex()
242 LoadRegisterAtOperandIndex( int operand_index) LoadRegisterAtOperandIndex() argument
325 StoreRegisterAtOperandIndex(TNode<Object> value, int operand_index) StoreRegisterAtOperandIndex() argument
330 StoreRegisterPairAtOperandIndex(TNode<Object> value1, TNode<Object> value2, int operand_index) StoreRegisterPairAtOperandIndex() argument
341 StoreRegisterTripleAtOperandIndex( TNode<Object> value1, TNode<Object> value2, TNode<Object> value3, int operand_index) StoreRegisterTripleAtOperandIndex() argument
359 OperandOffset(int operand_index) OperandOffset() argument
364 BytecodeOperandUnsignedByte( int operand_index) BytecodeOperandUnsignedByte() argument
374 BytecodeOperandSignedByte( int operand_index) BytecodeOperandSignedByte() argument
436 BytecodeOperandUnsignedShort( int operand_index) BytecodeOperandUnsignedShort() argument
454 BytecodeOperandSignedShort( int operand_index) BytecodeOperandSignedShort() argument
472 BytecodeOperandUnsignedQuad( int operand_index) BytecodeOperandUnsignedQuad() argument
489 BytecodeOperandSignedQuad( int operand_index) BytecodeOperandSignedQuad() argument
506 BytecodeSignedOperand( int operand_index, OperandSize operand_size) BytecodeSignedOperand() argument
522 BytecodeUnsignedOperand( int operand_index, OperandSize operand_size) BytecodeUnsignedOperand() argument
538 BytecodeOperandCount(int operand_index) BytecodeOperandCount() argument
546 BytecodeOperandFlag(int operand_index) BytecodeOperandFlag() argument
555 BytecodeOperandUImm(int operand_index) BytecodeOperandUImm() argument
563 BytecodeOperandUImmWord( int operand_index) BytecodeOperandUImmWord() argument
568 BytecodeOperandUImmSmi(int operand_index) BytecodeOperandUImmSmi() argument
572 BytecodeOperandImm(int operand_index) BytecodeOperandImm() argument
580 BytecodeOperandImmIntPtr( int operand_index) BytecodeOperandImmIntPtr() argument
585 BytecodeOperandImmSmi(int operand_index) BytecodeOperandImmSmi() argument
589 BytecodeOperandIdxInt32( int operand_index) BytecodeOperandIdxInt32() argument
598 BytecodeOperandIdx(int operand_index) BytecodeOperandIdx() argument
602 BytecodeOperandIdxSmi(int operand_index) BytecodeOperandIdxSmi() argument
606 BytecodeOperandIdxTaggedIndex( int operand_index) BytecodeOperandIdxTaggedIndex() argument
613 BytecodeOperandConstantPoolIdx( int operand_index) BytecodeOperandConstantPoolIdx() argument
623 BytecodeOperandReg(int operand_index) BytecodeOperandReg() argument
632 BytecodeOperandRuntimeId( int operand_index) BytecodeOperandRuntimeId() argument
642 BytecodeOperandNativeContextIndex( int operand_index) BytecodeOperandNativeContextIndex() argument
652 BytecodeOperandIntrinsicId( int operand_index) BytecodeOperandIntrinsicId() argument
674 LoadConstantPoolEntryAtOperandIndex( int operand_index) LoadConstantPoolEntryAtOperandIndex() argument
681 LoadAndUntagConstantPoolEntryAtOperandIndex( int operand_index) LoadAndUntagConstantPoolEntryAtOperandIndex() argument
1100 JumpConditionalByImmediateOperand( TNode<BoolT> condition, int operand_index) JumpConditionalByImmediateOperand() argument
1112 JumpConditionalByConstantOperand( TNode<BoolT> condition, int operand_index) JumpConditionalByConstantOperand() argument
1131 JumpIfTaggedEqual(TNode<Object> lhs, TNode<Object> rhs, int operand_index) JumpIfTaggedEqual() argument
1134 JumpConditionalByImmediateOperand(TaggedEqual(lhs, rhs), operand_index); JumpIfTaggedEqual() local
1137 JumpIfTaggedEqualConstant(TNode<Object> lhs, TNode<Object> rhs, int operand_index) JumpIfTaggedEqualConstant() argument
1140 JumpConditionalByConstantOperand(TaggedEqual(lhs, rhs), operand_index); JumpIfTaggedEqualConstant() local
1149 JumpIfTaggedNotEqual(TNode<Object> lhs, TNode<Object> rhs, int operand_index) JumpIfTaggedNotEqual() argument
1152 JumpConditionalByImmediateOperand(TaggedNotEqual(lhs, rhs), operand_index); JumpIfTaggedNotEqual() local
1155 JumpIfTaggedNotEqualConstant(TNode<Object> lhs, TNode<Object> rhs, int operand_index) JumpIfTaggedNotEqualConstant() argument
1158 JumpConditionalByConstantOperand(TaggedNotEqual(lhs, rhs), operand_index); JumpIfTaggedNotEqualConstant() local
[all...]
H A Dbytecode-array-iterator.h108 uint32_t GetFlagOperand(int operand_index) const;
109 uint32_t GetUnsignedImmediateOperand(int operand_index) const;
110 int32_t GetImmediateOperand(int operand_index) const;
111 uint32_t GetIndexOperand(int operand_index) const;
112 FeedbackSlot GetSlotOperand(int operand_index) const;
115 uint32_t GetRegisterCountOperand(int operand_index) const;
116 Register GetRegisterOperand(int operand_index) const;
117 std::pair<Register, Register> GetRegisterPairOperand(int operand_index) const;
118 RegisterList GetRegisterListOperand(int operand_index) const;
119 int GetRegisterOperandRange(int operand_index) cons
[all...]
/third_party/node/deps/v8/src/baseline/
H A Dbaseline-compiler.h75 interpreter::Register RegisterOperand(int operand_index);
76 void LoadRegister(Register output, int operand_index);
77 void StoreRegister(int operand_index, Register value);
78 void StoreRegisterPair(int operand_index, Register val0, Register val1);
82 Handle<Type> Constant(int operand_index);
83 Smi ConstantSmi(int operand_index);
85 void LoadConstant(Register output, int operand_index);
88 uint32_t Uint(int operand_index);
89 int32_t Int(int operand_index);
90 uint32_t Index(int operand_index);
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_arithmetics.cpp51 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass()
52 ++operand_index) { in ArithmeticsPass()
53 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
57 << operand_index; in ArithmeticsPass()
73 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass()
74 ++operand_index) { in ArithmeticsPass()
75 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
79 << operand_index; in ArithmeticsPass()
[all...]
H A Dvalidate_composites.cpp227 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct()
228 ++operand_index) { in ValidateCompositeConstruct()
229 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
268 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct()
269 ++operand_index) { in ValidateCompositeConstruct()
270 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
303 for (uint32_t operand_index = 2; operand_index < num_operand in ValidateCompositeConstruct()
[all...]
H A Dvalidate_bitwise.cpp86 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass()
87 ++operand_index) { in BitwisePass()
88 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in BitwisePass()
94 << operand_index; in BitwisePass()
100 << " operand index " << operand_index; in BitwisePass()
106 << " operand index " << operand_index; in BitwisePass()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_arithmetics.cpp51 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass()
52 ++operand_index) { in ArithmeticsPass()
53 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
57 << operand_index; in ArithmeticsPass()
73 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass()
74 ++operand_index) { in ArithmeticsPass()
75 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
79 << operand_index; in ArithmeticsPass()
[all...]
H A Dvalidate_composites.cpp227 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct()
228 ++operand_index) { in ValidateCompositeConstruct()
229 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
268 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct()
269 ++operand_index) { in ValidateCompositeConstruct()
270 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
303 for (uint32_t operand_index = 2; operand_index < num_operand in ValidateCompositeConstruct()
[all...]
H A Dvalidate_bitwise.cpp86 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass()
87 ++operand_index) { in BitwisePass()
88 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in BitwisePass()
94 << operand_index; in BitwisePass()
100 << " operand index " << operand_index; in BitwisePass()
106 << " operand index " << operand_index; in BitwisePass()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Ddef_use_manager.h38 uint32_t operand_index; // logical operand index of the id use. This can be member
43 return lhs.inst == rhs.inst && lhs.operand_index == rhs.operand_index; in operator ==()
51 return lhs.operand_index < rhs.operand_index; in operator <()
163 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
166 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
178 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
181 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
H A Dgraphics_robust_access_pass.cpp275 auto replace_index = [this, &inst, def_use_mgr](uint32_t operand_index, in ClampIndicesForAccessChain()
277 inst.SetOperand(operand_index, {new_value->result_id()}); in ClampIndicesForAccessChain()
284 // Replace the operand at |operand_index| with the value computed from in ClampIndicesForAccessChain()
290 uint32_t operand_index, Instruction* old_value, in ClampIndicesForAccessChain()
294 return replace_index(operand_index, clamp_inst); in ClampIndicesForAccessChain()
302 &clamp_index](uint32_t operand_index, uint64_t count) -> spv_result_t { in ClampIndicesForAccessChain()
304 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
312 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
339 << operand_index << " of access chain " in ClampIndicesForAccessChain()
360 return replace_index(operand_index, GetValueForTyp in ClampIndicesForAccessChain()
673 MakeRuntimeArrayLengthInst( Instruction* access_chain, uint32_t operand_index) MakeRuntimeArrayLengthInst() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Ddef_use_manager.h38 uint32_t operand_index; // logical operand index of the id use. This can be member
43 return lhs.inst == rhs.inst && lhs.operand_index == rhs.operand_index; in operator ==()
51 return lhs.operand_index < rhs.operand_index; in operator <()
163 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
166 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
178 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
181 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
H A Dgraphics_robust_access_pass.cpp275 auto replace_index = [this, &inst, def_use_mgr](uint32_t operand_index, in ClampIndicesForAccessChain()
277 inst.SetOperand(operand_index, {new_value->result_id()}); in ClampIndicesForAccessChain()
284 // Replace the operand at |operand_index| with the value computed from in ClampIndicesForAccessChain()
290 uint32_t operand_index, Instruction* old_value, in ClampIndicesForAccessChain()
294 return replace_index(operand_index, clamp_inst); in ClampIndicesForAccessChain()
302 &clamp_index](uint32_t operand_index, uint64_t count) -> spv_result_t { in ClampIndicesForAccessChain()
304 this->GetDef(inst.GetSingleWordOperand(operand_index)); in ClampIndicesForAccessChain()
312 return replace_index(operand_index, GetValueForType(0, index_type)); in ClampIndicesForAccessChain()
339 << operand_index << " of access chain " in ClampIndicesForAccessChain()
360 return replace_index(operand_index, GetValueForTyp in ClampIndicesForAccessChain()
673 MakeRuntimeArrayLengthInst( Instruction* access_chain, uint32_t operand_index) MakeRuntimeArrayLengthInst() argument
[all...]
/third_party/spirv-tools/source/opt/
H A Ddef_use_manager.h36 uint32_t operand_index; // logical operand index of the id use. This can be member
41 return lhs.inst == rhs.inst && lhs.operand_index == rhs.operand_index; in operator ==()
49 return lhs.operand_index < rhs.operand_index; in operator <()
162 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
165 const std::function<void(Instruction*, uint32_t operand_index)>& f) const;
177 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
180 const std::function<bool(Instruction*, uint32_t operand_index)>& f) const;
/third_party/spirv-tools/source/val/
H A Dvalidate_arithmetics.cpp53 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass()
54 ++operand_index) { in ArithmeticsPass()
56 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in ArithmeticsPass()
62 << operand_index; in ArithmeticsPass()
67 } else if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass()
71 << operand_index; in ArithmeticsPass()
87 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass()
88 ++operand_index) { in ArithmeticsPass()
[all...]
H A Dvalidate_composites.cpp227 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct()
228 ++operand_index) { in ValidateCompositeConstruct()
229 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
268 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct()
269 ++operand_index) { in ValidateCompositeConstruct()
270 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct()
303 for (uint32_t operand_index = 2; operand_index < num_operand in ValidateCompositeConstruct()
[all...]
H A Dvalidate_bitwise.cpp117 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass()
118 ++operand_index) { in BitwisePass()
119 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in BitwisePass()
125 << operand_index; in BitwisePass()
131 << " operand index " << operand_index; in BitwisePass()
137 << " operand index " << operand_index; in BitwisePass()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dchange_operand_reduction_opportunity.h28 // Constructs the opportunity to replace operand |operand_index| of |inst|
31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity()
33 operand_index_(operand_index), in ChangeOperandReductionOpportunity()
34 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity()
35 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
30 ChangeOperandReductionOpportunity(opt::Instruction* inst, uint32_t operand_index, uint32_t new_id) ChangeOperandReductionOpportunity() argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dchange_operand_reduction_opportunity.h28 // Constructs the opportunity to replace operand |operand_index| of |inst|
31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity()
33 operand_index_(operand_index), in ChangeOperandReductionOpportunity()
34 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity()
35 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
30 ChangeOperandReductionOpportunity(opt::Instruction* inst, uint32_t operand_index, uint32_t new_id) ChangeOperandReductionOpportunity() argument
/third_party/spirv-tools/source/reduce/
H A Dchange_operand_reduction_opportunity.h28 // Constructs the opportunity to replace operand |operand_index| of |inst|
31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity()
33 operand_index_(operand_index), in ChangeOperandReductionOpportunity()
34 original_id_(inst->GetOperand(operand_index).words[0]), in ChangeOperandReductionOpportunity()
35 original_type_(inst->GetOperand(operand_index).type), in ChangeOperandReductionOpportunity()
30 ChangeOperandReductionOpportunity(opt::Instruction* inst, uint32_t operand_index, uint32_t new_id) ChangeOperandReductionOpportunity() argument
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
H A Dtransformation_permute_phi_operands_test.cpp117 [&entry](opt::Instruction* inst, uint32_t operand_index) -> bool { in TEST()
119 EXPECT_EQ(entry.second, operand_index); in TEST()
130 opt::Instruction* inst, uint32_t operand_index) { in TEST()
136 if (operand_index == 2) { in TEST()
140 ASSERT_EQ(3, operand_index); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
H A Dtransformation_permute_phi_operands_test.cpp117 [&entry](opt::Instruction* inst, uint32_t operand_index) -> bool { in TEST()
119 EXPECT_EQ(entry.second, operand_index); in TEST()
130 opt::Instruction* inst, uint32_t operand_index) { in TEST()
136 if (operand_index == 2) { in TEST()
140 ASSERT_EQ(3, operand_index); in TEST()
/third_party/spirv-tools/test/fuzz/
H A Dtransformation_permute_phi_operands_test.cpp117 [&entry](opt::Instruction* inst, uint32_t operand_index) -> bool { in TEST()
119 EXPECT_EQ(entry.second, operand_index); in TEST()
130 opt::Instruction* inst, uint32_t operand_index) { in TEST()
136 if (operand_index == 2) { in TEST()
140 ASSERT_EQ(3, operand_index); in TEST()

Completed in 13 milliseconds

12345