Struct rustc_mir_transform::instcombine::InstCombineContext [−][src]
struct InstCombineContext<'tcx, 'a> {
tcx: TyCtxt<'tcx>,
local_decls: &'a LocalDecls<'tcx>,
}
Fields
tcx: TyCtxt<'tcx>
local_decls: &'a LocalDecls<'tcx>
Implementations
Transform boolean comparisons into logical operations.
Transform “&(*a)” ==> “a”.
Transform “Len([_; N])” ==> “N”.
Auto Trait Implementations
impl<'tcx, 'a> !RefUnwindSafe for InstCombineContext<'tcx, 'a>
impl<'tcx, 'a> !Send for InstCombineContext<'tcx, 'a>
impl<'tcx, 'a> !Sync for InstCombineContext<'tcx, 'a>
impl<'tcx, 'a> Unpin for InstCombineContext<'tcx, 'a> where
'tcx: 'a,
impl<'tcx, 'a> !UnwindSafe for InstCombineContext<'tcx, 'a>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes