Struct llhd::pass::cfs::ControlFlowSimplification [−][src]
pub struct ControlFlowSimplification;
Expand description
Control Flow Simplification
This pass tries to do the following:
- Simplify phi nodes whose values dominate the node
- Eliminate phi nodes where the result is constant across all incoming edges
- Merge basic blocks with only one successor
Trait Implementations
Run this pass on an entire function or process.
Run this pass on an entire module.
Run this pass on an entire unit.
Run this pass on an instruction.