Home
last modified time | relevance | path

Searched refs:AddInstruction (Results 1 – 25 of 99) sorted by relevance

1234

/third_party/spirv-tools/source/opt/
Dir_builder.h71 return AddInstruction(std::move(new_inst)); in AddNullaryOp()
85 return AddInstruction(std::move(newUnOp)); in AddUnaryOp()
101 return AddInstruction(std::move(newBinOp)); in AddBinaryOp()
118 return AddInstruction(std::move(newTernOp)); in AddTernaryOp()
137 return AddInstruction(std::move(newQuadOp)); in AddQuadOp()
153 return AddInstruction(std::move(newBinOp)); in AddIdLiteralOp()
171 return AddInstruction(std::move(new_inst));
184 return AddInstruction(std::move(new_branch_merge));
198 return AddInstruction(std::move(new_branch_merge));
208 return AddInstruction(std::move(new_branch)); in AddBranch()
[all …]
Dir_loader.cpp54 bool IrLoader::AddInstruction(const spv_parsed_instruction_t* inst) { in AddInstruction() function in spvtools::opt::IrLoader
173 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
247 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
254 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
282 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
303 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
310 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
334 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
Dinline_pass.cpp62 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranch()
73 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranchCond()
83 (*block_ptr)->AddInstruction(std::move(newLoopMerge)); in AddLoopMerge()
98 (*block_ptr)->AddInstruction(std::move(newStore)); in AddStore()
112 (*block_ptr)->AddInstruction(std::move(newLoad)); in AddLoad()
249 (*block_ptr)->AddInstruction(std::move(sb_inst)); in CloneSameBlockOps()
273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock()
358 new_blk_ptr->AddInstruction(std::move(cp_inst)); in InlineSingleInstruction()
485 new_blk_ptr->get()->AddInstruction(std::move(cp_inst)); in MoveCallerInstsAfterFunctionCall()
532 new_block->AddInstruction(std::move(br)); in UpdateSingleBlockLoopContinueTarget()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dir_builder.h71 return AddInstruction(std::move(new_inst)); in AddNullaryOp()
85 return AddInstruction(std::move(newUnOp)); in AddUnaryOp()
101 return AddInstruction(std::move(newBinOp)); in AddBinaryOp()
118 return AddInstruction(std::move(newTernOp)); in AddTernaryOp()
137 return AddInstruction(std::move(newQuadOp)); in AddQuadOp()
153 return AddInstruction(std::move(newBinOp)); in AddIdLiteralOp()
171 return AddInstruction(std::move(new_inst));
184 return AddInstruction(std::move(new_branch_merge));
198 return AddInstruction(std::move(new_branch_merge));
208 return AddInstruction(std::move(new_branch)); in AddBranch()
[all …]
Dir_loader.cpp54 bool IrLoader::AddInstruction(const spv_parsed_instruction_t* inst) { in AddInstruction() function in spvtools::opt::IrLoader
173 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
244 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
251 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
279 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
300 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
307 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
331 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
Dinline_pass.cpp62 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranch()
73 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranchCond()
83 (*block_ptr)->AddInstruction(std::move(newLoopMerge)); in AddLoopMerge()
98 (*block_ptr)->AddInstruction(std::move(newStore)); in AddStore()
112 (*block_ptr)->AddInstruction(std::move(newLoad)); in AddLoad()
249 (*block_ptr)->AddInstruction(std::move(sb_inst)); in CloneSameBlockOps()
273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock()
358 new_blk_ptr->AddInstruction(std::move(cp_inst)); in InlineSingleInstruction()
485 new_blk_ptr->get()->AddInstruction(std::move(cp_inst)); in MoveCallerInstsAfterFunctionCall()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_builder.h71 return AddInstruction(std::move(new_inst)); in AddNullaryOp()
85 return AddInstruction(std::move(newUnOp)); in AddUnaryOp()
101 return AddInstruction(std::move(newBinOp)); in AddBinaryOp()
118 return AddInstruction(std::move(newTernOp)); in AddTernaryOp()
137 return AddInstruction(std::move(newQuadOp)); in AddQuadOp()
153 return AddInstruction(std::move(newBinOp)); in AddIdLiteralOp()
171 return AddInstruction(std::move(new_inst));
184 return AddInstruction(std::move(new_branch_merge));
198 return AddInstruction(std::move(new_branch_merge));
208 return AddInstruction(std::move(new_branch)); in AddBranch()
[all …]
Dir_loader.cpp54 bool IrLoader::AddInstruction(const spv_parsed_instruction_t* inst) { in AddInstruction() function in spvtools::opt::IrLoader
173 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
244 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
251 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
279 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
300 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
307 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
331 block_->AddInstruction(std::move(spv_inst)); in AddInstruction()
Dinline_pass.cpp62 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranch()
73 (*block_ptr)->AddInstruction(std::move(newBranch)); in AddBranchCond()
83 (*block_ptr)->AddInstruction(std::move(newLoopMerge)); in AddLoopMerge()
98 (*block_ptr)->AddInstruction(std::move(newStore)); in AddStore()
112 (*block_ptr)->AddInstruction(std::move(newLoad)); in AddLoad()
249 (*block_ptr)->AddInstruction(std::move(sb_inst)); in CloneSameBlockOps()
273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock()
358 new_blk_ptr->AddInstruction(std::move(cp_inst)); in InlineSingleInstruction()
485 new_blk_ptr->get()->AddInstruction(std::move(cp_inst)); in MoveCallerInstsAfterFunctionCall()
Dinst_buff_addr_check_pass.cpp36 Instruction* added_inst = builder->AddInstruction(std::move(new_ref_inst)); in CloneOriginalReference()
258 (void)builder.AddInstruction(MakeUnique<Instruction>( in GetSearchAndTestFuncId()
289 (void)builder.AddInstruction(std::move(idx_phi_inst)); in GetSearchAndTestFuncId()
294 (void)builder.AddInstruction(MakeUnique<Instruction>( in GetSearchAndTestFuncId()
301 (void)builder.AddInstruction(MakeUnique<Instruction>( in GetSearchAndTestFuncId()
311 (void)builder.AddInstruction(std::move(idx_inc_inst)); in GetSearchAndTestFuncId()
384 (void)builder.AddInstruction(MakeUnique<Instruction>( in GetSearchAndTestFuncId()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_loop_to_create_int_constant_synonym.cpp270 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
278 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
347 additional_block->AddInstruction(std::move(instruction)); in Apply()
350 additional_block->AddInstruction(std::move(conditional_branch)); in Apply()
353 loop_block->AddInstruction(std::move(merge_inst)); in Apply()
356 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
371 loop_block->AddInstruction(std::move(instruction)); in Apply()
375 loop_block->AddInstruction(std::move(merge_inst)); in Apply()
376 loop_block->AddInstruction(std::move(conditional_branch)); in Apply()
Dforce_render_red.cpp211 new_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
235 new_entry_block->AddInstruction(std::move(red)); in ForceRenderRed()
243 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
315 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
347 new_entry_block->AddInstruction( in ForceRenderRed()
Dtransformation_duplicate_region_with_selection.cpp447 duplicated_block->AddInstruction( in Apply()
499 merge_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
539 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
546 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
559 merge_block->AddInstruction(std::unique_ptr<opt::Instruction>(cloned_instr)); in Apply()
569 exit_block->AddInstruction(MakeUnique<opt::Instruction>(merge_branch_instr)); in Apply()
570 duplicated_exit_block->AddInstruction( in Apply()
Dtransformation_replace_opselect_with_conditional_branch.cpp123 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
138 predecessor->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
160 predecessor->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
Dtransformation_outline_function.cpp799 outlined_region_entry_block->AddInstruction( in PopulateOutlinedFunction()
872 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
887 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
891 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
965 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
979 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
985 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
998 original_region_entry_block->AddInstruction( in ShrinkOriginalRegion()
1001 original_region_entry_block->AddInstruction( in ShrinkOriginalRegion()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_loop_to_create_int_constant_synonym.cpp270 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
278 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
347 additional_block->AddInstruction(std::move(instruction)); in Apply()
350 additional_block->AddInstruction(std::move(conditional_branch)); in Apply()
353 loop_block->AddInstruction(std::move(merge_inst)); in Apply()
356 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
371 loop_block->AddInstruction(std::move(instruction)); in Apply()
375 loop_block->AddInstruction(std::move(merge_inst)); in Apply()
376 loop_block->AddInstruction(std::move(conditional_branch)); in Apply()
Dforce_render_red.cpp211 new_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
235 new_entry_block->AddInstruction(std::move(red)); in ForceRenderRed()
243 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
315 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
347 new_entry_block->AddInstruction( in ForceRenderRed()
Dtransformation_duplicate_region_with_selection.cpp447 duplicated_block->AddInstruction( in Apply()
499 merge_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
539 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
546 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
559 merge_block->AddInstruction(std::unique_ptr<opt::Instruction>(cloned_instr)); in Apply()
569 exit_block->AddInstruction(MakeUnique<opt::Instruction>(merge_branch_instr)); in Apply()
570 duplicated_exit_block->AddInstruction( in Apply()
Dtransformation_replace_opselect_with_conditional_branch.cpp123 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
138 predecessor->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
160 predecessor->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
Dtransformation_outline_function.cpp799 outlined_region_entry_block->AddInstruction( in PopulateOutlinedFunction()
872 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
887 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
891 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
965 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
979 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
985 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
998 original_region_entry_block->AddInstruction( in ShrinkOriginalRegion()
1001 original_region_entry_block->AddInstruction( in ShrinkOriginalRegion()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_loop_to_create_int_constant_synonym.cpp270 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
278 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
347 additional_block->AddInstruction(std::move(instruction)); in Apply()
350 additional_block->AddInstruction(std::move(conditional_branch)); in Apply()
353 loop_block->AddInstruction(std::move(merge_inst)); in Apply()
356 loop_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
371 loop_block->AddInstruction(std::move(instruction)); in Apply()
375 loop_block->AddInstruction(std::move(merge_inst)); in Apply()
376 loop_block->AddInstruction(std::move(conditional_branch)); in Apply()
Dforce_render_red.cpp211 new_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
235 new_entry_block->AddInstruction(std::move(red)); in ForceRenderRed()
243 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
315 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ForceRenderRed()
347 new_entry_block->AddInstruction( in ForceRenderRed()
Dtransformation_duplicate_region_with_selection.cpp447 duplicated_block->AddInstruction( in Apply()
499 merge_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
539 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
546 new_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
559 merge_block->AddInstruction(std::unique_ptr<opt::Instruction>(cloned_instr)); in Apply()
569 exit_block->AddInstruction(MakeUnique<opt::Instruction>(merge_branch_instr)); in Apply()
570 duplicated_exit_block->AddInstruction( in Apply()
Dtransformation_replace_opselect_with_conditional_branch.cpp123 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
138 predecessor->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
160 predecessor->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
Dtransformation_outline_function.cpp799 outlined_region_entry_block->AddInstruction( in PopulateOutlinedFunction()
872 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
887 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
891 outlined_region_exit_block->AddInstruction(MakeUnique<opt::Instruction>( in PopulateOutlinedFunction()
965 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
979 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
985 original_region_entry_block->AddInstruction(MakeUnique<opt::Instruction>( in ShrinkOriginalRegion()
998 original_region_entry_block->AddInstruction( in ShrinkOriginalRegion()
1001 original_region_entry_block->AddInstruction( in ShrinkOriginalRegion()

1234