Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dbasic_block.cpp227 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
230 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
231 new_block->SetParent(GetParent()); in SplitBasicBlock()
233 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
236 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
237 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
240 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
245 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
256 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
257 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp137 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
140 new_block->SetParent(this); in InsertBasicBlockAfter()
142 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
Dmerge_return_pass.cpp706 auto new_block = &*pos.InsertBefore(std::move(block)); in CreateContinueTarget() local
707 new_block->SetParent(function_); in CreateContinueTarget()
709 context()->AnalyzeDefUse(new_block->GetLabelInst()); in CreateContinueTarget()
710 context()->set_instr_block(new_block->GetLabelInst(), new_block); in CreateContinueTarget()
713 context(), new_block, in CreateContinueTarget()
719 cfg()->RegisterBlock(new_block); in CreateContinueTarget()
722 return new_block; in CreateContinueTarget()
Dloop_fusion.cpp523 uint32_t new_block) { in ReplacePhiParentWith() argument
525 inst->SetInOperand(1, {new_block}); in ReplacePhiParentWith()
527 inst->SetInOperand(3, {new_block}); in ReplacePhiParentWith()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dbasic_block.cpp227 BasicBlock* new_block = new_block_temp.get(); in SplitBasicBlock() local
230 new_block->insts_.Splice(new_block->end(), &insts_, iter, end()); in SplitBasicBlock()
231 new_block->SetParent(GetParent()); in SplitBasicBlock()
233 context->AnalyzeDefUse(new_block->GetLabelInst()); in SplitBasicBlock()
236 const_cast<const BasicBlock*>(new_block)->ForEachSuccessorLabel( in SplitBasicBlock()
237 [new_block, this, context](const uint32_t label) { in SplitBasicBlock()
240 [this, new_block, context](Instruction* phi_inst) { in SplitBasicBlock()
245 phi_inst->SetInOperand(i, {new_block->id()}); in SplitBasicBlock()
256 context->set_instr_block(new_block->GetLabelInst(), new_block); in SplitBasicBlock()
257 new_block->ForEachInst([new_block, context](Instruction* inst) { in SplitBasicBlock()
[all …]
Dfunction.cpp89 std::unique_ptr<BasicBlock>&& new_block, BasicBlock* position) { in InsertBasicBlockAfter() argument
92 new_block->SetParent(this); in InsertBasicBlockAfter()
94 bb_iter = bb_iter.InsertBefore(std::move(new_block)); in InsertBasicBlockAfter()
Dmerge_return_pass.cpp690 auto new_block = &*pos.InsertBefore(std::move(block)); in CreateContinueTarget() local
691 new_block->SetParent(function_); in CreateContinueTarget()
693 context()->AnalyzeDefUse(new_block->GetLabelInst()); in CreateContinueTarget()
694 context()->set_instr_block(new_block->GetLabelInst(), new_block); in CreateContinueTarget()
697 context(), new_block, in CreateContinueTarget()
703 cfg()->RegisterBlock(new_block); in CreateContinueTarget()
706 return new_block; in CreateContinueTarget()
Dloop_fusion.cpp523 uint32_t new_block) { in ReplacePhiParentWith() argument
525 inst->SetInOperand(1, {new_block}); in ReplacePhiParentWith()
527 inst->SetInOperand(3, {new_block}); in ReplacePhiParentWith()
/external/markdown/markdown/extensions/
Dimagelinks.py68 new_block = "<div><br/><center><span class='image-links'>\n"
74 new_block += "&nbsp;"
75 new_block += IMAGE_LINK % (photo_url,
81 new_block += "<br/>"
83 new_block += "</span>"
84 new_block += SLIDESHOW_LINK % url.get_slideshow()
90 new_block += ALBUM_LINK % (album_urls[0], "complete album")
93 new_block += ALBUM_LINK % (album_urls[i],
96 new_lines.append(new_block + "</center><br/></div>")
/external/mesa3d/src/compiler/nir/
Dnir_control_flow.c195 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_beginning() local
196 new_block->cf_node.parent = block->cf_node.parent; in split_block_beginning()
197 exec_node_insert_node_before(&block->cf_node.node, &new_block->cf_node.node); in split_block_beginning()
202 replace_successor(pred, block, new_block); in split_block_beginning()
214 instr->block = new_block; in split_block_beginning()
215 exec_list_push_head(&new_block->instr_list, &instr->node); in split_block_beginning()
218 return new_block; in split_block_beginning()
338 nir_block *new_block = nir_block_create(ralloc_parent(block)); in split_block_end() local
339 new_block->cf_node.parent = block->cf_node.parent; in split_block_end()
340 exec_node_insert_after(&block->cf_node.node, &new_block->cf_node.node); in split_block_end()
[all …]
/external/e2fsprogs/e2fsck/
Demptydir.c124 blk64_t block, new_block; in empty_pass1() local
133 &new_block); in empty_pass1()
136 if (new_block == 0) in empty_pass1()
139 } while (ext2fs_test_block_bitmap2(edi->empty_dir_blocks, new_block)); in empty_pass1()
141 if (new_block == block) in empty_pass1()
143 if (new_block == 0) in empty_pass1()
145 *block_nr = new_block; in empty_pass1()
Dpass1b.c792 blk64_t new_block; in clone_file_block() local
817 new_block = cs->alloc_block; in clone_file_block()
840 new_block = 0; in clone_file_block()
843 blockcnt, &new_block); in clone_file_block()
844 if (retval == 0 && new_block != 0 && in clone_file_block()
845 EXT2FS_B2C(ctx->fs, new_block) != in clone_file_block()
849 &new_block); in clone_file_block()
859 ext2fs_block_alloc_stats2(fs, new_block, +1); in clone_file_block()
862 cs->alloc_block = new_block; in clone_file_block()
865 new_block &= ~EXT2FS_CLUSTER_MASK(fs); in clone_file_block()
[all …]
Dpass1.c3950 const char *name, int num, blk64_t *new_block) in new_table_block() argument
3954 blk64_t old_block = *new_block; in new_table_block()
3987 new_block); in new_table_block()
3992 num, ctx->block_found_map, new_block); in new_table_block()
4009 pctx.blk2 = *new_block; in new_table_block()
4015 ext2fs_mark_block_bitmap2(ctx->block_found_map, (*new_block)+i); in new_table_block()
4021 pctx.blk = (*new_block) + i; in new_table_block()
4025 pctx.blk = (*new_block) + i; in new_table_block()
4220 blk64_t new_block; in e2fsck_get_alloc_block() local
4224 &new_block); in e2fsck_get_alloc_block()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dfileio.c398 block_entry_t new_block = NULL, old_block = NULL; in ext2fs_file_write() local
445 new_block = calloc(1, sizeof(*new_block)); in ext2fs_file_write()
446 if (!new_block) { in ext2fs_file_write()
451 fs->blocksize, new_block->sha); in ext2fs_file_write()
454 new_block->sha, in ext2fs_file_write()
455 sizeof(new_block->sha)); in ext2fs_file_write()
461 free(new_block); in ext2fs_file_write()
462 new_block = NULL; in ext2fs_file_write()
471 free(new_block); in ext2fs_file_write()
472 new_block = NULL; in ext2fs_file_write()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_cfg.cpp167 bblock_t *entry = new_block(); in cfg_t()
201 next = new_block(); in cfg_t()
212 next = new_block(); in cfg_t()
224 cur_endif = new_block(); in cfg_t()
258 cur_while = new_block(); in cfg_t()
264 cur_do = new_block(); in cfg_t()
299 next = new_block(); in cfg_t()
324 next = new_block(); in cfg_t()
347 next = new_block(); in cfg_t()
448 cfg_t::new_block() in new_block() function in cfg_t
/external/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()
/external/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()
/external/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp532 struct gl_uniform_block *new_block) in link_cross_validate_uniform_block() argument
537 if (strcmp(old_block->Name, new_block->Name) == 0) in link_cross_validate_uniform_block()
538 return link_uniform_blocks_are_compatible(old_block, new_block) in link_cross_validate_uniform_block()
548 memcpy(linked_block, new_block, sizeof(*new_block)); in link_cross_validate_uniform_block()
554 new_block->Uniforms, in link_cross_validate_uniform_block()
Dlinker.h47 struct gl_uniform_block *new_block);
/external/tensorflow/tensorflow/core/profiler/internal/
Dtraceme_recorder.cc90 auto* new_block = new Block{end, nullptr}; in Push() local
91 end_block_->next = new_block; in Push()
92 end_block_ = new_block; in Push()
/external/freetype/src/base/
Dftdbgmem.c745 FT_Pointer new_block; in ft_mem_debug_realloc() local
801 new_block = (FT_Pointer)ft_mem_table_alloc( table, new_size ); in ft_mem_debug_realloc()
802 if ( !new_block ) in ft_mem_debug_realloc()
805 ft_mem_table_set( table, (FT_Byte*)new_block, new_size, delta ); in ft_mem_debug_realloc()
807 ft_memcpy( new_block, block, cur_size < new_size ? (size_t)cur_size in ft_mem_debug_realloc()
818 return new_block; in ft_mem_debug_realloc()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_libdispatch_mac.cc456 void (^new_block)(size_t) = ^(size_t iteration) {
465 REAL(dispatch_apply)(iterations, queue, new_block);
474 void (^new_block)(size_t) = ^(size_t iteration) { in TSAN_INTERCEPTOR()
477 WRAP(dispatch_apply)(iterations, queue, new_block); in TSAN_INTERCEPTOR()
587 dispatch_block_t new_block = Block_copy(^(void) { in TSAN_INTERCEPTOR() local
595 REAL(dispatch_io_barrier)(channel, new_block); in TSAN_INTERCEPTOR()
596 Block_release(new_block); in TSAN_INTERCEPTOR()
/external/libpcap/
Dgencode.c451 static inline struct block *new_block(compiler_state_t *cstate, int);
618 new_block(compiler_state_t *cstate, int code) in new_block() function
643 struct block *b = new_block(cstate, BPF_RET|BPF_K); in gen_retblk()
1031 b = new_block(cstate, JMP(jtype)); in gen_ncmp()
1811 b = new_block(cstate, JMP(BPF_JEQ)); in gen_uncond()
2866 b = new_block(cstate, JMP(BPF_JEQ)); in gen_ppi_dlt_check()
3671 b1 = new_block(cstate, JMP(BPF_JSET)); in gen_llc_i()
4191 b1 = new_block(cstate, JMP(BPF_JSET)); in gen_wlanhostop()
4206 b2 = new_block(cstate, JMP(BPF_JSET)); in gen_wlanhostop()
4229 b1 = new_block(cstate, JMP(BPF_JSET)); in gen_wlanhostop()
[all …]
/external/e2fsprogs/resize/
Dresize2fs.c1806 __u64 new_block = C2B(ext2fs_extent_translate(extent, B2C(old_loc))); in extent_translate() local
1808 if (new_block != 0) in extent_translate()
1809 new_block += old_loc & (EXT2FS_CLUSTER_RATIO(fs) - 1); in extent_translate()
1810 return new_block; in extent_translate()
1831 blk64_t block, new_block; in process_block() local
1837 new_block = extent_translate(fs, pb->rfs->bmap, block); in process_block()
1838 if (new_block) { in process_block()
1839 *block_nr = new_block; in process_block()
1846 new_block); in process_block()
1848 block = new_block; in process_block()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dexpand-foldable-isel.ll23 …node_structEPNS_15ot_block_structEPNS_12ot_id_structE(%"struct.pov::ot_block_struct"* %new_block) {
52 …store %"struct.pov::ot_block_struct"* %new_block, %"struct.pov::ot_block_struct"** %Values, align 8

12