Home
last modified time | relevance | path

Searched refs:new_block (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dbasic_block.cpp247 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
250 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
251 assert(new_block->GetParent() == GetParent() && in SplitBasicBlock()
254 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
257 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
258 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
261 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
266 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
277 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
278 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp203 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
206 new_block->SetParent(this); in InsertBasicBlockAfter()
208 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
217 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockBefore() argument
220 new_block->SetParent(this); in InsertBasicBlockBefore()
221 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockBefore()
Dreplace_desc_array_access_using_var_index.cpp319 auto* new_block = new BasicBlock(std::unique_ptr<Instruction>( in CreateNewBlock() local
321 get_def_use_mgr()->AnalyzeInstDefUse(new_block->GetLabelInst()); in CreateNewBlock()
322 context()->set_instr_block(new_block->GetLabelInst(), new_block); in CreateNewBlock()
323 return new_block; in CreateNewBlock()
/third_party/spirv-tools/source/opt/
Dbasic_block.cpp247 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
250 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
251 assert(new_block->GetParent() == GetParent() && in SplitBasicBlock()
254 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
257 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
258 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
261 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
266 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
277 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
278 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp203 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
206 new_block->SetParent(this); in InsertBasicBlockAfter()
208 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
217 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockBefore() argument
220 new_block->SetParent(this); in InsertBasicBlockBefore()
221 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockBefore()
Dmerge_return_pass.cpp797 auto new_block = &*pos.InsertBefore(std::move(block)); in CreateContinueTarget() local
798 new_block->SetParent(function_); in CreateContinueTarget()
800 context()->AnalyzeDefUse(new_block->GetLabelInst()); in CreateContinueTarget()
801 context()->set_instr_block(new_block->GetLabelInst(), new_block); in CreateContinueTarget()
804 context(), new_block, in CreateContinueTarget()
810 cfg()->RegisterBlock(new_block); in CreateContinueTarget()
813 return new_block; in CreateContinueTarget()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dbasic_block.cpp247 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
250 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
251 assert(new_block->GetParent() == GetParent() && in SplitBasicBlock()
254 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
257 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
258 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
261 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
266 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
277 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
278 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp203 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
206 new_block->SetParent(this); in InsertBasicBlockAfter()
208 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
217 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockBefore() argument
220 new_block->SetParent(this); in InsertBasicBlockBefore()
221 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockBefore()
Dreplace_desc_array_access_using_var_index.cpp319 auto* new_block = new BasicBlock(std::unique_ptr<Instruction>( in CreateNewBlock() local
321 get_def_use_mgr()->AnalyzeInstDefUse(new_block->GetLabelInst()); in CreateNewBlock()
322 context()->set_instr_block(new_block->GetLabelInst(), new_block); in CreateNewBlock()
323 return new_block; in CreateNewBlock()
/third_party/mesa3d/src/compiler/nir/
Dnir_control_flow.c188 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_beginning() local
189 new_block->cf_node.parent = block->cf_node.parent; in split_block_beginning()
190 exec_node_insert_node_before(&block->cf_node.node, &new_block->cf_node.node); in split_block_beginning()
194 replace_successor(pred, block, new_block); in split_block_beginning()
205 instr->block = new_block; in split_block_beginning()
206 exec_list_push_tail(&new_block->instr_list, &instr->node); in split_block_beginning()
209 return new_block; in split_block_beginning()
322 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_end() local
323 new_block->cf_node.parent = block->cf_node.parent; in split_block_end()
324 exec_node_insert_after(&block->cf_node.node, &new_block->cf_node.node); in split_block_end()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_cfg.cpp180 bblock_t *entry = new_block(); in cfg_t()
214 next = new_block(); in cfg_t()
225 next = new_block(); in cfg_t()
238 cur_endif = new_block(); in cfg_t()
272 cur_while = new_block(); in cfg_t()
278 cur_do = new_block(); in cfg_t()
313 next = new_block(); in cfg_t()
338 next = new_block(); in cfg_t()
364 next = new_block(); in cfg_t()
473 cfg_t::new_block() in new_block() function in cfg_t
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c59 LLVMBasicBlockRef new_block; in lp_build_insert_new_block() local
68 new_block = LLVMInsertBasicBlockInContext(gallivm->context, next_block, name); in lp_build_insert_new_block()
73 new_block = LLVMAppendBasicBlockInContext(gallivm->context, function, name); in lp_build_insert_new_block()
76 return new_block; in lp_build_insert_new_block()
102 LLVMBasicBlockRef new_block; in lp_build_flow_skip_cond_break() local
104 new_block = lp_build_insert_new_block(skip->gallivm, ""); in lp_build_flow_skip_cond_break()
107 LLVMBuildCondBr(skip->gallivm->builder, cond, skip->block, new_block); in lp_build_flow_skip_cond_break()
109 LLVMPositionBuilderAtEnd(skip->gallivm->builder, new_block); in lp_build_flow_skip_cond_break()
/third_party/freetype/builds/amiga/src/base/
Dftsystem.c178 void* new_block; in ft_realloc() local
181 new_block = AllocVecPooled ( memory->user, new_size ); in ft_realloc()
183 new_block = Alloc_VecPooled ( memory->user, new_size ); in ft_realloc()
185 if ( new_block != NULL ) in ft_realloc()
187 CopyMem ( block, new_block, in ft_realloc()
195 return new_block; in ft_realloc()
/third_party/flutter/skia/third_party/externals/freetype/builds/amiga/src/base/
Dftsystem.c178 void* new_block; in ft_realloc() local
181 new_block = AllocVecPooled ( memory->user, new_size ); in ft_realloc()
183 new_block = Alloc_VecPooled ( memory->user, new_size ); in ft_realloc()
185 if ( new_block != NULL ) in ft_realloc()
187 CopyMem ( block, new_block, in ft_realloc()
195 return new_block; in ft_realloc()
/third_party/skia/third_party/externals/freetype/builds/amiga/src/base/
Dftsystem.c178 void* new_block; in ft_realloc() local
181 new_block = AllocVecPooled ( memory->user, new_size ); in ft_realloc()
183 new_block = Alloc_VecPooled ( memory->user, new_size ); in ft_realloc()
185 if ( new_block != NULL ) in ft_realloc()
187 CopyMem ( block, new_block, in ft_realloc()
195 return new_block; in ft_realloc()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c180 struct gl_uniform_block *new_block) in link_cross_validate_uniform_block() argument
186 if (old_block->Binding == new_block->Binding) in link_cross_validate_uniform_block()
187 return link_blocks_are_compatible(old_block, new_block) ? i : -1; in link_cross_validate_uniform_block()
196 memcpy(linked_block, new_block, sizeof(*new_block)); in link_cross_validate_uniform_block()
202 new_block->Uniforms, in link_cross_validate_uniform_block()
Dlink_uniform_blocks.cpp536 struct gl_uniform_block *new_block) in link_cross_validate_uniform_block() argument
541 if (strcmp(old_block->name.string, new_block->name.string) == 0) in link_cross_validate_uniform_block()
542 return link_uniform_blocks_are_compatible(old_block, new_block) in link_cross_validate_uniform_block()
552 memcpy(linked_block, new_block, sizeof(*new_block)); in link_cross_validate_uniform_block()
558 new_block->Uniforms, in link_cross_validate_uniform_block()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_block.cpp123 std::unique_ptr<opt::BasicBlock> new_block = in Apply() local
127 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
Dtransformation_replace_opselect_with_conditional_branch.cpp118 auto new_block = MakeUnique<opt::BasicBlock>(MakeUnique<opt::Instruction>( in Apply() local
123 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
129 block->GetParent()->InsertBasicBlockBefore(std::move(new_block), block); in Apply()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_dead_block.cpp123 std::unique_ptr<opt::BasicBlock> new_block = in Apply() local
127 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
Dtransformation_replace_opselect_with_conditional_branch.cpp118 auto new_block = MakeUnique<opt::BasicBlock>(MakeUnique<opt::Instruction>( in Apply() local
123 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
129 block->GetParent()->InsertBasicBlockBefore(std::move(new_block), block); in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_dead_block.cpp123 std::unique_ptr<opt::BasicBlock> new_block = in Apply() local
127 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
156 enclosing_function->InsertBasicBlockAfter(std::move(new_block), in Apply()
Dtransformation_replace_opselect_with_conditional_branch.cpp118 auto new_block = MakeUnique<opt::BasicBlock>(MakeUnique<opt::Instruction>( in Apply() local
123 new_block->AddInstruction(MakeUnique<opt::Instruction>( in Apply()
129 block->GetParent()->InsertBasicBlockBefore(std::move(new_block), block); in Apply()
/third_party/skia/third_party/externals/freetype/src/base/
Dftdbgmem.c703 FT_Pointer new_block; in ft_mem_debug_realloc() local
759 new_block = (FT_Pointer)ft_mem_table_alloc( table, new_size ); in ft_mem_debug_realloc()
760 if ( !new_block ) in ft_mem_debug_realloc()
763 ft_mem_table_set( table, (FT_Byte*)new_block, new_size, delta ); in ft_mem_debug_realloc()
765 ft_memcpy( new_block, block, cur_size < new_size ? (size_t)cur_size in ft_mem_debug_realloc()
776 return new_block; in ft_mem_debug_realloc()
/third_party/freetype/src/base/
Dftdbgmem.c703 FT_Pointer new_block; in ft_mem_debug_realloc() local
759 new_block = (FT_Pointer)ft_mem_table_alloc( table, new_size ); in ft_mem_debug_realloc()
760 if ( !new_block ) in ft_mem_debug_realloc()
763 ft_mem_table_set( table, (FT_Byte*)new_block, new_size, delta ); in ft_mem_debug_realloc()
765 ft_memcpy( new_block, block, cur_size < new_size ? (size_t)cur_size in ft_mem_debug_realloc()
776 return new_block; in ft_mem_debug_realloc()

12