Table of Contents

Method FindOrCreateNamedBlock

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

FindOrCreateNamedBlock(LazyEncodedString)

Retrieves or creates block by name

public BasicBlock FindOrCreateNamedBlock(LazyEncodedString name)

Parameters

name LazyEncodedString

Block name (label) to look for or create

Returns

BasicBlock

BasicBlock If the block was created it is appended to the end of function

Remarks

This method tries to find a block by it's name and returns it if found, if not found a new block is created and appended to the current function.