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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Costlib__CostModels (infer.Costlib__CostModels)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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> » Costlib__CostModels</nav><h1>Module <code>Costlib__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="../Costlib/CostDomain/index.html#module-BasicCost">Costlib.CostDomain.BasicCost</a></code></div><dl><dt class="spec value" id="val-unit_cost_model"><a href="#val-unit_cost_model" class="anchor"></a><code><span class="keyword">val</span> unit_cost_model : <span class="type-var">'a</span> <span>-></span> <span>ret:<span class="type-var">'b</span></span> <span>-></span> <span class="type-var">'c</span> <span>-></span> <a href="../Costlib__CostDomain/BasicCost/index.html#type-t">BasicCost.t</a></code></dt><dt class="spec value" id="val-cost_of_exp"><a href="#val-cost_of_exp" class="anchor"></a><code><span class="keyword">val</span> cost_of_exp : <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>-></span> <span>degree_kind:<a href="../BO__Polynomials/DegreeKind/index.html#type-t">BO__Polynomials.DegreeKind.t</a></span> <span>-></span> <span>of_function:string</span> <span>-></span> <a href="../BO/BufferOverrunUtils/ModelEnv/index.html#type-model_env">BO.BufferOverrunUtils.ModelEnv.model_env</a> <span>-></span> <span>ret:<span class="type-var">'a</span></span> <span>-></span> <a href="../BO/BufferOverrunDomain/Mem/index.html#type-t">BO.BufferOverrunDomain.Mem.t</a> <span>-></span> <a href="../Costlib/CostUtils/BasicCost/index.html#type-t">Costlib.CostUtils.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="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>-></span> <span>of_function:string</span> <span>-></span> <a href="../BO/BufferOverrunUtils/ModelEnv/index.html#type-model_env">BO.BufferOverrunUtils.ModelEnv.model_env</a> <span>-></span> <span>ret:<span class="type-var">'a</span></span> <span>-></span> <a href="../BO/BufferOverrunDomain/Mem/index.html#type-t">BO.BufferOverrunDomain.Mem.t</a> <span>-></span> <a href="../Costlib/CostUtils/BasicCost/index.html#type-t">Costlib.CostUtils.BasicCost.t</a></code></dt><dt class="spec value" id="val-log"><a href="#val-log" class="anchor"></a><code><span class="keyword">val</span> log : <a href="../IR/Exp/index.html#type-t">IR.Exp.t</a> <span>-></span> <span>of_function:string</span> <span>-></span> <a href="../BO/BufferOverrunUtils/ModelEnv/index.html#type-model_env">BO.BufferOverrunUtils.ModelEnv.model_env</a> <span>-></span> <span>ret:<span class="type-var">'a</span></span> <span>-></span> <a href="../BO/BufferOverrunDomain/Mem/index.html#type-t">BO.BufferOverrunDomain.Mem.t</a> <span>-></span> <a href="../Costlib/CostUtils/BasicCost/index.html#type-t">Costlib.CostUtils.BasicCost.t</a></code></dt><dt class="spec value" id="val-provider_get"><a href="#val-provider_get" class="anchor"></a><code><span class="keyword">val</span> provider_get : <a href="../BO/BufferOverrunUtils/ModelEnv/index.html#type-model_env">BO.BufferOverrunUtils.ModelEnv.model_env</a> <span>-></span> <span>ret:<span>(<span class="type-var">'a</span> * <a href="../IR/Typ/index.html#type-t">IR.Typ.t</a>)</span></span> <span>-></span> <span class="type-var">'b</span> <span>-></span> <a href="../Costlib__CostDomain/BasicCost/index.html#type-t">BasicCost.t</a></code></dt></dl><div class="spec module" id="module-B
|