Click or drag to resize
Llvm.NET LogoInstructionBuilder Class

[This is preliminary documentation and is subject to change.]

LLVM Instruction builder allowing managed code to generate IR instructions
Inheritance Hierarchy
SystemObject
  Llvm.NET.InstructionsInstructionBuilder

Namespace:  Llvm.NET.Instructions
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public class InstructionBuilder : IDisposable

The InstructionBuilder type exposes the following members.

Constructors
  NameDescription
Public methodInstructionBuilder(BasicBlock)
Creates an InstructionBuilder for a BasicBlock
Public methodInstructionBuilder(Context)
Creates an InstructionBuilder for a given context
Top
Properties
  NameDescription
Public propertyContext
Gets the context this builder is creating instructions for
Public propertyInsertBlock
Top
Methods
  NameDescription
Public methodAdd
Public methodAlloca(ITypeRef)
Public methodAlloca(ITypeRef, ConstantInt)
Public methodAnd
Public methodArithmeticShiftRight
Public methodAtomicAdd
Public methodAtomicAnd
Public methodAtomicCmpXchg
Public methodAtomicMax
Public methodAtomicMin
Public methodAtomicNand
Public methodAtomicOr
Public methodAtomicSub
Public methodAtomicUMax
Public methodAtomicUMin
Public methodAtomicXchg
Public methodAtomicXor
Public methodBitCast
Public methodBranch(BasicBlock)
Public methodBranch(Value, BasicBlock, BasicBlock)
Public methodCall(Value, Value)
Public methodCall(Value, IReadOnlyListValue)
Public methodCompare(IntPredicate, Value, Value)
Builds an Integer compare instruction
Public methodCompare(Predicate, Value, Value)
Builds a compare instruction
Public methodCompare(RealPredicate, Value, Value)
Builds a Floating point compare instruction
Public methodConstGetElementPtrInBounds
Creates a Value that accesses an element of a type referenced by a pointer
Public methodDebugTrap
Public methodDispose
Releases all resources used by the InstructionBuilder
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the InstructionBuilder and optionally releases the managed resources
Public methodDoNothing
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExtractValue
Public methodFAdd
Public methodFDiv
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodFMul
Public methodFNeg
Public methodFPExt
Public methodFPToSICast
Public methodFPToUICast
Public methodFPTrunc
Public methodFRem
Public methodFSub
Public methodGetElementPtr
Creates a Value that accesses an element of a type referenced by a pointer
Public methodGetElementPtrInBounds(Value, Value)
Creates a Value that accesses an element of a type referenced by a pointer
Public methodGetElementPtrInBounds(Value, IEnumerableValue)
Creates a Value that accesses an element of a type referenced by a pointer
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStructElementPointer
Creates a Value that accesses an element (field) of a structure
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertValue
Public methodIntCast
Public methodIntToPointer
Builds a cast from an integer to a pointer
Public methodInvoke
Public methodLandingPad
Public methodLoad
Public methodLogicalShiftRight
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMemCpy
Builds a memcpy intrinsic call
Public methodMemMove
Builds a memmov intrinsic call
Public methodMemSet
Builds a memset intrinsic call
Public methodMul
Public methodNeg
Public methodNot
Public methodOr
Public methodPhiNode
Public methodPointerToInt
Builds a cast from a pointer to an integer type
Public methodPositionAtEnd
Positions the builder at the end of a given BasicBlock
Public methodPositionBefore
Positions the builder before the given instruction
Public methodResume
Public methodReturn
Public methodReturn(Value)
Public methodSDiv
Public methodShiftLeft
Public methodSignExtend
Public methodSignExtendOrBitCast
Public methodSIToFPCast
Public methodSRem
Public methodStore
Builds an LLVM Store instruction
Public methodSub
Public methodSwitch
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrunc
Public methodTruncOrBitCast
Public methodUDiv
Public methodUIToFPCast
Public methodUnreachable
Public methodURem
Public methodXor
Public methodZeroExtend
Public methodZeroExtendOrBitCast
Top
See Also