/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | inline_pass.cpp | 261 BasicBlock* new_blk_ptr, BasicBlock::iterator call_inst_itr, in MoveInstsBeforeEntryBlock() argument 273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock() 280 std::unique_ptr<BasicBlock> new_blk_ptr, uint32_t entry_blk_label_id) { in AddGuardBlock() argument 285 AddBranch(guard_block_id, &new_blk_ptr); in AddGuardBlock() 286 new_blocks->push_back(std::move(new_blk_ptr)); in AddGuardBlock() 288 new_blk_ptr = MakeUnique<BasicBlock>(NewLabel(guard_block_id)); in AddGuardBlock() 293 return new_blk_ptr; in AddGuardBlock() 299 std::unique_ptr<BasicBlock>* new_blk_ptr, in AddStoresForVariableInitializers() argument 313 AddStore(new_var_id, val_id, new_blk_ptr, callee_itr->dbg_line_inst(), in AddStoresForVariableInitializers() 319 callee2caller, new_blk_ptr->get(), &*callee_itr, in AddStoresForVariableInitializers() [all …]
|
D | inline_pass.h | 181 BasicBlock* new_blk_ptr, BasicBlock::iterator call_inst_itr, 189 std::unique_ptr<BasicBlock> new_blk_ptr, uint32_t entry_blk_label_id); 195 std::unique_ptr<BasicBlock>* new_blk_ptr, 201 BasicBlock* new_blk_ptr, const Instruction* inst, 208 std::unique_ptr<BasicBlock> new_blk_ptr, 215 std::unique_ptr<BasicBlock>* new_blk_ptr, 224 std::unique_ptr<BasicBlock> new_blk_ptr, 232 std::unique_ptr<BasicBlock>* new_blk_ptr,
|
D | inst_bindless_check_pass.cpp | 540 std::unique_ptr<BasicBlock> new_blk_ptr( in GenCheckCode() local 542 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 545 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 547 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); in GenCheckCode() 548 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 572 uint32_t last_invalid_blk_id = new_blk_ptr->GetLabelInst()->result_id(); in GenCheckCode() 576 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 578 new_blk_ptr.reset(new BasicBlock(std::move(merge_label))); in GenCheckCode() 579 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 590 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() [all …]
|
D | inst_debug_printf_pass.cpp | 186 std::unique_ptr<BasicBlock> new_blk_ptr; in GenDebugPrintfCode() local 187 MovePreludeCode(ref_inst_itr, ref_block_itr, &new_blk_ptr); in GenDebugPrintfCode() 188 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode() 202 new_blk_ptr.reset(new BasicBlock(std::move(rem_label))); in GenDebugPrintfCode() 203 builder.SetInsertPoint(&*new_blk_ptr); in GenDebugPrintfCode() 206 MovePostludeCode(ref_block_itr, &*new_blk_ptr); in GenDebugPrintfCode() 207 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
|
D | inst_buff_addr_check_pass.cpp | 78 std::unique_ptr<BasicBlock> new_blk_ptr( in GenCheckCode() local 80 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 83 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 85 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); in GenCheckCode() 86 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 116 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 118 new_blk_ptr.reset(new BasicBlock(std::move(merge_label))); in GenCheckCode() 119 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 129 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 442 std::unique_ptr<BasicBlock> new_blk_ptr; in GenBuffAddrCheckCode() local [all …]
|
D | instrument_pass.cpp | 40 std::unique_ptr<BasicBlock>* new_blk_ptr) { in MovePreludeCode() argument 44 new_blk_ptr->reset(new BasicBlock(std::move(ref_block_itr->GetLabel()))); in MovePreludeCode() 56 (*new_blk_ptr)->AddInstruction(std::move(mv_ptr)); in MovePreludeCode() 61 UptrVectorIterator<BasicBlock> ref_block_itr, BasicBlock* new_blk_ptr) { in MovePostludeCode() argument 73 new_blk_ptr); in MovePostludeCode() 80 new_blk_ptr->AddInstruction(std::move(mv_inst)); in MovePostludeCode() 718 std::unique_ptr<BasicBlock> new_blk_ptr = in GetStreamWriteFunctionId() local 721 context(), &*new_blk_ptr, in GetStreamWriteFunctionId() 761 output_func->AddBasicBlock(std::move(new_blk_ptr)); in GetStreamWriteFunctionId() 762 new_blk_ptr = MakeUnique<BasicBlock>(std::move(write_label)); in GetStreamWriteFunctionId() [all …]
|
D | instrument_pass.h | 108 std::unique_ptr<BasicBlock>* new_blk_ptr); 113 BasicBlock* new_blk_ptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | inline_pass.cpp | 261 BasicBlock* new_blk_ptr, BasicBlock::iterator call_inst_itr, in MoveInstsBeforeEntryBlock() argument 273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock() 280 std::unique_ptr<BasicBlock> new_blk_ptr, uint32_t entry_blk_label_id) { in AddGuardBlock() argument 285 AddBranch(guard_block_id, &new_blk_ptr); in AddGuardBlock() 286 new_blocks->push_back(std::move(new_blk_ptr)); in AddGuardBlock() 288 new_blk_ptr = MakeUnique<BasicBlock>(NewLabel(guard_block_id)); in AddGuardBlock() 293 return new_blk_ptr; in AddGuardBlock() 299 std::unique_ptr<BasicBlock>* new_blk_ptr, in AddStoresForVariableInitializers() argument 313 AddStore(new_var_id, val_id, new_blk_ptr, callee_itr->dbg_line_inst(), in AddStoresForVariableInitializers() 319 callee2caller, new_blk_ptr->get(), &*callee_itr, in AddStoresForVariableInitializers() [all …]
|
D | inline_pass.h | 181 BasicBlock* new_blk_ptr, BasicBlock::iterator call_inst_itr, 189 std::unique_ptr<BasicBlock> new_blk_ptr, uint32_t entry_blk_label_id); 195 std::unique_ptr<BasicBlock>* new_blk_ptr, 201 BasicBlock* new_blk_ptr, const Instruction* inst, 208 std::unique_ptr<BasicBlock> new_blk_ptr, 215 std::unique_ptr<BasicBlock>* new_blk_ptr, 224 std::unique_ptr<BasicBlock> new_blk_ptr, 232 std::unique_ptr<BasicBlock>* new_blk_ptr,
|
D | inst_bindless_check_pass.cpp | 540 std::unique_ptr<BasicBlock> new_blk_ptr( in GenCheckCode() local 542 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 545 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 547 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); in GenCheckCode() 548 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 572 uint32_t last_invalid_blk_id = new_blk_ptr->GetLabelInst()->result_id(); in GenCheckCode() 576 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 578 new_blk_ptr.reset(new BasicBlock(std::move(merge_label))); in GenCheckCode() 579 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 590 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() [all …]
|
D | inst_debug_printf_pass.cpp | 186 std::unique_ptr<BasicBlock> new_blk_ptr; in GenDebugPrintfCode() local 187 MovePreludeCode(ref_inst_itr, ref_block_itr, &new_blk_ptr); in GenDebugPrintfCode() 188 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode() 202 new_blk_ptr.reset(new BasicBlock(std::move(rem_label))); in GenDebugPrintfCode() 203 builder.SetInsertPoint(&*new_blk_ptr); in GenDebugPrintfCode() 206 MovePostludeCode(ref_block_itr, &*new_blk_ptr); in GenDebugPrintfCode() 207 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
|
D | inst_buff_addr_check_pass.cpp | 78 std::unique_ptr<BasicBlock> new_blk_ptr( in GenCheckCode() local 80 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 83 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 85 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); in GenCheckCode() 86 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 116 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 118 new_blk_ptr.reset(new BasicBlock(std::move(merge_label))); in GenCheckCode() 119 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 129 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 442 std::unique_ptr<BasicBlock> new_blk_ptr; in GenBuffAddrCheckCode() local [all …]
|
D | instrument_pass.cpp | 40 std::unique_ptr<BasicBlock>* new_blk_ptr) { in MovePreludeCode() argument 44 new_blk_ptr->reset(new BasicBlock(std::move(ref_block_itr->GetLabel()))); in MovePreludeCode() 56 (*new_blk_ptr)->AddInstruction(std::move(mv_ptr)); in MovePreludeCode() 61 UptrVectorIterator<BasicBlock> ref_block_itr, BasicBlock* new_blk_ptr) { in MovePostludeCode() argument 73 new_blk_ptr); in MovePostludeCode() 80 new_blk_ptr->AddInstruction(std::move(mv_inst)); in MovePostludeCode() 718 std::unique_ptr<BasicBlock> new_blk_ptr = in GetStreamWriteFunctionId() local 721 context(), &*new_blk_ptr, in GetStreamWriteFunctionId() 761 output_func->AddBasicBlock(std::move(new_blk_ptr)); in GetStreamWriteFunctionId() 762 new_blk_ptr = MakeUnique<BasicBlock>(std::move(write_label)); in GetStreamWriteFunctionId() [all …]
|
D | instrument_pass.h | 108 std::unique_ptr<BasicBlock>* new_blk_ptr); 113 BasicBlock* new_blk_ptr);
|
/third_party/spirv-tools/source/opt/ |
D | inline_pass.cpp | 261 BasicBlock* new_blk_ptr, BasicBlock::iterator call_inst_itr, in MoveInstsBeforeEntryBlock() argument 273 new_blk_ptr->AddInstruction(std::move(cp_inst)); in MoveInstsBeforeEntryBlock() 280 std::unique_ptr<BasicBlock> new_blk_ptr, uint32_t entry_blk_label_id) { in AddGuardBlock() argument 285 AddBranch(guard_block_id, &new_blk_ptr); in AddGuardBlock() 286 new_blocks->push_back(std::move(new_blk_ptr)); in AddGuardBlock() 288 new_blk_ptr = MakeUnique<BasicBlock>(NewLabel(guard_block_id)); in AddGuardBlock() 293 return new_blk_ptr; in AddGuardBlock() 299 std::unique_ptr<BasicBlock>* new_blk_ptr, in AddStoresForVariableInitializers() argument 313 AddStore(new_var_id, val_id, new_blk_ptr, callee_itr->dbg_line_inst(), in AddStoresForVariableInitializers() 319 callee2caller, new_blk_ptr->get(), &*callee_itr, in AddStoresForVariableInitializers() [all …]
|
D | inline_pass.h | 181 BasicBlock* new_blk_ptr, BasicBlock::iterator call_inst_itr, 189 std::unique_ptr<BasicBlock> new_blk_ptr, uint32_t entry_blk_label_id); 195 std::unique_ptr<BasicBlock>* new_blk_ptr, 201 BasicBlock* new_blk_ptr, const Instruction* inst, 208 std::unique_ptr<BasicBlock> new_blk_ptr, 215 std::unique_ptr<BasicBlock>* new_blk_ptr, 224 std::unique_ptr<BasicBlock> new_blk_ptr, 232 std::unique_ptr<BasicBlock>* new_blk_ptr,
|
D | inst_bindless_check_pass.cpp | 533 std::unique_ptr<BasicBlock> new_blk_ptr( in GenCheckCode() local 535 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 538 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 540 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); in GenCheckCode() 541 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 565 uint32_t last_invalid_blk_id = new_blk_ptr->GetLabelInst()->result_id(); in GenCheckCode() 569 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 571 new_blk_ptr.reset(new BasicBlock(std::move(merge_label))); in GenCheckCode() 572 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 583 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() [all …]
|
D | inst_debug_printf_pass.cpp | 187 std::unique_ptr<BasicBlock> new_blk_ptr; in GenDebugPrintfCode() local 188 MovePreludeCode(ref_inst_itr, ref_block_itr, &new_blk_ptr); in GenDebugPrintfCode() 189 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode() 203 new_blk_ptr.reset(new BasicBlock(std::move(rem_label))); in GenDebugPrintfCode() 204 builder.SetInsertPoint(&*new_blk_ptr); in GenDebugPrintfCode() 207 MovePostludeCode(ref_block_itr, &*new_blk_ptr); in GenDebugPrintfCode() 208 new_blocks->push_back(std::move(new_blk_ptr)); in GenDebugPrintfCode()
|
D | inst_buff_addr_check_pass.cpp | 78 std::unique_ptr<BasicBlock> new_blk_ptr( in GenCheckCode() local 80 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 83 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 85 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); in GenCheckCode() 86 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 116 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 118 new_blk_ptr.reset(new BasicBlock(std::move(merge_label))); in GenCheckCode() 119 builder.SetInsertPoint(&*new_blk_ptr); in GenCheckCode() 129 new_blocks->push_back(std::move(new_blk_ptr)); in GenCheckCode() 444 std::unique_ptr<BasicBlock> new_blk_ptr; in GenBuffAddrCheckCode() local [all …]
|
D | instrument_pass.cpp | 40 std::unique_ptr<BasicBlock>* new_blk_ptr) { in MovePreludeCode() argument 44 new_blk_ptr->reset(new BasicBlock(std::move(ref_block_itr->GetLabel()))); in MovePreludeCode() 56 (*new_blk_ptr)->AddInstruction(std::move(mv_ptr)); in MovePreludeCode() 61 UptrVectorIterator<BasicBlock> ref_block_itr, BasicBlock* new_blk_ptr) { in MovePostludeCode() argument 73 new_blk_ptr); in MovePostludeCode() 80 new_blk_ptr->AddInstruction(std::move(mv_inst)); in MovePostludeCode() 772 std::unique_ptr<BasicBlock> new_blk_ptr = in GetStreamWriteFunctionId() local 775 context(), &*new_blk_ptr, in GetStreamWriteFunctionId() 815 output_func->AddBasicBlock(std::move(new_blk_ptr)); in GetStreamWriteFunctionId() 816 new_blk_ptr = MakeUnique<BasicBlock>(std::move(write_label)); in GetStreamWriteFunctionId() [all …]
|
D | instrument_pass.h | 108 std::unique_ptr<BasicBlock>* new_blk_ptr); 113 BasicBlock* new_blk_ptr);
|