You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
6.7 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CostModels (infer.InferModules.CostModels)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">InferModules</a> &#x00BB; CostModels</nav><h1>Module <code>InferModules.CostModels</code></h1></header><div class="spec module" id="module-BasicCost"><a href="#module-BasicCost" class="anchor"></a><code><span class="keyword">module</span> BasicCost = <a href="../CostDomain/index.html#module-BasicCost">CostDomain.BasicCost</a></code></div><dl><dt class="spec type" id="type-model"><a href="#type-model" class="anchor"></a><code><span class="keyword">type</span> model</code><code> = <a href="../BufferOverrunUtils/ModelEnv/index.html#type-model_env">BufferOverrunUtils.ModelEnv.model_env</a> <span>&#45;&gt;</span> <span>ret:<span>(<a href="../../../InferIR/InferIR/Ident/index.html#type-t">InferIR.Ident.t</a> * <a href="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a>)</span></span> <span>&#45;&gt;</span> <a href="../BufferOverrunDomain/Mem/index.html#type-t">BufferOverrunDomain.Mem.t</a> <span>&#45;&gt;</span> <a href="../../InferModules__Polynomials/NonNegativePolynomial/index.html#type-t">BasicCost.t</a></code></dt></dl><div class="spec module-type" id="module-type-S"><a href="#module-type-S" class="anchor"></a><code><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-S/index.html">S</a> = <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Array"><a href="#module-Array" class="anchor"></a><code><span class="keyword">module</span> <a href="Array/index.html">Array</a> : <a href="index.html#module-type-S">S</a></code></div><div class="spec module" id="module-Collection"><a href="#module-Collection" class="anchor"></a><code><span class="keyword">module</span> <a href="Collection/index.html">Collection</a> : <a href="index.html#module-type-S">S</a></code></div><dl><dt class="spec value" id="val-of_itv"><a href="#val-of_itv" class="anchor"></a><code><span class="keyword">val</span> of_itv : <span>itv:<a href="../Itv/index.html#type-t">Itv.t</a></span> <span>&#45;&gt;</span> <span>degree_kind:<a href="../../InferModules__Polynomials/DegreeKind/index.html#type-t">InferModules__Polynomials.DegreeKind.t</a></span> <span>&#45;&gt;</span> <span>of_function:string</span> <span>&#45;&gt;</span> <a href="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a> <span>&#45;&gt;</span> <a href="../../InferModules__Polynomials/NonNegativePolynomial/index.html#type-t">BasicCost.t</a></code></dt><dt class="spec value" id="val-linear"><a href="#val-linear" class="anchor"></a><code><span class="keyword">val</span> linear : <a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> <span>&#45;&gt;</span> <span>of_function:string</span> <span>&#45;&gt;</span> <a href="../BufferOverrunUtils/ModelEnv/index.html#type-model_env">BufferOverrunUtils.ModelEnv.model_env</a> <span>&#45;&gt;</span> <span>ret:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <a href="../BufferOverrunDomain/Mem/index.html#type-t">BufferOverrunDomain.Mem.t</a> <span>&#45;&gt;</span> <a href="../../InferModules__Polynomials/NonNegativePolynomial/index.html#type-t">BasicCost.t</a></code></dt><dt class="spec value" id="val-modeled"><a href="#val-modeled" class="anchor"></a><code><span class="keyword">val</span> modeled : <span>of_function:string</span> <span>&#45;&gt;</span> <a href="../BufferOverrunUtils/ModelEnv/index.html#type-model_env">BufferOverrunUtils.ModelEnv.model_env</a> <span>&#45;&gt;</span> <span>ret:<span>(<span class="type-var">'a</span> * <a href="../..