detect correct type of all LLVM conversions