Module rustc_mir::transform::simplify_branches[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A pass that simplifies branches when their condition is known.

Re-exports

use rustc::ty::TyCtxt;
use rustc::ty::ParamEnv;
use rustc::mir::*;
use transform::MirPass;
use transform::MirSource;
use std::borrow::Cow;

Structs

SimplifyBranches [
Experimental
]