stage2 llvm backend improvements working towards `zig test`

* properly set global variables to const if they are not a global
   variable.
 * implement global variable initializations.
 * initial implementation of llvmType() for structs and functions.
 * implement genTypedValue for variable tags
 * implement more AIR instructions: varptr, slice_ptr, slice_len,
   slice_elem_val, ptr_slice_elem_val, unwrap_errunion_payload,
   unwrap_errunion_payload_ptr, unwrap_errunion_err,
   unwrap_errunion_err_ptr.
14d8a1c10dAndrew Kelley committed on 7/26/2021, 5:38:50 AMparentc3d10db
3 files changedLine totals unavailable