143 lines
No EOL
5.5 KiB
HTML
143 lines
No EOL
5.5 KiB
HTML
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<title>llvm.core.User # {#user} — llvmpy 0.8.2 documentation</title>
|
|
|
|
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
|
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
|
|
|
<script type="text/javascript">
|
|
var DOCUMENTATION_OPTIONS = {
|
|
URL_ROOT: '../',
|
|
VERSION: '0.8.2',
|
|
COLLAPSE_INDEX: false,
|
|
FILE_SUFFIX: '.html',
|
|
HAS_SOURCE: true
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="../_static/jquery.js"></script>
|
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
|
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
|
<link rel="top" title="llvmpy 0.8.2 documentation" href="../index.html" />
|
|
</head>
|
|
<body>
|
|
<div class="related">
|
|
<h3>Navigation</h3>
|
|
<ul>
|
|
<li class="right" style="margin-right: 10px">
|
|
<a href="../genindex.html" title="General Index"
|
|
accesskey="I">index</a></li>
|
|
<li><a href="../index.html">llvmpy 0.8.2 documentation</a> »</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="document">
|
|
<div class="documentwrapper">
|
|
<div class="bodywrapper">
|
|
<div class="body">
|
|
|
|
<table border="1" class="docutils">
|
|
<colgroup>
|
|
<col width="100%" />
|
|
</colgroup>
|
|
<tbody valign="top">
|
|
<tr class="row-odd"><td>layout: page</td>
|
|
</tr>
|
|
<tr class="row-even"><td>title: User (llvm.core)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><tt class="docutils literal"><span class="pre">User</span></tt>-s are values that refer to other values. The values so refered
|
|
can be retrived by the properties of <tt class="docutils literal"><span class="pre">User</span></tt>. This is the reverse of
|
|
the <tt class="docutils literal"><span class="pre">Value.uses</span></tt>. Together these can be used to traverse the use-def
|
|
chains of the SSA.</p>
|
|
<hr class="docutils" />
|
|
<div class="section" id="llvm-core-user-user">
|
|
<h1>llvm.core.User # {#user}<a class="headerlink" href="#llvm-core-user-user" title="Permalink to this headline">¶</a></h1>
|
|
<div class="section" id="base-class">
|
|
<h2>Base Class<a class="headerlink" href="#base-class" title="Permalink to this headline">¶</a></h2>
|
|
<ul class="simple">
|
|
<li><a class="reference external" href="llvm.core.Value.html">llvm.core.Value</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="section" id="properties">
|
|
<h2>Properties<a class="headerlink" href="#properties" title="Permalink to this headline">¶</a></h2>
|
|
<div class="section" id="operands">
|
|
<h3><tt class="docutils literal"><span class="pre">operands</span></tt><a class="headerlink" href="#operands" title="Permalink to this headline">¶</a></h3>
|
|
<p>[read-only]</p>
|
|
<p>The list of operands (values, of type
|
|
<a class="reference external" href="llvm.core.Value.html">llvm.core.Value</a>) that this value refers to.</p>
|
|
</div>
|
|
<div class="section" id="operand-count">
|
|
<h3><tt class="docutils literal"><span class="pre">operand_count</span></tt><a class="headerlink" href="#operand-count" title="Permalink to this headline">¶</a></h3>
|
|
<p>[read-only]</p>
|
|
<p>The number of operands that this value referes to. Same as
|
|
<tt class="docutils literal"><span class="pre">len(uses.operands)</span></tt> but faster if you just want the count.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="sphinxsidebar">
|
|
<div class="sphinxsidebarwrapper">
|
|
<h3><a href="../index.html">Table Of Contents</a></h3>
|
|
<ul>
|
|
<li><a class="reference internal" href="#">llvm.core.User # {#user}</a><ul>
|
|
<li><a class="reference internal" href="#base-class">Base Class</a></li>
|
|
<li><a class="reference internal" href="#properties">Properties</a><ul>
|
|
<li><a class="reference internal" href="#operands"><tt class="docutils literal"><span class="pre">operands</span></tt></a></li>
|
|
<li><a class="reference internal" href="#operand-count"><tt class="docutils literal"><span class="pre">operand_count</span></tt></a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<h3>This Page</h3>
|
|
<ul class="this-page-menu">
|
|
<li><a href="../_sources/doc/llvm.core.User.txt"
|
|
rel="nofollow">Show Source</a></li>
|
|
</ul>
|
|
<div id="searchbox" style="display: none">
|
|
<h3>Quick search</h3>
|
|
<form class="search" action="../search.html" method="get">
|
|
<input type="text" name="q" />
|
|
<input type="submit" value="Go" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
<p class="searchtip" style="font-size: 90%">
|
|
Enter search terms or a module, class or function name.
|
|
</p>
|
|
</div>
|
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
</div>
|
|
</div>
|
|
<div class="clearer"></div>
|
|
</div>
|
|
<div class="related">
|
|
<h3>Navigation</h3>
|
|
<ul>
|
|
<li class="right" style="margin-right: 10px">
|
|
<a href="../genindex.html" title="General Index"
|
|
>index</a></li>
|
|
<li><a href="../index.html">llvmpy 0.8.2 documentation</a> »</li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer">
|
|
© Copyright 2012, Mahadevan R (2008-2010), Continuum Analytics (2012).
|
|
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.2.
|
|
</div>
|
|
</body>
|
|
</html> |