Searched refs:lastUser (Results 1 – 1 of 1) sorted by relevance
184 Operation *lastUser = blockLiveness->getEndOperation(value, userInTheBlock); in addAutomaticRefCounting() local185 assert(lastUsers.count(lastUser) == 0 && "last users must be unique"); in addAutomaticRefCounting()186 lastUsers.insert(lastUser); in addAutomaticRefCounting()191 for (Operation *lastUser : lastUsers) { in addAutomaticRefCounting()193 if (lastUser->hasTrait<OpTrait::ReturnLike>()) in addAutomaticRefCounting()197 if (lastUser->hasTrait<OpTrait::IsTerminator>()) in addAutomaticRefCounting()198 return lastUser->emitError() << "async reference counting can't handle " in addAutomaticRefCounting()202 builder.setInsertionPointAfter(lastUser); in addAutomaticRefCounting()