Method Alloca
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
Alloca(ITypeRef)
Creates an alloca instruction
public Alloca Alloca(ITypeRef typeRef)
Parameters
typeRefITypeRefType of the value to allocate
Returns
Alloca(ITypeRef, ConstantInt)
Creates an alloca instruction
[SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Justification = "Specific type required by interop call")]
public Alloca Alloca(ITypeRef typeRef, ConstantInt elements)
Parameters
typeRefITypeRefType of the value to allocate
elementsConstantIntNumber of elements to allocate