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