handle TLog, etc in bitWidth()

Change-Id: Icdeac2b9739eede22a8c7f93e4c7bfce171a96ae