/third_party/node/deps/v8/src/interpreter/ |
D | bytecode-array-iterator.cc | 57 int operand_index, OperandType operand_type) const { in GetUnsignedOperand() argument 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() argument 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() [all …]
|
D | interpreter-assembler.h | 30 TNode<Uint32T> BytecodeOperandCount(int operand_index); 33 TNode<Uint32T> BytecodeOperandFlag(int operand_index); 36 TNode<Uint32T> BytecodeOperandIdxInt32(int operand_index); 39 TNode<UintPtrT> BytecodeOperandIdx(int operand_index); 42 TNode<Smi> BytecodeOperandIdxSmi(int operand_index); 45 TNode<TaggedIndex> BytecodeOperandIdxTaggedIndex(int operand_index); 48 TNode<Uint32T> BytecodeOperandUImm(int operand_index); 51 TNode<UintPtrT> BytecodeOperandUImmWord(int operand_index); 54 TNode<Smi> BytecodeOperandUImmSmi(int operand_index); 57 TNode<Int32T> BytecodeOperandImm(int operand_index); [all …]
|
D | interpreter-assembler.cc | 243 int operand_index) { in LoadRegisterAtOperandIndex() argument 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 + 1); in GetRegisterListAtOperandIndex() [all …]
|
D | bytecode-array-iterator.h | 108 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) const; [all …]
|
/third_party/node/deps/v8/src/baseline/ |
D | baseline-compiler.h | 75 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/spirv-tools/source/val/ |
D | validate_arithmetics.cpp | 51 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local 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() local 74 ++operand_index) { in ArithmeticsPass() 75 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass() 79 << operand_index; in ArithmeticsPass() 102 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local 103 ++operand_index) { in ArithmeticsPass() [all …]
|
D | validate_composites.cpp | 227 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local 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() local 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_operands; in ValidateCompositeConstruct() local 304 ++operand_index) { in ValidateCompositeConstruct() 305 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() 326 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local [all …]
|
D | validate_bitwise.cpp | 118 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass() local 119 ++operand_index) { in BitwisePass() 120 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in BitwisePass() 126 << operand_index; in BitwisePass() 132 << " operand index " << operand_index; in BitwisePass() 138 << " operand index " << operand_index; in BitwisePass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_arithmetics.cpp | 51 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local 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() local 74 ++operand_index) { in ArithmeticsPass() 75 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass() 79 << operand_index; in ArithmeticsPass() 102 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local 103 ++operand_index) { in ArithmeticsPass() [all …]
|
D | validate_composites.cpp | 227 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local 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() local 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_operands; in ValidateCompositeConstruct() local 304 ++operand_index) { in ValidateCompositeConstruct() 305 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() 326 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local [all …]
|
D | validate_bitwise.cpp | 86 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass() local 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/val/ |
D | validate_arithmetics.cpp | 51 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local 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() local 74 ++operand_index) { in ArithmeticsPass() 75 if (_.GetOperandTypeId(inst, operand_index) != result_type) in ArithmeticsPass() 79 << operand_index; in ArithmeticsPass() 102 for (size_t operand_index = 2; operand_index < inst->operands().size(); in ArithmeticsPass() local 103 ++operand_index) { in ArithmeticsPass() [all …]
|
D | validate_composites.cpp | 227 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local 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() local 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_operands; in ValidateCompositeConstruct() local 304 ++operand_index) { in ValidateCompositeConstruct() 305 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() 326 for (uint32_t operand_index = 2; operand_index < num_operands; in ValidateCompositeConstruct() local [all …]
|
D | validate_bitwise.cpp | 86 for (size_t operand_index = 2; operand_index < inst->operands().size(); in BitwisePass() local 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/ |
D | def_use_manager.h | 38 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; 51 return lhs.operand_index < rhs.operand_index; 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;
|
/third_party/spirv-tools/source/opt/ |
D | def_use_manager.h | 36 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; 49 return lhs.operand_index < rhs.operand_index; 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;
|
D | spread_volatile_semantics.cpp | 140 for (uint32_t operand_index = kOpEntryPointInOperandInterface; in HasInterfaceInConflictOfVolatileSemantics() local 141 operand_index < entry_point.NumInOperands(); ++operand_index) { in HasInterfaceInConflictOfVolatileSemantics() 142 uint32_t var_id = entry_point.GetSingleWordInOperand(operand_index); in HasInterfaceInConflictOfVolatileSemantics() 175 for (uint32_t operand_index = kOpEntryPointInOperandInterface; in CollectTargetsForVolatileSemantics() local 176 operand_index < entry_point.NumInOperands(); ++operand_index) { in CollectTargetsForVolatileSemantics() 177 uint32_t var_id = entry_point.GetSingleWordInOperand(operand_index); in CollectTargetsForVolatileSemantics()
|
D | graphics_robust_access_pass.cpp | 275 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() 290 uint32_t operand_index, Instruction* old_value, in ClampIndicesForAccessChain() argument 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() argument 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, GetValueForType(0, index_type)); in ClampIndicesForAccessChain() 367 return replace_index(operand_index, in ClampIndicesForAccessChain() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | def_use_manager.h | 38 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; 51 return lhs.operand_index < rhs.operand_index; 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;
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | change_operand_reduction_opportunity.h | 31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity() argument 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | change_operand_reduction_opportunity.h | 31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity() argument 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()
|
/third_party/spirv-tools/source/reduce/ |
D | change_operand_reduction_opportunity.h | 31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity() argument 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()
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | transformation_permute_phi_operands_test.cpp | 117 [&entry](opt::Instruction* inst, uint32_t operand_index) -> bool { in TEST() argument 119 EXPECT_EQ(entry.second, operand_index); in TEST() 130 opt::Instruction* inst, uint32_t operand_index) { in TEST() argument 136 if (operand_index == 2) { in TEST() 140 ASSERT_EQ(3, operand_index); in TEST()
|
/third_party/spirv-tools/test/fuzz/ |
D | transformation_permute_phi_operands_test.cpp | 117 [&entry](opt::Instruction* inst, uint32_t operand_index) -> bool { in TEST() argument 119 EXPECT_EQ(entry.second, operand_index); in TEST() 130 opt::Instruction* inst, uint32_t operand_index) { in TEST() argument 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/ |
D | transformation_permute_phi_operands_test.cpp | 117 [&entry](opt::Instruction* inst, uint32_t operand_index) -> bool { in TEST() argument 119 EXPECT_EQ(entry.second, operand_index); in TEST() 130 opt::Instruction* inst, uint32_t operand_index) { in TEST() argument 136 if (operand_index == 2) { in TEST() 140 ASSERT_EQ(3, operand_index); in TEST()
|