1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2017-2020 Fabian Schuiki

//! Optimization and analysis passes on LLHD IR.
//!
//! This module implements various passes that analyze or mutate an LLHD
//! intermediate representation.

pub mod cf;
pub mod cfs;
pub mod dce;
pub mod deseq;
pub mod ecm;
pub mod gcse;
pub mod insim;
pub mod proclower;
pub mod tcm;
pub mod vtpp;

pub use cf::ConstFolding;
pub use cfs::ControlFlowSimplification;
pub use dce::DeadCodeElim;
pub use deseq::Desequentialization;
pub use ecm::EarlyCodeMotion;
pub use gcse::GlobalCommonSubexprElim;
pub use insim::InstSimplification;
pub use proclower::ProcessLowering;
pub use tcm::TemporalCodeMotion;
pub use vtpp::VarToPhiPromotion;