Mixin that adds module list iterators to SandboxIR globals.
Declared in <llvm/SandboxIR/Constant.h>
template<
typename GlobalT,
typename LLVMGlobalT,
typename ParentT,
typename LLVMParentT>
class GlobalWithNodeAPI
: public ParentT
Provides API functions like getIterator() and getReverseIterator() to GlobalIFunc, Function, GlobalVariable and GlobalAlias. In LLVM IR these are provided by ilist_node.
| Name | Description |
|---|---|
ParentT |
| Name | Description |
|---|---|
iterator | Forward iterator over globals of this kind in the parent module. |
reverse_iterator | Reverse iterator over globals of this kind in the parent module. |
| Name | Description |
|---|---|
GlobalWithNodeAPI [constructor] | Construct a GlobalWithNodeAPI wrapper around C. |
getIterator | Return an iterator to this global in its parent module list. |
getParent | Return the parent Module that contains this global. |
getReverseIterator | Return a reverse iterator to this global in its parent module list. |
| Name | Description |
|---|---|
Function | SandboxIR wrapper around an LLVM Function. |
GlobalAlias | A SandboxIR wrapper for an LLVM global alias. |
GlobalIFunc | A SandboxIR wrapper for an LLVM indirect function (ifunc). |
GlobalVariable | A SandboxIR wrapper for an LLVM global variable. |
Mixin that adds module list iterators to SandboxIR globals.