Home
last modified time | relevance | path

Searched refs:operand_type (Results 1 - 25 of 49) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A 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 in MaybeGetResultTypeId()
261 auto operand_type = MaybeGetResultTypeId() local
279 auto operand_type = MaybeGetResultTypeId() local
[all...]
H A Dfuzzer_pass_add_equation_instructions.cpp155 const auto* operand_type = in Apply()
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()
H A Dtransformation_replace_add_sub_mul_with_carrying_extended.cpp87 auto operand_type = type->AsVector()->element_type(); in Apply() local
88 operand_is_signed = operand_type->AsInteger()->IsSigned(); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A 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 in MaybeGetResultTypeId()
261 auto operand_type = MaybeGetResultTypeId() local
279 auto operand_type = MaybeGetResultTypeId() local
[all...]
H A Dfuzzer_pass_add_equation_instructions.cpp155 const auto* operand_type = in Apply()
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/
H A Dtransformation_equation_instruction.cpp163 const auto* operand_type = in MaybeGetResultTypeId() local
165 if (!operand_type) { in MaybeGetResultTypeId()
173 if (const auto* vector = operand_type->AsVector()) { in MaybeGetResultTypeId()
198 } else if (const auto* int_type = operand_type->AsInteger()) { in MaybeGetResultTypeId()
200 } else if (const auto* float_type = operand_type->AsFloat()) { in MaybeGetResultTypeId()
227 auto operand_type = in MaybeGetResultTypeId() local
229 if (!(operand_type->AsInteger() || in MaybeGetResultTypeId()
230 (operand_type->AsVector() && in MaybeGetResultTypeId()
231 operand_type->AsVector()->element_type()->AsInteger()))) { in MaybeGetResultTypeId()
235 operand_type in MaybeGetResultTypeId()
262 auto operand_type = MaybeGetResultTypeId() local
280 auto operand_type = MaybeGetResultTypeId() local
[all...]
H A Dfuzzer_pass_add_equation_instructions.cpp159 const auto* operand_type = in Apply()
162 assert(operand_type && "Operand instruction has invalid type"); in Apply()
170 if (const auto* vector = operand_type->AsVector()) { in Apply()
189 } else if (const auto* int_type = operand_type->AsInteger()) { in Apply()
192 assert(operand_type->AsFloat() && in Apply()
194 FindOrCreateIntegerType(operand_type->AsFloat()->width(), in Apply()
/third_party/node/deps/v8/src/interpreter/
H A 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, OperandTyp in GetIndexOperand()
136 OperandType operand_type = GetRegisterOperand() local
164 OperandType operand_type = operand_types[operand_index]; GetRegisterOperandRange() local
176 OperandType operand_type = GetRuntimeIdOperand() local
185 OperandType operand_type = GetNativeContextIndexOperand() local
193 OperandType operand_type = GetIntrinsicIdOperand() local
[all...]
H A Dbytecode-decoder.cc19 OperandType operand_type, in DecodeRegisterOperand()
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()
32 DecodeRegisterOperand(operand_start, operand_type, operand_scale); in DecodeRegisterListOperand()
38 OperandType operand_type, in DecodeSignedOperand()
40 DCHECK(!Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeSignedOperand()
41 switch (Bytecodes::SizeOfOperand(operand_type, operand_scale)) { in DecodeSignedOperand()
58 OperandType operand_type, in DecodeUnsignedOperand()
60 DCHECK(Bytecodes::IsUnsignedOperandType(operand_type)); in DecodeUnsignedOperand()
18 DecodeRegisterOperand(Address operand_start, OperandType operand_type, OperandScale operand_scale) DecodeRegisterOperand() argument
28 DecodeRegisterListOperand( Address operand_start, uint32_t count, OperandType operand_type, OperandScale operand_scale) DecodeRegisterListOperand() argument
37 DecodeSignedOperand(Address operand_start, OperandType operand_type, OperandScale operand_scale) DecodeSignedOperand() argument
57 DecodeUnsignedOperand(Address operand_start, OperandType operand_type, OperandScale operand_scale) DecodeUnsignedOperand() argument
[all...]
H A Dbytecode-decoder.h22 OperandType operand_type,
28 OperandType operand_type,
33 OperandType operand_type,
38 OperandType operand_type,
H A 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()
[all...]
H A 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 <<()
H A Dbytecode-operands.h140 const OperandType& operand_type);
197 // Returns true if |operand_type| is a scalable signed byte.
198 static constexpr bool IsScalableSignedByte(OperandType operand_type) { in IsScalableSignedByte() argument
199 return base::IsInRange(operand_type, OperandType::kImm, in IsScalableSignedByte()
203 // Returns true if |operand_type| is a scalable unsigned byte.
204 static constexpr bool IsScalableUnsignedByte(OperandType operand_type) { in IsScalableUnsignedByte() argument
205 return base::IsInRange(operand_type, OperandType::kIdx, in IsScalableUnsignedByte()
H A Dbytecode-traits.h46 template <OperandType operand_type, OperandScale operand_scale>
62 Helper<OperandTraits<operand_type>::TypeInfoTraits::kIsScalable,
63 OperandTraits<operand_type>::TypeInfoTraits::kUnscaledSize,
H A Dbytecodes.h932 // Returns true if |operand_type| is any type of register operand.
933 static bool IsRegisterOperandType(OperandType operand_type);
935 // Returns true if |operand_type| represents a register used as an input.
936 static bool IsRegisterInputOperandType(OperandType operand_type);
938 // Returns true if |operand_type| represents a register used as an output.
939 static bool IsRegisterOutputOperandType(OperandType operand_type);
941 // Returns true if |operand_type| represents a register list operand.
942 static bool IsRegisterListOperandType(OperandType operand_type);
952 static int GetNumberOfRegistersRepresentedBy(OperandType operand_type) {
953 switch (operand_type) {
[all...]
H A Dbytecode-array-iterator.h160 OperandType operand_type) const;
161 int32_t GetSignedOperand(int operand_index, OperandType operand_type) const;
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A 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 in ValidateCompositeConstruct() local
435 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); ValidateCopyObject() local
[all...]
H A 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/swiftshader/third_party/SPIRV-Tools/source/val/
H A 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 in ValidateCompositeConstruct() local
435 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); ValidateCopyObject() local
[all...]
H A 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/
H A 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) != spv::Op::OpTypeVector || 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 in ValidateCompositeConstruct() local
454 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); ValidateCopyObject() local
[all...]
H A Dvalidate_logicals.cpp57 const uint32_t operand_type = _.GetOperandTypeId(inst, 2); in LogicalsPass() local
58 if (!operand_type || (!_.IsFloatScalarType(operand_type) && in LogicalsPass()
59 !_.IsFloatVectorType(operand_type))) in LogicalsPass()
64 if (_.GetDimension(result_type) != _.GetDimension(operand_type)) in LogicalsPass()
/third_party/vixl/tools/test_generator/
H A 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/libunwind/src/dwarf/
H A DGexpr.c127 unw_word_t *addr, int operand_type, unw_word_t *val, void *arg) in read_operand()
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()
126 read_operand(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, int operand_type, unw_word_t *val, void *arg) read_operand() argument
/third_party/node/deps/v8/src/runtime/
H A 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()

Completed in 15 milliseconds

12