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.9 KiB

<!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.2"/><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; 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><div class="spec module" id="module-BasicCostWithReason"><a href="#module-BasicCostWithReason" class="anchor"></a><code><span class="keyword">module</span> BasicCostWithReason = <a href="../Costlib/CostDomain/index.html#module-BasicCostWithReason">Costlib.CostDomain.BasicCostWithReason</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>&#45;&gt;</span> <span>ret:<span class="type-var">'b</span></span> <span>&#45;&gt;</span> <span class="type-var">'c</span> <span>&#45;&gt;</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>&#45;&gt;</span> <span>degree_kind:<a href="../BO__Polynomials/DegreeKind/index.html#type-t">BO__Polynomials.DegreeKind.t</a></span> <span>&#45;&gt;</span> <span>of_function:string</span> <span>&#45;&gt;</span> <a href="../Costlib/CostUtils/CostModelEnv/index.html#type-cost_model_env">Costlib.CostUtils.CostModelEnv.cost_model_env</a> <span>&#45;&gt;</span> <span>ret:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <a href="../BO/BufferOverrunDomain/Mem/index.html#type-t">BO.BufferOverrunDomain.Mem.t</a> <span>&#45;&gt;</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>&#45;&gt;</span> <span>of_function:string</span> <span>&#45;&gt;</span> <a href="../Costlib/CostUtils/CostModelEnv/index.html#type-cost_model_env">Costlib.CostUtils.CostModelEnv.cost_model_env</a> <span>&#45;&gt;</span> <span>ret:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <a href="../BO/BufferOverrunDomain/Mem/index.html#type-t">BO.BufferOverrunDomain.Mem.t</a> <span>&#45;&gt;</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>&#45;&gt;</span> <span>of_function:string</span> <span>&#45;&gt;</span> <a href="../Costlib/CostUtils/CostModelEnv/index.html#type-cost_model_env">Costlib.CostUtils.CostModelEnv.cost_model_env</a> <span>&#45;&gt;</span> <span>ret:<span class="type-var">'a</span></span> <span>&#45;&gt;</span> <a href="../BO/BufferOverrunDomain/Mem/index.html#type-t">BO.BufferOverrunDomain.Mem.t</a> <span>&#45;&gt;</span> <a href="../Costlib/CostUtils/BasicCost/index.html#type-t">Costlib.CostUtils.BasicCost.t</a></code></dt></dl><div class="spec module" id="module-BoundsOf"><a href="#module-BoundsOf" class="anchor"></a><code><span class="keyword">module</span> <a href="BoundsOf/index.html">BoundsOf</a> : <span class="keyword">functor</span> (<a href="BoundsOf/argument-1-Container/index.html">Conta