TSX is all made in Japan for European market, AKA European version of Accord. Civic is completely a different line.
Actually, the similarities are only skin deep. http://townhall-talk.edmunds.com/direct/view/.f0f878c
Crash Test:
S40: http://www.iihs.org/ratings/rating.aspx?id=265
TSX: http://www.iihs.org/ratings/rating.aspx?id=980