Safe Haskell | None |
---|
- externals :: [External]
- getUnfolding :: Bool -> Bool -> Id -> HermitC -> HermitM (CoreExpr, Int)
- inline :: RewriteH CoreExpr
- inlineName :: Name -> RewriteH CoreExpr
- inlineScrutinee :: RewriteH CoreExpr
- inlineCaseBinder :: RewriteH CoreExpr
- inlineTargets :: TranslateH Core [String]
Inlining
inlineName :: Name -> RewriteH CoreExprSource
If the current variable matches the given name, then inline it.
inlineScrutinee :: RewriteH CoreExprSource
Inline the current variable, using the scrutinee rather than the case alternative if it is a case wild-card binder.
inlineCaseBinder :: RewriteH CoreExprSource
If the current variable is a case wild-card binder, then inline it.
inlineTargets :: TranslateH Core [String]Source
Get list of possible inline targets. Used by shell for completion.