ghc-7.0.3: The GHC API

Vectorise.Utils

Contents

Synopsis

Documentation

Annotated Exprs

collectAnnTypeArgs :: AnnExpr b ann -> (AnnExpr b ann, [Type])

PD Functions

liftPD :: CoreExpr -> VM CoreExpr

Like replicatePD but use the lifting context in the vectoriser state.

Scalars

Naming

newLocalVar :: FastString -> Type -> VM Var

Make a fresh local variable with the given type. The variable's name is formed using the given string as the prefix.