parent
							
								
									d1039cc581
								
							
						
					
					
						commit
						37b6b097ff
					
				| 
						 | 
					@ -39,6 +39,7 @@
 | 
				
			||||||
          <li><a href="#t_pointer">Pointer Type</a></li>
 | 
					          <li><a href="#t_pointer">Pointer Type</a></li>
 | 
				
			||||||
          <li><a href="#t_struct">Structure Type</a></li>
 | 
					          <li><a href="#t_struct">Structure Type</a></li>
 | 
				
			||||||
          <li><a href="#t_packed">Packed Type</a></li>
 | 
					          <li><a href="#t_packed">Packed Type</a></li>
 | 
				
			||||||
 | 
					          <li><a href="#t_opaque">Opaque Type</a></li>
 | 
				
			||||||
        </ol>
 | 
					        </ol>
 | 
				
			||||||
      </li>
 | 
					      </li>
 | 
				
			||||||
    </ol>
 | 
					    </ol>
 | 
				
			||||||
| 
						 | 
					@ -750,18 +751,27 @@ reference to another object, which must live in memory.</p>
 | 
				
			||||||
<!-- _______________________________________________________________________ -->
 | 
					<!-- _______________________________________________________________________ -->
 | 
				
			||||||
<div class="doc_subsubsection"> <a name="t_packed">Packed Type</a> </div>
 | 
					<div class="doc_subsubsection"> <a name="t_packed">Packed Type</a> </div>
 | 
				
			||||||
<div class="doc_text">
 | 
					<div class="doc_text">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h5>Overview:</h5>
 | 
					<h5>Overview:</h5>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<p>A packed type is a simple derived type that represents a vector
 | 
					<p>A packed type is a simple derived type that represents a vector
 | 
				
			||||||
of elements.  Packed types are used when multiple primitive data 
 | 
					of elements.  Packed types are used when multiple primitive data 
 | 
				
			||||||
are operated in parallel using a single instruction (SIMD). 
 | 
					are operated in parallel using a single instruction (SIMD). 
 | 
				
			||||||
A packed type requires a size (number of
 | 
					A packed type requires a size (number of
 | 
				
			||||||
elements) and an underlying primitive data type.  Packed types are
 | 
					elements) and an underlying primitive data type.  Packed types are
 | 
				
			||||||
considered <a href="#t_firstclass">first class</a>.</p>
 | 
					considered <a href="#t_firstclass">first class</a>.</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h5>Syntax:</h5>
 | 
					<h5>Syntax:</h5>
 | 
				
			||||||
<pre>  < <# elements> x <elementtype> ><br></pre>
 | 
					
 | 
				
			||||||
 | 
					<pre>
 | 
				
			||||||
 | 
					  < <# elements> x <elementtype> >
 | 
				
			||||||
 | 
					</pre>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<p>The number of elements is a constant integer value, elementtype may
 | 
					<p>The number of elements is a constant integer value, elementtype may
 | 
				
			||||||
be any integral or floating point type.</p>
 | 
					be any integral or floating point type.</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<h5>Examples:</h5>
 | 
					<h5>Examples:</h5>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<table class="layout">
 | 
					<table class="layout">
 | 
				
			||||||
  <tr class="layout">
 | 
					  <tr class="layout">
 | 
				
			||||||
    <td class="left">
 | 
					    <td class="left">
 | 
				
			||||||
| 
						 | 
					@ -778,6 +788,38 @@ be any integral or floating point type.</p>
 | 
				
			||||||
</table>
 | 
					</table>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<!-- _______________________________________________________________________ -->
 | 
				
			||||||
 | 
					<div class="doc_subsubsection"> <a name="t_opaque">Opaque Type</a> </div>
 | 
				
			||||||
 | 
					<div class="doc_text">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<h5>Overview:</h5>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<p>Opaque types are used to represent unknown types in the system.  This
 | 
				
			||||||
 | 
					corresponds (for example) to the C notion of a foward declared structure type.
 | 
				
			||||||
 | 
					In LLVM, opaque types can eventually be resolved to any type (not just a
 | 
				
			||||||
 | 
					structure type).</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<h5>Syntax:</h5>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<pre>
 | 
				
			||||||
 | 
					  opaque
 | 
				
			||||||
 | 
					</pre>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<h5>Examples:</h5>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<table class="layout">
 | 
				
			||||||
 | 
					  <tr class="layout">
 | 
				
			||||||
 | 
					    <td class="left">
 | 
				
			||||||
 | 
					      <tt>opaque</tt>
 | 
				
			||||||
 | 
					    </td>
 | 
				
			||||||
 | 
					    <td class="left">
 | 
				
			||||||
 | 
					      An opaque type.<br/>
 | 
				
			||||||
 | 
					    </td>
 | 
				
			||||||
 | 
					  </tr>
 | 
				
			||||||
 | 
					</table>
 | 
				
			||||||
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- *********************************************************************** -->
 | 
					<!-- *********************************************************************** -->
 | 
				
			||||||
<div class="doc_section"> <a name="constants">Constants</a> </div>
 | 
					<div class="doc_section"> <a name="constants">Constants</a> </div>
 | 
				
			||||||
<!-- *********************************************************************** -->
 | 
					<!-- *********************************************************************** -->
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue