Module debris_llir::opt::optimizers::const_optimizer
source · Structs
- Optimizes nodes which are const-evaluatable. This optimizer tracks all const assignments to variables in a given function and replaces reads from const variables by their const value. Also contains functionality to evaluate
BinaryOperation
andCondition
. In order to be more efficient, this optimizer optimizes an entire function. This means that the current state must always be synced correctly!