| InstructionBuilder Class |
[This is preliminary documentation and is subject to change.]
Namespace: Llvm.NET.Instructions
public class InstructionBuilder : IDisposable
The InstructionBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
| InstructionBuilder(BasicBlock) | Creates an InstructionBuilder for a BasicBlock | |
| InstructionBuilder(Context) | Creates an InstructionBuilder for a given context |
| Name | Description | |
|---|---|---|
| Context | Gets the context this builder is creating instructions for | |
| InsertBlock |
| Name | Description | |
|---|---|---|
| Add | ||
| Alloca(ITypeRef) | ||
| Alloca(ITypeRef, ConstantInt) | ||
| And | ||
| ArithmeticShiftRight | ||
| AtomicAdd | ||
| AtomicAnd | ||
| AtomicCmpXchg | ||
| AtomicMax | ||
| AtomicMin | ||
| AtomicNand | ||
| AtomicOr | ||
| AtomicSub | ||
| AtomicUMax | ||
| AtomicUMin | ||
| AtomicXchg | ||
| AtomicXor | ||
| BitCast | ||
| Branch(BasicBlock) | ||
| Branch(Value, BasicBlock, BasicBlock) | ||
| Call(Value, Value) | ||
| Call(Value, IReadOnlyListValue) | ||
| Compare(IntPredicate, Value, Value) | Builds an Integer compare instruction | |
| Compare(Predicate, Value, Value) | Builds a compare instruction | |
| Compare(RealPredicate, Value, Value) | Builds a Floating point compare instruction | |
| ConstGetElementPtrInBounds | Creates a Value that accesses an element of a type referenced by a pointer | |
| DebugTrap | ||
| Dispose | Releases all resources used by the InstructionBuilder | |
| Dispose(Boolean) | Releases the unmanaged resources used by the InstructionBuilder and optionally releases the managed resources | |
| DoNothing | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExtractValue | ||
| FAdd | ||
| FDiv | ||
| Finalize | (Overrides ObjectFinalize.) | |
| FMul | ||
| FNeg | ||
| FPExt | ||
| FPToSICast | ||
| FPToUICast | ||
| FPTrunc | ||
| FRem | ||
| FSub | ||
| GetElementPtr | Creates a Value that accesses an element of a type referenced by a pointer | |
| GetElementPtrInBounds(Value, Value) | Creates a Value that accesses an element of a type referenced by a pointer | |
| GetElementPtrInBounds(Value, IEnumerableValue) | Creates a Value that accesses an element of a type referenced by a pointer | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetStructElementPointer | Creates a Value that accesses an element (field) of a structure | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InsertValue | ||
| IntCast | ||
| IntToPointer | Builds a cast from an integer to a pointer | |
| Invoke | ||
| LandingPad | ||
| Load | ||
| LogicalShiftRight | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemCpy | Builds a memcpy intrinsic call | |
| MemMove | Builds a memmov intrinsic call | |
| MemSet | Builds a memset intrinsic call | |
| Mul | ||
| Neg | ||
| Not | ||
| Or | ||
| PhiNode | ||
| PointerToInt | Builds a cast from a pointer to an integer type | |
| PositionAtEnd | Positions the builder at the end of a given BasicBlock | |
| PositionBefore | Positions the builder before the given instruction | |
| Resume | ||
| Return | ||
| Return(Value) | ||
| SDiv | ||
| ShiftLeft | ||
| SignExtend | ||
| SignExtendOrBitCast | ||
| SIToFPCast | ||
| SRem | ||
| Store | Builds an LLVM Store instruction | |
| Sub | ||
| Switch | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Trunc | ||
| TruncOrBitCast | ||
| UDiv | ||
| UIToFPCast | ||
| Unreachable | ||
| URem | ||
| Xor | ||
| ZeroExtend | ||
| ZeroExtendOrBitCast |