 | FunctionFindOrCreateNamedBlock Method |
[This is preliminary documentation and is subject to change.]
Retrieves or creates block by name
Namespace:
Llvm.NET.Values
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic BasicBlock FindOrCreateNamedBlock(
string name
)
Parameters
- name
- Type: SystemString
Block name (label) to look for or create
Return Value
Type:
BasicBlockBasicBlock 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.
See Also