public HExpr EnsureIntrinsicProcedure(string name, int isIdempotent, BaseType dt, int arity) { var exp = host.EnsureIntrinsic(name, isIdempotent != 0, ntf.GetRekoType((HExpr)dt), arity); var pc = new ProcedureConstant(PrimitiveType.Ptr32, exp); return(m.MapToHandle(pc)); }