add typeinfo to ir in file read.cpp