Table of Contents

Method InsertBasicBlock

Namespace
Ubiquity.NET.Llvm.Values
Assembly
Ubiquity.NET.Llvm.dll

InsertBasicBlock(LazyEncodedString, BasicBlock)

Inserts a basic block before another block in the function

public BasicBlock InsertBasicBlock(LazyEncodedString name, BasicBlock insertBefore)

Parameters

name LazyEncodedString

Name of the block

insertBefore BasicBlock

Block to insert the new block before

Returns

BasicBlock

New BasicBlock inserted

Exceptions

ArgumentException

insertBefore belongs to a different function