Utils

Namespace

Brahma.FSharp.OpenCL.Translator.QuotationTransformers

Functions and values

Function or valueSignatureDescription
#collectFreeFunctionVarsExpr -> Set<Var>
#collectFreeVarsExpr -> Set<Var>
#collectFreeVarsWithPredicate(...)predicate:(Var -> bool) -> expr:Expr -> Set<Var>

Collect free variables of expression that satisfies predicate.

#collectLambdaArguments(expr)expr:Expr -> List<Var>
#collectLocalVars(expr)expr:Expr -> Var list
#createDereferenceCall(reference)reference:Expr -> Expr
#createRefCall(value)value:Expr -> Expr
#createReferenceSetCall reference valuereference:Expr -> value:Expr -> Expr
#extractLambdaArguments(expr)expr:Expr -> Var list * Expr
#getFunctionArgTypes(funType)funType:Type -> Type list
#isFunction(var)var:Var -> bool
#isGlobal(var)var:Var -> bool
#isTypeOf(var)var:Var -> bool
#makeApplicationExpr head exprshead:Expr -> exprs:Expr list -> Expr
#makeFunctionType retType argTypesretType:Type -> argTypes:List<Type> -> Type
#makeLambdaExpr args bodyargs:Var list -> body:Expr -> Expr
#makeLambdaType(types)types:Type list -> Type