parsley-core-2.2.0.0: A fast parser combinator library backed by Typed Template Haskell
LicenseBSD-3-Clause
MaintainerJamie Willis
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Parsley.Internal.Backend.Analysis.Inliner

Description

Exposes an inliner analysis that determines whether or not a given machine should be inlined as opposed to bound in the generated code.

Since: 1.7.0.0

Synopsis

Documentation

shouldInline :: Fix4 (Instr o) xs n r a -> Bool Source #

Provides a conservative estimate on whether or not each of the elements of the stack on entry to a machine are actually used in the computation.

Since: 1.7.0.0