Searched refs:bb_preds (Results 1 – 3 of 3) sorted by relevance
113 const std::vector<uint32_t>& bb_preds = base_->cfg_->preds(bb->id()); in CreatePhiInstruction() local114 assert(bb_preds.size() == defining_blocks.size()); in CreatePhiInstruction()115 for (size_t i = 0; i < bb_preds.size(); i++) { in CreatePhiInstruction()118 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()134 const std::vector<uint32_t>& bb_preds = base_->cfg_->preds(bb->id()); in CreatePhiInstruction() local135 for (size_t i = 0; i < bb_preds.size(); i++) { in CreatePhiInstruction()137 incomings.push_back(bb_preds[i]); in CreatePhiInstruction()
476 const std::vector<uint32_t>& bb_preds = cfg.preds(bb->id()); in PatchPhis() local477 auto is_branch_dead = [&bb_preds, &dead_blocks](uint32_t id) { in PatchPhis()479 std::find(bb_preds.begin(), bb_preds.end(), id) == bb_preds.end(); in PatchPhis()