<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../../inkwell/all.html"title="show sidebar"></a></div><inputclass="search-input"name="search"aria-label="Run search in the documentation"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"tabindex="-1"><ahref="../../help.html"title="help">?</a></div><divid="settings-menu"tabindex="-1"><ahref="../../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><sectionid="main-content"class="content"><divclass="main-heading"><h1>Module <ahref="../index.html">inkwell</a>::<wbr><aclass="mod"href="#">values</a><buttonid="copy-path"title="Copy item path to clipboard"><imgsrc="../../static.files/clipboard-7571035ce49a181d.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="src"href="../../src/inkwell/values/mod.rs.html#1-261">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>A value is an instance of a type.</p>
</div></details><h2id="structs"class="section-header">Structs<ahref="#structs"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="struct"href="struct.ArrayValue.html"title="struct inkwell::values::ArrayValue">ArrayValue</a></div><divclass="desc docblock-short">An <code>ArrayValue</code> is a block of contiguous constants or variables.</div></li><li><divclass="item-name"><aclass="struct"href="struct.BasicValueUse.html"title="struct inkwell::values::BasicValueUse">BasicValueUse</a></div><divclass="desc docblock-short">A usage of a <code>BasicValue</code> in another value.</div></li><li><divclass="item-name"><aclass="struct"href="struct.CallSiteValue.html"title="struct inkwell::values::CallSiteValue">CallSiteValue</a></div><divclass="desc docblock-short">A value resulting from a function call. It may have function attributes applied to it.</div></li><li><divclass="item-name"><aclass="struct"href="struct.FieldValueIter.html"title="struct inkwell::values::FieldValueIter">FieldValueIter</a></div><divclass="desc docblock-short">Iterate over all the field values of this struct.</div></li><li><divclass="item-name"><aclass="struct"href="struct.FloatValue.html"title="struct inkwell::values::FloatValue">FloatValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.FunctionValue.html"title="struct inkwell::values::FunctionValue">FunctionValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.GenericValue.html"title="struct inkwell::values::GenericValue">GenericValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.GlobalValue.html"title="struct inkwell::values::GlobalValue">GlobalValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.IncomingIter.html"title="struct inkwell::values::IncomingIter">IncomingIter</a></div><divclass="desc docblock-short">Iterate over all the incoming edges of a phi value.</div></li><li><divclass="item-name"><aclass="struct"href="struct.InstructionValue.html"title="struct inkwell::values::InstructionValue">InstructionValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.IntValue.html"title="struct inkwell::values::IntValue">IntValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.MetadataValue.html"title="struct inkwell::values::MetadataValue">MetadataValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.OperandIter.html"title="struct inkwell::values::OperandIter">OperandIter</a></div><divclass="desc docblock-short">Iterate over all the operands of an instruction value.</div></li><li><divclass="item-name"><aclass="struct"href="struct.OperandUseIter.html"title="struct inkwell::values::OperandUseIter">OperandUseIter</a></div><divclass="desc docblock-short">Iterate over all the operands of an instruction value.</div></li><li><divclass="item-name"><aclass="struct"href="struct.PhiValue.html"title="struct inkwell::values::PhiValue">PhiValue</a></div><divclass="desc docblock-short">A Phi Instruction returns a value based on which basic block branched into
the Phi’s containing basic block.</div></li><li><divclass="item-name"><aclass="struct"href="struct.PointerValue.html"title="struct inkwell::values::PointerValue">PointerValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.StructValue.html"title="struct inkwell::values::StructValue">StructValue</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.VectorValue.html"title="struct inkwell::values::VectorValue">VectorValue</a></div></li></ul><h2id="enums"class="section-header">Enums<ahref="#enums"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="enum"href="enum.AggregateValueEnum.html"title="enum inkwell::values::AggregateValueEnum">AggregateValueEnum</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.AnyValueEnum.html"title="enum inkwell::values::AnyValueEnum">AnyValueEnum</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.BasicMetadataValueEnum.html"title="enum inkwell::values::BasicMetadataValueEnum">BasicMetadataValueEnum</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.BasicValueEnum.html"title="enum inkwell::values::BasicValueEnum">BasicValueEnum</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.InstructionOpcode.html"title="enum inkwell::values::InstructionOpcode">InstructionOpcode</a></div></li><li><divclass="item-name"><aclass="enum"href="enum.LLVMTailCallKind.html"title="enum inkwell::values::LLVMTailCallKind">LLVMTailCallKind</a></div><divclass="desc docblock-short">Tail call kind for LLVMSetTailCallKind and LLVMGetTailCallKind.</div></li><li><divclass="item-name"><aclass="enum"href="enum.UnnamedAddress.html"title="enum inkwell::values::UnnamedAddress">UnnamedAddress</a></div><divclass="desc docblock-short">This enum determines the significance of a <code>GlobalValue</code>’s address.</div></li></ul><h2id="constants"class="section-header">Constants<ahref="#constants"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="constant"href="constant.FIRST_CUSTOM_METADATA_KIND_ID.html"title="constant inkwell::values::FIRST_CUSTOM_METADATA_KIND_ID">FIRST_CUSTOM_METADATA_KIND_ID</a></div><divclass="desc docblock-short">Value returned by <ahref="../context/struct.Context.html#method.get_kind_id"title="method inkwell::context::Context::get_kind_id"><code>Context::get_kind_id()</code></a>
for the first input string that isn’t known.</div></li></ul><h2id="traits"class="section-header">Traits<ahref="#traits"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="trait"href="trait.AggregateValue.html"title="trait inkwell::values::AggregateValue">AggregateValue</a></div><divclass="desc docblock-short">Represents an aggregate value, built on top of other values.</div></li><li><divclass="item-name"><aclass="trait"href="trait.AnyValue.html"title="trait inkwell::values::AnyValue">AnyValue</a></div><divclass="desc docblock-short">Defines any struct wrapping an LLVM value.</div></li><li><divclass="item-name"><aclass="trait"href="trait.AsValueRef.html"title="trait inkwell::values::AsValueRef">AsValueRef</a></div></li><li><divclass="item-name"><aclass="trait"href="trait.BasicValue.html"title="trait inkwell::values::BasicValue">BasicValue</a></div><divclass="desc docblock-short">Represents a basic value, which can be used both by itself, or in an <code>AggregateValue</code>.</div></li><li><divclass="item-name"><aclass="trait"href="trait.FloatMathValue.html"title="trait inkwell::values::FloatMathValue">FloatMathValue</a></div><divclass="desc docblock-short">Represents a value which is permitted in floating point math operations</div></li><li><divclass="item-name"><aclass="trait"href="trait.IntMathValue.html"title="trait inkwell::values::IntMathValue">IntMathValue</a></div><divclass="desc docblock-short">Represents a value which is permitted in integer math operations</div></li><li><divclass="item-name"><aclass="trait"href="trait.PointerMathValue.html"title="trait inkwell::values::PointerMathValue">PointerMathValue</a></div></li></ul></section></div></main></body></html>