Home
last modified time | relevance | path

Searched refs:new_bb (Results 1 – 11 of 11) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dtst_badblocks.c174 badblocks_list new_bb = 0; in file_test() local
191 retval = ext2fs_read_bb_FILE2(0, f, &new_bb, 0, 0); in file_test()
198 if (ext2fs_badblocks_equal(bb, new_bb)) { in file_test()
204 ext2fs_badblocks_list_free(new_bb); in file_test()
221 badblocks_list new_bb = 0; in file_test_invalid() local
251 retval = ext2fs_read_bb_FILE(fs, f, &new_bb, invalid_proc); in file_test_invalid()
264 if (ext2fs_badblocks_equal(bb, new_bb)) { in file_test_invalid()
270 ext2fs_badblocks_list_free(new_bb); in file_test_invalid()
/external/bpftool/src/
Dcfg.c91 struct bb_node *new_bb, *bb; in func_append_bb() local
101 new_bb = calloc(1, sizeof(*new_bb)); in func_append_bb()
102 if (!new_bb) { in func_append_bb()
106 new_bb->head = insn; in func_append_bb()
107 INIT_LIST_HEAD(&new_bb->e_prevs); in func_append_bb()
108 INIT_LIST_HEAD(&new_bb->e_succs); in func_append_bb()
109 list_add(&new_bb->l, &bb->l); in func_append_bb()
111 return new_bb; in func_append_bb()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_utils.cpp563 BasicBlock* new_bb = old_bb->Clone(context_); in CloneLoop() local
564 new_bb->SetParent(&function_); in CloneLoop()
566 new_bb->GetLabelInst()->SetResultId(context_->TakeNextId()); in CloneLoop()
567 def_use_mgr->AnalyzeInstDef(new_bb->GetLabelInst()); in CloneLoop()
568 context_->set_instr_block(new_bb->GetLabelInst(), new_bb); in CloneLoop()
569 cloning_result->cloned_bb_.emplace_back(new_bb); in CloneLoop()
571 cloning_result->old_to_new_bb_[old_bb->id()] = new_bb; in CloneLoop()
572 cloning_result->new_to_old_bb_[new_bb->id()] = old_bb; in CloneLoop()
573 cloning_result->value_map_[old_bb->id()] = new_bb->id(); in CloneLoop()
575 if (loop_->IsInsideLoop(old_bb)) new_loop->AddBasicBlock(new_bb); in CloneLoop()
[all …]
Dloop_peeling.cpp352 std::unique_ptr<BasicBlock> new_bb = in CreateBlockBefore() local
358 in_loop->AddBasicBlock(new_bb.get()); in CreateBlockBefore()
359 loop_utils_.GetLoopDescriptor()->SetBasicBlockToLoop(new_bb->id(), in_loop); in CreateBlockBefore()
362 context_->set_instr_block(new_bb->GetLabelInst(), new_bb.get()); in CreateBlockBefore()
363 def_use_mgr->AnalyzeInstDefUse(new_bb->GetLabelInst()); in CreateBlockBefore()
366 bb_pred->tail()->ForEachInId([bb, &new_bb](uint32_t* id) { in CreateBlockBefore()
368 *id = new_bb->id(); in CreateBlockBefore()
372 cfg.AddEdge(bb_pred->id(), new_bb->id()); in CreateBlockBefore()
376 bb->ForEachPhiInst([&new_bb, def_use_mgr](Instruction* phi) { in CreateBlockBefore()
377 phi->SetInOperand(1, {new_bb->id()}); in CreateBlockBefore()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_utils.cpp564 BasicBlock* new_bb = old_bb->Clone(context_); in CloneLoop() local
565 new_bb->SetParent(&function_); in CloneLoop()
567 new_bb->GetLabelInst()->SetResultId(context_->TakeNextId()); in CloneLoop()
568 def_use_mgr->AnalyzeInstDef(new_bb->GetLabelInst()); in CloneLoop()
569 context_->set_instr_block(new_bb->GetLabelInst(), new_bb); in CloneLoop()
570 cloning_result->cloned_bb_.emplace_back(new_bb); in CloneLoop()
572 cloning_result->old_to_new_bb_[old_bb->id()] = new_bb; in CloneLoop()
573 cloning_result->new_to_old_bb_[new_bb->id()] = old_bb; in CloneLoop()
574 cloning_result->value_map_[old_bb->id()] = new_bb->id(); in CloneLoop()
576 if (loop_->IsInsideLoop(old_bb)) new_loop->AddBasicBlock(new_bb); in CloneLoop()
[all …]
Dloop_peeling.cpp351 std::unique_ptr<BasicBlock> new_bb = in CreateBlockBefore() local
357 in_loop->AddBasicBlock(new_bb.get()); in CreateBlockBefore()
358 loop_utils_.GetLoopDescriptor()->SetBasicBlockToLoop(new_bb->id(), in_loop); in CreateBlockBefore()
361 context_->set_instr_block(new_bb->GetLabelInst(), new_bb.get()); in CreateBlockBefore()
362 def_use_mgr->AnalyzeInstDefUse(new_bb->GetLabelInst()); in CreateBlockBefore()
365 bb_pred->tail()->ForEachInId([bb, &new_bb](uint32_t* id) { in CreateBlockBefore()
367 *id = new_bb->id(); in CreateBlockBefore()
371 cfg.AddEdge(bb_pred->id(), new_bb->id()); in CreateBlockBefore()
375 bb->ForEachPhiInst([&new_bb, def_use_mgr](Instruction* phi) { in CreateBlockBefore()
376 phi->SetInOperand(1, {new_bb->id()}); in CreateBlockBefore()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_utils.cpp563 BasicBlock* new_bb = old_bb->Clone(context_); in CloneLoop() local
564 new_bb->SetParent(&function_); in CloneLoop()
566 new_bb->GetLabelInst()->SetResultId(context_->TakeNextId()); in CloneLoop()
567 def_use_mgr->AnalyzeInstDef(new_bb->GetLabelInst()); in CloneLoop()
568 context_->set_instr_block(new_bb->GetLabelInst(), new_bb); in CloneLoop()
569 cloning_result->cloned_bb_.emplace_back(new_bb); in CloneLoop()
571 cloning_result->old_to_new_bb_[old_bb->id()] = new_bb; in CloneLoop()
572 cloning_result->new_to_old_bb_[new_bb->id()] = old_bb; in CloneLoop()
573 cloning_result->value_map_[old_bb->id()] = new_bb->id(); in CloneLoop()
575 if (loop_->IsInsideLoop(old_bb)) new_loop->AddBasicBlock(new_bb); in CloneLoop()
[all …]
Dloop_peeling.cpp353 std::unique_ptr<BasicBlock> new_bb = in CreateBlockBefore() local
359 in_loop->AddBasicBlock(new_bb.get()); in CreateBlockBefore()
360 loop_utils_.GetLoopDescriptor()->SetBasicBlockToLoop(new_bb->id(), in_loop); in CreateBlockBefore()
363 context_->set_instr_block(new_bb->GetLabelInst(), new_bb.get()); in CreateBlockBefore()
364 def_use_mgr->AnalyzeInstDefUse(new_bb->GetLabelInst()); in CreateBlockBefore()
367 bb_pred->tail()->ForEachInId([bb, &new_bb](uint32_t* id) { in CreateBlockBefore()
369 *id = new_bb->id(); in CreateBlockBefore()
373 cfg.AddEdge(bb_pred->id(), new_bb->id()); in CreateBlockBefore()
377 bb->ForEachPhiInst([&new_bb, def_use_mgr](Instruction* phi) { in CreateBlockBefore()
378 phi->SetInOperand(1, {new_bb->id()}); in CreateBlockBefore()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_split_block.cpp108 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply() local
127 new_bb->ForEachPhiInst([block_to_split, in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_split_block.cpp108 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply() local
127 new_bb->ForEachPhiInst([block_to_split, in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_split_block.cpp108 auto new_bb = block_to_split->SplitBasicBlock(ir_context, message_.fresh_id(), in Apply() local
127 new_bb->ForEachPhiInst([block_to_split, in Apply()