Function rustc_trans::trans::base::load_tyExperimental [-]  [+] [src]

pub fn load_ty<'blk, 'tcx>(cx: Block<'blk, 'tcx>, ptr: ValueRef, t: Ty<'tcx>) -> ValueRef

Helper for loading values from memory. Does the necessary conversion if the in-memory type differs from the type used for SSA values. Also handles various special cases where the type gives us better information about what we are loading.