/external/deqp-deps/SPIRV-Tools/source/opt/ |
inline_pass.cpp | 273 // new_blk_ptr is a new basic block in the caller. New instructions are 277 std::unique_ptr<BasicBlock> new_blk_ptr; local 279 &call_inst_itr, &new_blk_ptr, &prevInstWasReturn, 299 AddStore(new_var_id, val_id, &new_blk_ptr); 309 new_blk_ptr->AddInstruction(std::move(terminator)); 317 AddBranch(returnLabelId, &new_blk_ptr); 323 if (new_blk_ptr != nullptr) { 324 new_blocks->push_back(std::move(new_blk_ptr)); 339 new_blk_ptr = MakeUnique<BasicBlock>(NewLabel(labelId)); 352 new_blk_ptr->AddInstruction(std::move(cp_inst)) [all...] |
inst_bindless_check_pass.cpp | 43 std::unique_ptr<BasicBlock> new_blk_ptr; local 139 MovePreludeCode(ref_inst_itr, ref_block_itr, &new_blk_ptr); 141 context(), &*new_blk_ptr, local 156 new_blocks->push_back(std::move(new_blk_ptr)); 157 new_blk_ptr.reset(new BasicBlock(std::move(valid_label))); 158 builder.SetInsertPoint(&*new_blk_ptr); 196 new_blocks->push_back(std::move(new_blk_ptr)); 197 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); 198 builder.SetInsertPoint(&*new_blk_ptr); 203 uint32_t last_invalid_blk_id = new_blk_ptr->GetLabelInst()->result_id() [all...] |
instrument_pass.cpp | 39 std::unique_ptr<BasicBlock>* new_blk_ptr) { 43 new_blk_ptr->reset(new BasicBlock(std::move(ref_block_itr->GetLabel()))); 55 (*new_blk_ptr)->AddInstruction(std::move(mv_ptr)); 61 std::unique_ptr<BasicBlock>* new_blk_ptr) { 62 // new_blk_ptr->reset(new BasicBlock(NewLabel(ref_block_itr->id()))); 73 new_blk_ptr); 80 (*new_blk_ptr)->AddInstruction(std::move(mv_inst)); 440 std::unique_ptr<BasicBlock> new_blk_ptr = local 443 context(), &*new_blk_ptr, local 482 new_blk_ptr->SetParent(&*output_func) [all...] |
instrument_pass.h | 101 // to be instrumented into block |new_blk_ptr|. 104 std::unique_ptr<BasicBlock>* new_blk_ptr); 107 // to be instrumented into block |new_blk_ptr|. 109 std::unique_ptr<BasicBlock>* new_blk_ptr);
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
inline_pass.cpp | 313 // new_blk_ptr is a new basic block in the caller. New instructions are 317 std::unique_ptr<BasicBlock> new_blk_ptr; local 320 &new_blk_ptr, &prevInstWasReturn, &returnLabelId, &returnVarId, 339 AddStore(new_var_id, val_id, &new_blk_ptr); 354 new_blk_ptr->AddInstruction(std::move(terminator)); 367 AddBranch(returnLabelId, &new_blk_ptr); 373 if (new_blk_ptr != nullptr) { 374 new_blocks->push_back(std::move(new_blk_ptr)); 393 new_blk_ptr = MakeUnique<BasicBlock>(NewLabel(labelId)); 406 new_blk_ptr->AddInstruction(std::move(cp_inst)) [all...] |
inst_bindless_check_pass.cpp | 43 std::unique_ptr<BasicBlock> new_blk_ptr; local 139 MovePreludeCode(ref_inst_itr, ref_block_itr, &new_blk_ptr); 141 context(), &*new_blk_ptr, local 156 new_blocks->push_back(std::move(new_blk_ptr)); 157 new_blk_ptr.reset(new BasicBlock(std::move(valid_label))); 158 builder.SetInsertPoint(&*new_blk_ptr); 196 new_blocks->push_back(std::move(new_blk_ptr)); 197 new_blk_ptr.reset(new BasicBlock(std::move(invalid_label))); 198 builder.SetInsertPoint(&*new_blk_ptr); 203 uint32_t last_invalid_blk_id = new_blk_ptr->GetLabelInst()->result_id() [all...] |
instrument_pass.cpp | 39 std::unique_ptr<BasicBlock>* new_blk_ptr) { 43 new_blk_ptr->reset(new BasicBlock(std::move(ref_block_itr->GetLabel()))); 55 (*new_blk_ptr)->AddInstruction(std::move(mv_ptr)); 61 std::unique_ptr<BasicBlock>* new_blk_ptr) { 62 // new_blk_ptr->reset(new BasicBlock(NewLabel(ref_block_itr->id()))); 73 new_blk_ptr); 80 (*new_blk_ptr)->AddInstruction(std::move(mv_inst)); 442 std::unique_ptr<BasicBlock> new_blk_ptr = local 445 context(), &*new_blk_ptr, local 484 new_blk_ptr->SetParent(&*output_func) [all...] |
instrument_pass.h | 102 // to be instrumented into block |new_blk_ptr|. 105 std::unique_ptr<BasicBlock>* new_blk_ptr); 108 // to be instrumented into block |new_blk_ptr|. 110 std::unique_ptr<BasicBlock>* new_blk_ptr);
|