Home
last modified time | relevance | path

Searched refs:new_blocks (Results 1 – 25 of 33) sorted by relevance

12

/third_party/spirv-tools/source/opt/
Dinline_pass.cpp278 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in AddGuardBlock() argument
286 new_blocks->push_back(std::move(new_blk_ptr)); in AddGuardBlock()
364 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in InlineReturn() argument
393 new_blocks->push_back(std::move(new_blk_ptr)); in InlineReturn()
427 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in InlineBasicBlocks() argument
435 new_blocks->push_back(std::move(new_blk_ptr)); in InlineBasicBlocks()
492 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in MoveLoopMergeInstToFirstBlock() argument
495 auto& first = new_blocks->front(); in MoveLoopMergeInstToFirstBlock()
496 auto& last = new_blocks->back(); in MoveLoopMergeInstToFirstBlock()
512 uint32_t new_id, std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in UpdateSingleBlockLoopContinueTarget() argument
[all …]
Dinst_debug_printf_pass.cpp141 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenOutputCode() argument
142 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenOutputCode()
176 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDebugPrintfCode() argument
189 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
191 GenOutputCode(printf_inst, stage_idx, new_blocks); in GenDebugPrintfCode()
197 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenDebugPrintfCode()
208 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
221 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in ProcessImpl() argument
223 new_blocks); in ProcessImpl()
Dinst_bindless_check_pass.cpp517 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenCheckCode() argument
518 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenCheckCode()
538 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
569 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
583 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
590 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDescIdxCheckCode() argument
622 new_blocks->push_back(std::move(new_blk_ptr)); in GenDescIdxCheckCode()
640 new_blocks); in GenDescIdxCheckCode()
643 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenDescIdxCheckCode()
650 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDescInitCheckCode() argument
[all …]
Dinline_pass.h123 bool GenInlineCode(std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
148 std::vector<std::unique_ptr<BasicBlock>>& new_blocks);
187 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
207 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
222 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
237 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
243 uint32_t new_id, std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_bindless_check_pass.h101 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
106 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
111 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
178 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_buff_addr_check_pass.cpp62 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenCheckCode() argument
63 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenCheckCode()
83 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
116 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
129 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
438 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenBuffAddrCheckCode() argument
449 new_blocks->push_back(std::move(new_blk_ptr)); in GenBuffAddrCheckCode()
459 new_blocks); in GenBuffAddrCheckCode()
462 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenBuffAddrCheckCode()
478 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in ProcessImpl() argument
[all …]
Dinst_debug_printf_pass.h68 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
81 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_buff_addr_check_pass.h101 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
120 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinst_debug_printf_pass.cpp140 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenOutputCode() argument
141 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenOutputCode()
175 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDebugPrintfCode() argument
188 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
190 GenOutputCode(printf_inst, stage_idx, new_blocks); in GenDebugPrintfCode()
196 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenDebugPrintfCode()
207 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
220 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in ProcessImpl() argument
222 new_blocks); in ProcessImpl()
Dinst_bindless_check_pass.cpp524 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenCheckCode() argument
525 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenCheckCode()
545 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
576 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
590 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
597 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDescIdxCheckCode() argument
629 new_blocks->push_back(std::move(new_blk_ptr)); in GenDescIdxCheckCode()
647 new_blocks); in GenDescIdxCheckCode()
650 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenDescIdxCheckCode()
657 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDescInitCheckCode() argument
[all …]
Dinline_pass.cpp278 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in AddGuardBlock() argument
286 new_blocks->push_back(std::move(new_blk_ptr)); in AddGuardBlock()
364 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in InlineReturn() argument
393 new_blocks->push_back(std::move(new_blk_ptr)); in InlineReturn()
427 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in InlineBasicBlocks() argument
435 new_blocks->push_back(std::move(new_blk_ptr)); in InlineBasicBlocks()
492 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in MoveLoopMergeInstToFirstBlock() argument
495 auto& first = new_blocks->front(); in MoveLoopMergeInstToFirstBlock()
496 auto& last = new_blocks->back(); in MoveLoopMergeInstToFirstBlock()
512 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in GenInlineCode() argument
[all …]
Dinline_pass.h123 bool GenInlineCode(std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
148 std::vector<std::unique_ptr<BasicBlock>>& new_blocks);
187 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
207 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
222 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
237 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_bindless_check_pass.h101 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
106 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
111 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
178 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_buff_addr_check_pass.cpp62 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenCheckCode() argument
63 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenCheckCode()
83 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
116 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
129 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
436 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenBuffAddrCheckCode() argument
447 new_blocks->push_back(std::move(new_blk_ptr)); in GenBuffAddrCheckCode()
457 new_blocks); in GenBuffAddrCheckCode()
460 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenBuffAddrCheckCode()
476 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in ProcessImpl() argument
[all …]
Dinst_debug_printf_pass.h68 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
81 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_buff_addr_check_pass.h101 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
120 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_debug_printf_pass.cpp140 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenOutputCode() argument
141 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenOutputCode()
175 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDebugPrintfCode() argument
188 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
190 GenOutputCode(printf_inst, stage_idx, new_blocks); in GenDebugPrintfCode()
196 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenDebugPrintfCode()
207 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
220 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in ProcessImpl() argument
222 new_blocks); in ProcessImpl()
Dinst_bindless_check_pass.cpp524 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenCheckCode() argument
525 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenCheckCode()
545 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
576 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
590 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
597 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDescIdxCheckCode() argument
629 new_blocks->push_back(std::move(new_blk_ptr)); in GenDescIdxCheckCode()
647 new_blocks); in GenDescIdxCheckCode()
650 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenDescIdxCheckCode()
657 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenDescInitCheckCode() argument
[all …]
Dinline_pass.cpp278 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in AddGuardBlock() argument
286 new_blocks->push_back(std::move(new_blk_ptr)); in AddGuardBlock()
364 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in InlineReturn() argument
393 new_blocks->push_back(std::move(new_blk_ptr)); in InlineReturn()
427 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in InlineBasicBlocks() argument
435 new_blocks->push_back(std::move(new_blk_ptr)); in InlineBasicBlocks()
492 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in MoveLoopMergeInstToFirstBlock() argument
495 auto& first = new_blocks->front(); in MoveLoopMergeInstToFirstBlock()
496 auto& last = new_blocks->back(); in MoveLoopMergeInstToFirstBlock()
512 std::vector<std::unique_ptr<BasicBlock>>* new_blocks, in GenInlineCode() argument
[all …]
Dinline_pass.h123 bool GenInlineCode(std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
148 std::vector<std::unique_ptr<BasicBlock>>& new_blocks);
187 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
207 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
222 std::vector<std::unique_ptr<BasicBlock>>* new_blocks,
237 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_bindless_check_pass.h101 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
106 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
111 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
178 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_buff_addr_check_pass.cpp62 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenCheckCode() argument
63 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenCheckCode()
83 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
116 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
129 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode()
436 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in GenBuffAddrCheckCode() argument
447 new_blocks->push_back(std::move(new_blk_ptr)); in GenBuffAddrCheckCode()
457 new_blocks); in GenBuffAddrCheckCode()
460 BasicBlock* back_blk_ptr = &*new_blocks->back(); in GenBuffAddrCheckCode()
476 std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in ProcessImpl() argument
[all …]
Dinst_debug_printf_pass.h68 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
81 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dinst_buff_addr_check_pass.h101 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
120 std::vector<std::unique_ptr<BasicBlock>>* new_blocks);
Dloop_unroller.cpp119 new_blocks.clear(); in NextIterationState()
156 std::unordered_map<uint32_t, BasicBlock*> new_blocks; member
671 state_.new_blocks[itr->id()] = basic_block; in CopyBasicBlock()
724 for (auto& pair : state_.new_blocks) { in CopyBody()
824 state_.new_blocks[old_loop->GetMergeBlock()->id()] = new_merge; in DuplicateLoop()
828 for (auto& pair : state_.new_blocks) { in DuplicateLoop()

12