Method FindOrCreateNamedBlock
FindOrCreateNamedBlock(LazyEncodedString)
Retrieves or creates block by name
public BasicBlock FindOrCreateNamedBlock(LazyEncodedString name)
Parameters
name
LazyEncodedStringBlock 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.