Lines Matching refs:blk
83 void RegisterBlock(BasicBlock* blk) { in RegisterBlock() argument
84 assert(blk->begin() != blk->end() && in RegisterBlock()
86 assert(blk->tail()->IsBlockTerminator() && in RegisterBlock()
88 uint32_t blk_id = blk->id(); in RegisterBlock()
89 id2block_[blk_id] = blk; in RegisterBlock()
90 AddEdges(blk); in RegisterBlock()
94 void ForgetBlock(const BasicBlock* blk) { in ForgetBlock() argument
95 id2block_.erase(blk->id()); in ForgetBlock()
96 label2preds_.erase(blk->id()); in ForgetBlock()
97 RemoveSuccessorEdges(blk); in ForgetBlock()
109 void AddEdges(BasicBlock* blk);