pub fn ptrcast<'ll>(val: &'ll Value, ty: &'ll Type) -> &'ll Value