HIV is not passed by sharing cigarettes. If there is blood on the filter there is a possibility of passing HIV, if the other person has an open area on their mouth. However, this is not the way that we commonly see HIV being passed. It is most often passed through vaginal and anal sex and sharing drug injection equipment.
Please leave a comment to let us know if this answers your question or if you need more information.
For other readers, please feel free to leave a comment, or let us know if this was helpful.