Searched refs:blk_id (Results 1 – 4 of 4) sorted by relevance
35 const std::vector<uint32_t>& preds(uint32_t blk_id) const { in preds() argument36 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() argument88 uint32_t blk_id = blk->id(); in RegisterBlock() local89 id2block_[blk_id] = blk; in RegisterBlock()119 void RemoveNonExistingEdges(uint32_t blk_id);
50 uint32_t blk_id = blk->id(); in AddEdges() local53 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() argument61 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()