add getPtrTypeInContext function to CodegenPass.
define bitWidth according to Host-BitWidth for now