Home
last modified time | relevance | path

Searched refs:blk_id (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dcfg.h35 const std::vector<uint32_t>& preds(uint32_t blk_id) const { in preds() argument
36 assert(label2preds_.count(blk_id)); in preds()
37 return label2preds_.at(blk_id); in preds()
42 BasicBlock* block(uint32_t blk_id) const { return id2block_.at(blk_id); } in block() argument
92 uint32_t blk_id = blk->id(); in RegisterBlock() local
93 id2block_[blk_id] = blk; in RegisterBlock()
123 void RemoveNonExistingEdges(uint32_t blk_id);
Dcfg.cpp50 uint32_t blk_id = blk->id(); in AddEdges() local
53 label2preds_[blk_id]; in AddEdges()
56 [blk_id, this](const uint32_t succ_id) { AddEdge(blk_id, succ_id); }); in AddEdges()
59 void CFG::RemoveNonExistingEdges(uint32_t blk_id) { in RemoveNonExistingEdges() argument
61 for (uint32_t id : preds(blk_id)) { in RemoveNonExistingEdges()
64 pred_blk->ForEachSuccessorLabel([&has_branch, blk_id](uint32_t succ) { in RemoveNonExistingEdges()
65 if (succ == blk_id) { in RemoveNonExistingEdges()
72 label2preds_.at(blk_id) = std::move(updated_pred_list); in RemoveNonExistingEdges()
Dinstrument_pass.cpp822 uint32_t blk_id = TakeNextId(); in GetDirectReadFunctionId() local
823 std::unique_ptr<Instruction> blk_label(NewLabel(blk_id)); in GetDirectReadFunctionId()
/third_party/spirv-tools/source/opt/
Dcfg.h35 const std::vector<uint32_t>& preds(uint32_t blk_id) const { in preds() argument
36 assert(label2preds_.count(blk_id)); in preds()
37 return label2preds_.at(blk_id); in preds()
42 BasicBlock* block(uint32_t blk_id) const { return id2block_.at(blk_id); } in block() argument
92 uint32_t blk_id = blk->id(); in RegisterBlock() local
93 id2block_[blk_id] = blk; in RegisterBlock()
123 void RemoveNonExistingEdges(uint32_t blk_id);
Dcfg.cpp50 uint32_t blk_id = blk->id(); in AddEdges() local
53 label2preds_[blk_id]; in AddEdges()
56 [blk_id, this](const uint32_t succ_id) { AddEdge(blk_id, succ_id); }); in AddEdges()
59 void CFG::RemoveNonExistingEdges(uint32_t blk_id) { in RemoveNonExistingEdges() argument
61 for (uint32_t id : preds(blk_id)) { in RemoveNonExistingEdges()
64 pred_blk->ForEachSuccessorLabel([&has_branch, blk_id](uint32_t succ) { in RemoveNonExistingEdges()
65 if (succ == blk_id) { in RemoveNonExistingEdges()
72 label2preds_.at(blk_id) = std::move(updated_pred_list); in RemoveNonExistingEdges()
Dinstrument_pass.cpp822 uint32_t blk_id = TakeNextId(); in GetDirectReadFunctionId() local
823 std::unique_ptr<Instruction> blk_label(NewLabel(blk_id)); in GetDirectReadFunctionId()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcfg.h35 const std::vector<uint32_t>& preds(uint32_t blk_id) const { in preds() argument
36 assert(label2preds_.count(blk_id)); in preds()
37 return label2preds_.at(blk_id); in preds()
42 BasicBlock* block(uint32_t blk_id) const { return id2block_.at(blk_id); } in block() argument
92 uint32_t blk_id = blk->id(); in RegisterBlock() local
93 id2block_[blk_id] = blk; in RegisterBlock()
123 void RemoveNonExistingEdges(uint32_t blk_id);
Dcfg.cpp50 uint32_t blk_id = blk->id(); in AddEdges() local
53 label2preds_[blk_id]; in AddEdges()
56 [blk_id, this](const uint32_t succ_id) { AddEdge(blk_id, succ_id); }); in AddEdges()
59 void CFG::RemoveNonExistingEdges(uint32_t blk_id) { in RemoveNonExistingEdges() argument
61 for (uint32_t id : preds(blk_id)) { in RemoveNonExistingEdges()
64 pred_blk->ForEachSuccessorLabel([&has_branch, blk_id](uint32_t succ) { in RemoveNonExistingEdges()
65 if (succ == blk_id) { in RemoveNonExistingEdges()
72 label2preds_.at(blk_id) = std::move(updated_pred_list); in RemoveNonExistingEdges()
Dinstrument_pass.cpp822 uint32_t blk_id = TakeNextId(); in GetDirectReadFunctionId() local
823 std::unique_ptr<Instruction> blk_label(NewLabel(blk_id)); in GetDirectReadFunctionId()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp3476 for (auto &blk_id : entry_func.blocks) in add_interface_block() local
3478 auto &blk = get<SPIRBlock>(blk_id); in add_interface_block()