class compiler::ConstantFolder

sys::Obj
  compiler::CompilerSupport
    compiler::ConstantFolder

Source

ConstantFolder is used to implement constant folding optimizations where known literals and operations can be performed ahead of time by the compiler.

fold

Expr fold(CallExpr call)

Source

Check shortcut expression for constant folding

make

new make(Compiler compiler)

Source

Constructor