Home
last modified time | relevance | path

Searched refs:fresh_id (Results 1 – 25 of 265) sorted by relevance

1234567891011

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_block.cpp26 TransformationAddDeadBlock::TransformationAddDeadBlock(uint32_t fresh_id, in TransformationAddDeadBlock() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddDeadBlock()
38 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
109 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
125 ir_context, SpvOpLabel, 0, message_.fresh_id(), in Apply()
150 : message_.fresh_id()}}, in Apply()
152 {message_.condition_value() ? message_.fresh_id() in Apply()
173 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
182 message_.fresh_id()); in Apply()
192 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddConstantBoolean()
37 fuzzerutil::IsFreshId(ir_context, message_.fresh_id()); in IsApplicable()
47 fuzzerutil::MaybeGetBoolType(ir_context), message_.fresh_id(), in Apply()
51 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
60 message_.fresh_id()); in Apply()
72 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_split_block.cpp32 uint32_t fresh_id) { in TransformationSplitBlock() argument
34 message_.set_fresh_id(fresh_id); in TransformationSplitBlock()
39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
106 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
108 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply()
115 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {message_.fresh_id()})}); in Apply()
149 message_.fresh_id()); in Apply()
160 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_constant_scalar.cpp27 uint32_t fresh_id, uint32_t type_id, const std::vector<uint32_t>& words, in TransformationAddConstantScalar() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddConstantScalar()
40 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
68 ir_context, SpvOpConstant, message_.type_id(), message_.fresh_id(), in Apply()
76 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
85 message_.fresh_id()); in Apply()
97 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_type_boolean.cpp26 TransformationAddTypeBoolean::TransformationAddTypeBoolean(uint32_t fresh_id) { in TransformationAddTypeBoolean() argument
27 message_.set_fresh_id(fresh_id); in TransformationAddTypeBoolean()
33 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
46 ir_context, SpvOpTypeBool, 0, message_.fresh_id(), empty_operands); in Apply()
50 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
65 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_composite_extract.cpp32 uint32_t fresh_id, uint32_t composite_id, in TransformationCompositeExtract() argument
36 message_.set_fresh_id(fresh_id); in TransformationCompositeExtract()
45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
97 message_.fresh_id(), extract_operands)); in Apply()
102 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
118 return {message_.fresh_id()}; in GetFreshIds()
130 message_.fresh_id())) { in AddDataSynonymFacts()
141 MakeDataDescriptor(message_.fresh_id(), {}); in AddDataSynonymFacts()
Dtransformation_add_type_pointer.cpp27 uint32_t fresh_id, SpvStorageClass storage_class, uint32_t base_type_id) { in TransformationAddTypePointer() argument
28 message_.set_fresh_id(fresh_id); in TransformationAddTypePointer()
36 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
51 ir_context, SpvOpTypePointer, 0, message_.fresh_id(), in_operands); in Apply()
55 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
70 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_constant_null.cpp26 TransformationAddConstantNull::TransformationAddConstantNull(uint32_t fresh_id, in TransformationAddConstantNull() argument
28 message_.set_fresh_id(fresh_id); in TransformationAddConstantNull()
35 if (!fuzzerutil::IsFreshId(context, message_.fresh_id())) { in IsApplicable()
51 ir_context, SpvOpConstantNull, message_.type_id(), message_.fresh_id(), in Apply()
55 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
71 return {message_.fresh_id()}; in GetFreshIds()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_dead_block.cpp26 TransformationAddDeadBlock::TransformationAddDeadBlock(uint32_t fresh_id, in TransformationAddDeadBlock() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddDeadBlock()
38 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
109 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
125 ir_context, SpvOpLabel, 0, message_.fresh_id(), in Apply()
150 : message_.fresh_id()}}, in Apply()
152 {message_.condition_value() ? message_.fresh_id() in Apply()
173 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
182 message_.fresh_id()); in Apply()
192 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddConstantBoolean()
37 fuzzerutil::IsFreshId(ir_context, message_.fresh_id()); in IsApplicable()
47 fuzzerutil::MaybeGetBoolType(ir_context), message_.fresh_id(), in Apply()
51 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
60 message_.fresh_id()); in Apply()
72 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_split_block.cpp32 uint32_t fresh_id) { in TransformationSplitBlock() argument
34 message_.set_fresh_id(fresh_id); in TransformationSplitBlock()
39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
106 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
108 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply()
115 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {message_.fresh_id()})}); in Apply()
149 message_.fresh_id()); in Apply()
160 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_constant_scalar.cpp27 uint32_t fresh_id, uint32_t type_id, const std::vector<uint32_t>& words, in TransformationAddConstantScalar() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddConstantScalar()
40 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
68 ir_context, SpvOpConstant, message_.type_id(), message_.fresh_id(), in Apply()
76 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
85 message_.fresh_id()); in Apply()
97 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_type_boolean.cpp26 TransformationAddTypeBoolean::TransformationAddTypeBoolean(uint32_t fresh_id) { in TransformationAddTypeBoolean() argument
27 message_.set_fresh_id(fresh_id); in TransformationAddTypeBoolean()
33 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
46 ir_context, SpvOpTypeBool, 0, message_.fresh_id(), empty_operands); in Apply()
50 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
65 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_global_undef.cpp26 TransformationAddGlobalUndef::TransformationAddGlobalUndef(uint32_t fresh_id, in TransformationAddGlobalUndef() argument
28 message_.set_fresh_id(fresh_id); in TransformationAddGlobalUndef()
35 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
46 ir_context, SpvOpUndef, message_.type_id(), message_.fresh_id(), in Apply()
50 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
62 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_composite_extract.cpp32 uint32_t fresh_id, uint32_t composite_id, in TransformationCompositeExtract() argument
36 message_.set_fresh_id(fresh_id); in TransformationCompositeExtract()
45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
97 message_.fresh_id(), extract_operands)); in Apply()
102 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
118 return {message_.fresh_id()}; in GetFreshIds()
130 message_.fresh_id())) { in AddDataSynonymFacts()
141 MakeDataDescriptor(message_.fresh_id(), {}); in AddDataSynonymFacts()
Dtransformation_add_type_float.cpp22 TransformationAddTypeFloat::TransformationAddTypeFloat(uint32_t fresh_id, in TransformationAddTypeFloat() argument
24 message_.set_fresh_id(fresh_id); in TransformationAddTypeFloat()
35 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
69 ir_context, SpvOpTypeFloat, 0, message_.fresh_id(), in Apply()
74 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
89 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_type_pointer.cpp27 uint32_t fresh_id, SpvStorageClass storage_class, uint32_t base_type_id) { in TransformationAddTypePointer() argument
28 message_.set_fresh_id(fresh_id); in TransformationAddTypePointer()
36 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
51 ir_context, SpvOpTypePointer, 0, message_.fresh_id(), in_operands); in Apply()
55 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
70 return {message_.fresh_id()}; in GetFreshIds()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_dead_block.cpp26 TransformationAddDeadBlock::TransformationAddDeadBlock(uint32_t fresh_id, in TransformationAddDeadBlock() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddDeadBlock()
38 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
109 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
125 ir_context, SpvOpLabel, 0, message_.fresh_id(), in Apply()
150 : message_.fresh_id()}}, in Apply()
152 {message_.condition_value() ? message_.fresh_id() in Apply()
173 phi_inst->AddOperand({SPV_OPERAND_TYPE_ID, {message_.fresh_id()}}); in Apply()
182 message_.fresh_id()); in Apply()
192 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_constant_boolean.cpp28 uint32_t fresh_id, bool is_true, bool is_irrelevant) { in TransformationAddConstantBoolean() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddConstantBoolean()
37 fuzzerutil::IsFreshId(ir_context, message_.fresh_id()); in IsApplicable()
47 fuzzerutil::MaybeGetBoolType(ir_context), message_.fresh_id(), in Apply()
51 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
60 message_.fresh_id()); in Apply()
72 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_split_block.cpp32 uint32_t fresh_id) { in TransformationSplitBlock() argument
34 message_.set_fresh_id(fresh_id); in TransformationSplitBlock()
39 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
106 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
108 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply()
115 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {message_.fresh_id()})}); in Apply()
149 message_.fresh_id()); in Apply()
160 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_constant_scalar.cpp27 uint32_t fresh_id, uint32_t type_id, const std::vector<uint32_t>& words, in TransformationAddConstantScalar() argument
29 message_.set_fresh_id(fresh_id); in TransformationAddConstantScalar()
40 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
68 ir_context, SpvOpConstant, message_.type_id(), message_.fresh_id(), in Apply()
76 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
85 message_.fresh_id()); in Apply()
97 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_type_boolean.cpp26 TransformationAddTypeBoolean::TransformationAddTypeBoolean(uint32_t fresh_id) { in TransformationAddTypeBoolean() argument
27 message_.set_fresh_id(fresh_id); in TransformationAddTypeBoolean()
33 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
46 ir_context, SpvOpTypeBool, 0, message_.fresh_id(), empty_operands); in Apply()
50 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
65 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_composite_extract.cpp32 uint32_t fresh_id, uint32_t composite_id, in TransformationCompositeExtract() argument
36 message_.set_fresh_id(fresh_id); in TransformationCompositeExtract()
45 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
97 message_.fresh_id(), extract_operands)); in Apply()
102 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
118 return {message_.fresh_id()}; in GetFreshIds()
130 message_.fresh_id())) { in AddDataSynonymFacts()
141 MakeDataDescriptor(message_.fresh_id(), {}); in AddDataSynonymFacts()
Dtransformation_add_type_pointer.cpp27 uint32_t fresh_id, SpvStorageClass storage_class, uint32_t base_type_id) { in TransformationAddTypePointer() argument
28 message_.set_fresh_id(fresh_id); in TransformationAddTypePointer()
36 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
51 ir_context, SpvOpTypePointer, 0, message_.fresh_id(), in_operands); in Apply()
55 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
70 return {message_.fresh_id()}; in GetFreshIds()
Dtransformation_add_type_float.cpp22 TransformationAddTypeFloat::TransformationAddTypeFloat(uint32_t fresh_id, in TransformationAddTypeFloat() argument
24 message_.set_fresh_id(fresh_id); in TransformationAddTypeFloat()
35 if (!fuzzerutil::IsFreshId(ir_context, message_.fresh_id())) { in IsApplicable()
69 ir_context, SpvOpTypeFloat, 0, message_.fresh_id(), in Apply()
74 fuzzerutil::UpdateModuleIdBound(ir_context, message_.fresh_id()); in Apply()
89 return {message_.fresh_id()}; in GetFreshIds()

1234567891011