[llvm-commits] CVS: llvm/docs/LangRef.html
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Mar 28 12:06:05 PST 2005
Changes in directory llvm/docs:
LangRef.html updated: 1.90 -> 1.91
---
Log message:
First step in adding pcmarker intrinsic. Second step (soon) is adding backend support.
---
Diffs of the changes: (+42 -1)
LangRef.html | 43 ++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 42 insertions(+), 1 deletion(-)
Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.90 llvm/docs/LangRef.html:1.91
--- llvm/docs/LangRef.html:1.90 Mon Mar 7 16:13:59 2005
+++ llvm/docs/LangRef.html Mon Mar 28 14:05:48 2005
@@ -126,6 +126,7 @@
<li><a href="#i_returnaddress">'<tt>llvm.returnaddress</tt>' Intrinsic</a></li>
<li><a href="#i_frameaddress">'<tt>llvm.frameaddress</tt>' Intrinsic</a></li>
<li><a href="#i_prefetch">'<tt>llvm.prefetch</tt>' Intrinsic</a></li>
+ <li><a href="#i_pcmarker">'<tt>llvm.pcmarker</tt>' Intrinsic</a></li>
</ol>
</li>
<li><a href="#int_os">Operating System Intrinsics</a>
@@ -2548,6 +2549,46 @@
</div>
+<!-- _______________________________________________________________________ -->
+<div class="doc_subsubsection">
+ <a name="i_pcmarker">'<tt>llvm.pcmarker</tt>' Intrinsic</a>
+</div>
+
+<div class="doc_text">
+
+<h5>Syntax:</h5>
+<pre>
+ call void (uint)* %llvm.pcmarker( uint <id> )
+</pre>
+
+<h5>Overview:</h5>
+
+
+<p>
+The '<tt>llvm.pcmarker</tt>' intrinsic is a method to export a PC in a region of
+code to simulators and other tools. The method is target specific, but it is
+expected that the marker will use exported symbols to transmit the PC of the marker.
+The marker makes no guaranties that it will remain with any specific instruction
+after optimizations. It is possible that the presense of a marker will inhibit
+optimizations. The intended use is to be inserted after optmizations to allow
+corrolations of simulation runs.
+</p>
+
+<h5>Arguments:</h5>
+
+<p>
+<tt>id</tt> is a numerical id identifying the marker.
+</p>
+
+<h5>Semantics:</h5>
+
+<p>
+This intrinsic does not modify the behavior of the program. Backends that do not
+support this intrinisic may ignore it.
+</p>
+
+</div>
+
<!-- ======================================================================= -->
<div class="doc_subsection">
@@ -2974,7 +3015,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2005/03/07 22:13:59 $
+ Last modified: $Date: 2005/03/28 20:05:48 $
</address>
</body>
</html>
More information about the llvm-commits
mailing list