Home
last modified time | relevance | path

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

12

/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()
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()
Dtransformation_add_bit_instruction_synonym.cpp125 auto operand_type = in IsInstructionSupported() local
127 auto operand_sign = operand_type->AsInteger()->IsSigned(); in IsInstructionSupported()
/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.cpp154 const auto* operand_type = in Apply() local
157 assert(operand_type && "Operand instruction has invalid type"); in Apply()
165 if (const auto* vector = operand_type->AsVector()) { in Apply()
184 } else if (const auto* int_type = operand_type->AsInteger()) { in Apply()
187 assert(operand_type->AsFloat() && in Apply()
189 FindOrCreateIntegerType(operand_type->AsFloat()->width(), in Apply()
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/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()
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()
Dtransformation_add_bit_instruction_synonym.cpp125 auto operand_type = in IsInstructionSupported() local
127 auto operand_sign = operand_type->AsInteger()->IsSigned(); in IsInstructionSupported()
/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()
Dvalidate_extensions.cpp818 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
819 if (result_type != operand_type) { in ValidateExtInst()
851 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
852 if (!operand_type || !_.IsIntScalarOrVectorType(operand_type)) { in ValidateExtInst()
858 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
865 if (result_type_bit_width != _.GetBitWidth(operand_type)) { in ValidateExtInst()
922 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
923 if (result_type != operand_type) { in ValidateExtInst()
1600 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
1601 if (result_type != operand_type) { in ValidateExtInst()
[all …]
/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()
Dvalidate_extensions.cpp818 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
819 if (result_type != operand_type) { in ValidateExtInst()
851 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
852 if (!operand_type || !_.IsIntScalarOrVectorType(operand_type)) { in ValidateExtInst()
858 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
865 if (result_type_bit_width != _.GetBitWidth(operand_type)) { in ValidateExtInst()
922 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
923 if (result_type != operand_type) { in ValidateExtInst()
1600 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
1601 if (result_type != operand_type) { in ValidateExtInst()
[all …]
/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()
Dvalidate_extensions.cpp781 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
782 if (result_type != operand_type) { in ValidateExtInst()
814 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
815 if (!_.IsIntScalarOrVectorType(operand_type)) { in ValidateExtInst()
821 if (result_type_dimension != _.GetDimension(operand_type)) { in ValidateExtInst()
828 if (result_type_bit_width != _.GetBitWidth(operand_type)) { in ValidateExtInst()
885 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
886 if (result_type != operand_type) { in ValidateExtInst()
1563 const uint32_t operand_type = _.GetOperandTypeId(inst, operand_index); in ValidateExtInst() local
1564 if (result_type != operand_type) { in ValidateExtInst()
[all …]
/third_party/boost/boost/yap/detail/
Dalgorithm.hpp166 struct operand_type;
173 struct operand_type<ExprTemplate, T, U, RemoveRefs, true, false> struct
183 struct operand_type<ExprTemplate, T, U, RemoveRefs, true, true> struct
194 struct operand_type<ExprTemplate, T, U, RemoveRefs, true, IsLRef> struct
204 struct operand_type<ExprTemplate, T, U, true, false, IsLRef> struct
214 struct operand_type<ExprTemplate, T, U, false, false, IsLRef> struct
220 using operand_type_t = typename operand_type<ExprTemplate, T>::type;
/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/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/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/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()

12