Home
last modified time | relevance | path

Searched refs:operand_type (Results 1 – 25 of 52) sorted by relevance

123

/third_party/node/deps/v8/src/interpreter/
Dbytecode-array-iterator.cc57 int operand_index, OperandType operand_type) const { in GetUnsignedOperand()
60 DCHECK_EQ(operand_type, in GetUnsignedOperand()
62 DCHECK(Bytecodes::IsUnsignedOperandType(operand_type)); in GetUnsignedOperand()
67 return BytecodeDecoder::DecodeUnsignedOperand(operand_start, operand_type, in GetUnsignedOperand()
72 int operand_index, OperandType operand_type) const { in GetSignedOperand()
75 DCHECK_EQ(operand_type, in GetSignedOperand()
77 DCHECK(!Bytecodes::IsUnsignedOperandType(operand_type)); in GetSignedOperand()
82 return BytecodeDecoder::DecodeSignedOperand(operand_start, operand_type, in GetSignedOperand()
113 OperandType operand_type = in GetIndexOperand() local
115 DCHECK_EQ(operand_type, OperandType::kIdx); in GetIndexOperand()
[all …]
Dbytecode-decoder.cc19 OperandType operand_type, in DecodeRegisterOperand() argument
21 DCHECK(Bytecodes::IsRegisterOperandType(operand_type)); in DecodeRegisterOperand()
23 DecodeSignedOperand(operand_start, operand_type, operand_scale); in DecodeRegisterOperand()
29 Address operand_start, uint32_t count, OperandType operand_type, in DecodeRegisterListOperand() argument
32 DecodeRegisterOperand(operand_start, operand_type, operand_scale); in DecodeRegisterListOperand()
38 OperandType operand_type, in DecodeSignedOperand() argument
40 DCHECK(!Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeSignedOperand()
41 switch (Bytecodes::SizeOfOperand(operand_type, operand_scale)) { in DecodeSignedOperand()
58 OperandType operand_type, in DecodeUnsignedOperand() argument
60 DCHECK(Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeUnsignedOperand()
[all …]
Dbytecodes.cc193 bool Bytecodes::IsRegisterOperandType(OperandType operand_type) { in IsRegisterOperandType() argument
194 switch (operand_type) { in IsRegisterOperandType()
210 bool Bytecodes::IsRegisterListOperandType(OperandType operand_type) { in IsRegisterListOperandType() argument
211 switch (operand_type) { in IsRegisterListOperandType()
235 bool Bytecodes::IsRegisterInputOperandType(OperandType operand_type) { in IsRegisterInputOperandType() argument
236 switch (operand_type) { in IsRegisterInputOperandType()
253 bool Bytecodes::IsRegisterOutputOperandType(OperandType operand_type) { in IsRegisterOutputOperandType() argument
254 switch (operand_type) { in IsRegisterOutputOperandType()
332 bool Bytecodes::IsUnsignedOperandType(OperandType operand_type) { in IsUnsignedOperandType() argument
333 switch (operand_type) { in IsUnsignedOperandType()
Dbytecode-decoder.h22 OperandType operand_type,
28 OperandType operand_type,
33 OperandType operand_type,
38 OperandType operand_type,
Dbytecode-operands.cc34 const char* OperandTypeToString(OperandType operand_type) { in OperandTypeToString() argument
35 switch (operand_type) { in OperandTypeToString()
84 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type) { in operator <<() argument
85 return os << OperandTypeToString(operand_type); in operator <<()
Dbytecode-operands.h140 const OperandType& operand_type);
198 static constexpr bool IsScalableSignedByte(OperandType operand_type) { in IsScalableSignedByte() argument
199 return base::IsInRange(operand_type, OperandType::kImm, in IsScalableSignedByte()
204 static constexpr bool IsScalableUnsignedByte(OperandType operand_type) { in IsScalableUnsignedByte() argument
205 return base::IsInRange(operand_type, OperandType::kIdx, in IsScalableUnsignedByte()
Dbytecode-traits.h46 template <OperandType operand_type, OperandScale operand_scale>
62 Helper<OperandTraits<operand_type>::TypeInfoTraits::kIsScalable,
63 OperandTraits<operand_type>::TypeInfoTraits::kUnscaledSize,
Dbytecodes.h933 static bool IsRegisterOperandType(OperandType operand_type);
936 static bool IsRegisterInputOperandType(OperandType operand_type);
939 static bool IsRegisterOutputOperandType(OperandType operand_type);
942 static bool IsRegisterListOperandType(OperandType operand_type);
952 static int GetNumberOfRegistersRepresentedBy(OperandType operand_type) { in GetNumberOfRegistersRepresentedBy() argument
953 switch (operand_type) { in GetNumberOfRegistersRepresentedBy()
972 static OperandSize SizeOfOperand(OperandType operand_type, in SizeOfOperand() argument
974 DCHECK_LE(operand_type, OperandType::kLast); in SizeOfOperand()
980 return kOperandKindSizes[scale_index][static_cast<size_t>(operand_type)]; in SizeOfOperand()
984 static bool IsRuntimeIdOperandType(OperandType operand_type);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_equation_instruction.cpp162 const auto* operand_type = in MaybeGetResultTypeId() local
164 if (!operand_type) { in MaybeGetResultTypeId()
172 if (const auto* vector = operand_type->AsVector()) { in MaybeGetResultTypeId()
197 } else if (const auto* int_type = operand_type->AsInteger()) { in MaybeGetResultTypeId()
199 } else if (const auto* float_type = operand_type->AsFloat()) { in MaybeGetResultTypeId()
226 auto operand_type = in MaybeGetResultTypeId() local
228 if (!(operand_type->AsInteger() || in MaybeGetResultTypeId()
229 (operand_type->AsVector() && in MaybeGetResultTypeId()
230 operand_type->AsVector()->element_type()->AsInteger()))) { in MaybeGetResultTypeId()
234 operand_type->AsInteger() in MaybeGetResultTypeId()
[all …]
Dfuzzer_pass_add_equation_instructions.cpp155 const auto* operand_type = in Apply() local
158 assert(operand_type && "Operand instruction has invalid type"); in Apply()
166 if (const auto* vector = operand_type->AsVector()) { in Apply()
185 } else if (const auto* int_type = operand_type->AsInteger()) { in Apply()
188 assert(operand_type->AsFloat() && in Apply()
190 FindOrCreateIntegerType(operand_type->AsFloat()->width(), in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_equation_instruction.cpp162 const auto* operand_type = in MaybeGetResultTypeId() local
164 if (!operand_type) { in MaybeGetResultTypeId()
172 if (const auto* vector = operand_type->AsVector()) { in MaybeGetResultTypeId()
197 } else if (const auto* int_type = operand_type->AsInteger()) { in MaybeGetResultTypeId()
199 } else if (const auto* float_type = operand_type->AsFloat()) { in MaybeGetResultTypeId()
226 auto operand_type = in MaybeGetResultTypeId() local
228 if (!(operand_type->AsInteger() || in MaybeGetResultTypeId()
229 (operand_type->AsVector() && in MaybeGetResultTypeId()
230 operand_type->AsVector()->element_type()->AsInteger()))) { in MaybeGetResultTypeId()
234 operand_type->AsInteger() in MaybeGetResultTypeId()
[all …]
Dfuzzer_pass_add_equation_instructions.cpp155 const auto* operand_type = in Apply() local
158 assert(operand_type && "Operand instruction has invalid type"); in Apply()
166 if (const auto* vector = operand_type->AsVector()) { in Apply()
185 } else if (const auto* int_type = operand_type->AsInteger()) { in Apply()
188 assert(operand_type->AsFloat() && in Apply()
190 FindOrCreateIntegerType(operand_type->AsFloat()->width(), in Apply()
/third_party/spirv-tools/source/fuzz/
Dtransformation_equation_instruction.cpp162 const auto* operand_type = in MaybeGetResultTypeId() local
164 if (!operand_type) { in MaybeGetResultTypeId()
172 if (const auto* vector = operand_type->AsVector()) { in MaybeGetResultTypeId()
197 } else if (const auto* int_type = operand_type->AsInteger()) { in MaybeGetResultTypeId()
199 } else if (const auto* float_type = operand_type->AsFloat()) { in MaybeGetResultTypeId()
226 auto operand_type = in MaybeGetResultTypeId() local
228 if (!(operand_type->AsInteger() || in MaybeGetResultTypeId()
229 (operand_type->AsVector() && in MaybeGetResultTypeId()
230 operand_type->AsVector()->element_type()->AsInteger()))) { in MaybeGetResultTypeId()
234 operand_type->AsInteger() in MaybeGetResultTypeId()
[all …]
Dfuzzer_pass_add_equation_instructions.cpp155 const auto* operand_type = in Apply() local
158 assert(operand_type && "Operand instruction has invalid type"); in Apply()
166 if (const auto* vector = operand_type->AsVector()) { in Apply()
185 } else if (const auto* int_type = operand_type->AsInteger()) { in Apply()
188 assert(operand_type->AsFloat() && in Apply()
190 FindOrCreateIntegerType(operand_type->AsFloat()->width(), in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_composites.cpp229 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
230 if (operand_type == result_component_type) { in ValidateCompositeConstruct()
233 if (_.GetIdOpcode(operand_type) != SpvOpTypeVector || in ValidateCompositeConstruct()
234 _.GetComponentType(operand_type) != result_component_type) { in ValidateCompositeConstruct()
240 given_component_count += _.GetDimension(operand_type); in ValidateCompositeConstruct()
270 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
271 if (operand_type != result_col_type) { in ValidateCompositeConstruct()
305 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
306 if (operand_type != result_component_type) { in ValidateCompositeConstruct()
328 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
[all …]
Dvalidate_logicals.cpp59 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
60 if (!operand_type || (!_.IsFloatScalarType(operand_type) && in LogicalsPass()
61 !_.IsFloatVectorType(operand_type))) in LogicalsPass()
66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_composites.cpp229 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
230 if (operand_type == result_component_type) { in ValidateCompositeConstruct()
233 if (_.GetIdOpcode(operand_type) != SpvOpTypeVector || in ValidateCompositeConstruct()
234 _.GetComponentType(operand_type) != result_component_type) { in ValidateCompositeConstruct()
240 given_component_count += _.GetDimension(operand_type); in ValidateCompositeConstruct()
270 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
271 if (operand_type != result_col_type) { in ValidateCompositeConstruct()
305 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
306 if (operand_type != result_component_type) { in ValidateCompositeConstruct()
328 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
[all …]
Dvalidate_logicals.cpp59 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
60 if (!operand_type || (!_.IsFloatScalarType(operand_type) && in LogicalsPass()
61 !_.IsFloatVectorType(operand_type))) in LogicalsPass()
66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
/third_party/spirv-tools/source/val/
Dvalidate_composites.cpp229 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
230 if (operand_type == result_component_type) { in ValidateCompositeConstruct()
233 if (_.GetIdOpcode(operand_type) != SpvOpTypeVector || in ValidateCompositeConstruct()
234 _.GetComponentType(operand_type) != result_component_type) { in ValidateCompositeConstruct()
240 given_component_count += _.GetDimension(operand_type); in ValidateCompositeConstruct()
270 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
271 if (operand_type != result_col_type) { in ValidateCompositeConstruct()
305 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
306 if (operand_type != result_component_type) { in ValidateCompositeConstruct()
328 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateCompositeConstruct() local
[all …]
Dvalidate_logicals.cpp59 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
60 if (!operand_type || (!_.IsFloatScalarType(operand_type) && in LogicalsPass()
61 !_.IsFloatVectorType(operand_type))) in LogicalsPass()
66 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
/third_party/vixl/tools/test_generator/
Dgenerator.py177 [(operand_type.name, variant) for variant in operand_type.variants]
178 if operand_type.name in self.operand_names
179 else [(operand_type.name, operand_type.default)]
180 for operand_type in operand_types.unwrap()
/third_party/libunwind/src/dwarf/
DGexpr.c127 unw_word_t *addr, int operand_type, unw_word_t *val, void *arg) in read_operand() argument
135 if (operand_type == ADDR) in read_operand()
138 case 1: operand_type = VAL8; break; in read_operand()
139 case 2: operand_type = VAL16; break; in read_operand()
140 case 4: operand_type = VAL32; break; in read_operand()
141 case 8: operand_type = VAL64; break; in read_operand()
145 switch (operand_type) in read_operand()
185 Debug (1, "Unexpected operand type %d\n", operand_type); in read_operand()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp245 const analysis::Type* operand_type = operand_const->type(); in DoVectorShuffle() local
246 assert(operand_type->AsVector() && in DoVectorShuffle()
258 operand_type->AsVector()->element_type(); in DoVectorShuffle()
265 operand_type->AsVector()->element_count(), in DoVectorShuffle()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp245 const analysis::Type* operand_type = operand_const->type(); in DoVectorShuffle() local
246 assert(operand_type->AsVector() && in DoVectorShuffle()
258 operand_type->AsVector()->element_type(); in DoVectorShuffle()
265 operand_type->AsVector()->element_count(), in DoVectorShuffle()
/third_party/node/deps/v8/src/runtime/
Druntime-trace.cc81 interpreter::OperandType operand_type = in PrintRegisters() local
85 ? interpreter::Bytecodes::IsRegisterInputOperandType(operand_type) in PrintRegisters()
86 : interpreter::Bytecodes::IsRegisterOutputOperandType(operand_type); in PrintRegisters()

123