Home
last modified time | relevance | path

Searched refs:insert_before_inst (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_mutate_pointer.cpp43 auto* insert_before_inst = in IsApplicable() local
47 if (!insert_before_inst) { in IsApplicable()
55 insert_before_inst)) { in IsApplicable()
80 ir_context, insert_before_inst, constant_id) && in IsApplicable()
86 ir_context, insert_before_inst, pointer_inst->result_id()); in IsApplicable()
92 auto* insert_before_inst = in Apply() local
94 assert(insert_before_inst && "|insert_before| descriptor is invalid"); in Apply()
100 insert_before_inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
106 insert_before_inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
115 insert_before_inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
Dtransformation_add_copy_memory.cpp99 auto* insert_before_inst = in Apply() local
101 assert(insert_before_inst); in Apply()
104 ir_context->get_instr_block(insert_before_inst), insert_before_inst); in Apply()
127 ir_context->get_instr_block(insert_before_inst) in Apply()
Dtransformation_add_synonym.cpp65 auto* insert_before_inst = in IsApplicable() local
67 if (!insert_before_inst) { in IsApplicable()
72 ir_context->get_instr_block(insert_before_inst); in IsApplicable()
86 insert_before_inst)) { in IsApplicable()
98 ir_context, insert_before_inst, message_.result_id()); in IsApplicable()
Dtransformation_replace_constant_with_uniform.cpp254 auto* insert_before_inst = GetInsertBeforeInstruction(ir_context); in Apply() local
255 assert(insert_before_inst && in Apply()
259 insert_before_inst->InsertBefore( in Apply()
263 insert_before_inst->InsertBefore( in Apply()
Dtransformation_composite_construct.cpp110 auto insert_before_inst = in Apply() local
112 auto destination_block = ir_context->get_instr_block(insert_before_inst); in Apply()
114 destination_block, insert_before_inst); in Apply()
Dtransformation_propagate_instruction_up.cpp185 auto* insert_before_inst = fuzzerutil::GetLastInsertBeforeInstruction( in Apply() local
187 assert(insert_before_inst && "Can't insert |clone| into |predecessor_id"); in Apply()
189 insert_before_inst->InsertBefore(std::move(clone)); in Apply()
Dtransformation_propagate_instruction_down.cpp102 auto* insert_before_inst = GetFirstInsertBeforeInstruction( in Apply() local
104 assert(insert_before_inst && "Can't insert into one of the successors"); in Apply()
106 insert_before_inst->InsertBefore(std::move(clone)); in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_mutate_pointer.cpp43 auto* insert_before_inst = in IsApplicable() local
47 if (!insert_before_inst) { in IsApplicable()
55 insert_before_inst)) { in IsApplicable()
80 ir_context, insert_before_inst, constant_id) && in IsApplicable()
86 ir_context, insert_before_inst, pointer_inst->result_id()); in IsApplicable()
92 auto* insert_before_inst = in Apply() local
94 assert(insert_before_inst && "|insert_before| descriptor is invalid"); in Apply()
100 insert_before_inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
106 insert_before_inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
115 insert_before_inst->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
Dtransformation_add_copy_memory.cpp99 auto* insert_before_inst = in Apply() local
101 assert(insert_before_inst); in Apply()
104 ir_context->get_instr_block(insert_before_inst), insert_before_inst); in Apply()
127 ir_context->get_instr_block(insert_before_inst) in Apply()
Dtransformation_add_synonym.cpp65 auto* insert_before_inst = in IsApplicable() local
67 if (!insert_before_inst) { in IsApplicable()
72 ir_context->get_instr_block(insert_before_inst); in IsApplicable()
86 insert_before_inst)) { in IsApplicable()
98 ir_context, insert_before_inst, message_.result_id()); in IsApplicable()
Dtransformation_replace_constant_with_uniform.cpp254 auto* insert_before_inst = GetInsertBeforeInstruction(ir_context); in Apply() local
255 assert(insert_before_inst && in Apply()
259 insert_before_inst->InsertBefore( in Apply()
263 insert_before_inst->InsertBefore( in Apply()
Dtransformation_composite_construct.cpp110 auto insert_before_inst = in Apply() local
112 auto destination_block = ir_context->get_instr_block(insert_before_inst); in Apply()
114 destination_block, insert_before_inst); in Apply()
Dtransformation_propagate_instruction_up.cpp185 auto* insert_before_inst = fuzzerutil::GetLastInsertBeforeInstruction( in Apply() local
187 assert(insert_before_inst && "Can't insert |clone| into |predecessor_id"); in Apply()
189 insert_before_inst->InsertBefore(std::move(clone)); in Apply()
Dtransformation_propagate_instruction_down.cpp102 auto* insert_before_inst = GetFirstInsertBeforeInstruction( in Apply() local
104 assert(insert_before_inst && "Can't insert into one of the successors"); in Apply()
106 insert_before_inst->InsertBefore(std::move(clone)); in Apply()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_mutate_pointer.cpp43 auto* insert_before_inst = in IsApplicable() local
47 if (!insert_before_inst) { in IsApplicable()
55 insert_before_inst)) { in IsApplicable()
80 ir_context, insert_before_inst, constant_id) && in IsApplicable()
86 ir_context, insert_before_inst, pointer_inst->result_id()); in IsApplicable()
92 auto* insert_before_inst = in Apply() local
94 assert(insert_before_inst && "|insert_before| descriptor is invalid"); in Apply()
96 ir_context->get_instr_block(insert_before_inst); in Apply()
107 insert_before_inst->InsertBefore(std::move(backup_instruction)); in Apply()
120 insert_before_inst->InsertBefore(std::move(new_value_instruction)); in Apply()
[all …]
Dtransformation_replace_constant_with_uniform.cpp253 auto* insert_before_inst = GetInsertBeforeInstruction(ir_context); in Apply() local
254 assert(insert_before_inst && in Apply()
257 ir_context->get_instr_block(insert_before_inst); in Apply()
263 insert_before_inst->InsertBefore(std::move(access_chain_instruction)); in Apply()
271 insert_before_inst->InsertBefore(std::move(load_instruction)); in Apply()
Dtransformation_add_copy_memory.cpp99 auto* insert_before_inst = in Apply() local
101 assert(insert_before_inst); in Apply()
103 ir_context->get_instr_block(insert_before_inst); in Apply()
130 enclosing_block, insert_before_inst); in Apply()
Dtransformation_add_synonym.cpp65 auto* insert_before_inst = in IsApplicable() local
67 if (!insert_before_inst) { in IsApplicable()
72 ir_context->get_instr_block(insert_before_inst); in IsApplicable()
86 insert_before_inst)) { in IsApplicable()
98 ir_context, insert_before_inst, message_.result_id()); in IsApplicable()
Dtransformation_composite_construct.cpp110 auto insert_before_inst = in Apply() local
112 auto destination_block = ir_context->get_instr_block(insert_before_inst); in Apply()
114 destination_block, insert_before_inst); in Apply()
Dtransformation_propagate_instruction_up.cpp185 auto* insert_before_inst = fuzzerutil::GetLastInsertBeforeInstruction( in Apply() local
187 assert(insert_before_inst && "Can't insert |clone| into |predecessor_id"); in Apply()
189 insert_before_inst->InsertBefore(std::move(clone)); in Apply()
Dtransformation_propagate_instruction_down.cpp102 auto* insert_before_inst = GetFirstInsertBeforeInstruction( in Apply() local
104 assert(insert_before_inst && "Can't insert into one of the successors"); in Apply()
106 insert_before_inst->InsertBefore(std::move(clone)); in Apply()