LLVM: llvm::StateWrapper< StateTy, BaseType, Ts (original) (raw)
Helper to tie a abstract state implementation to an abstract attribute. More...
#include "[llvm/Transforms/IPO/Attributor.h](Attributor%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | StateType = StateTy |
| Provide static access to the type of the state. |
| Public Member Functions | |
|---|---|
| StateWrapper (const IRPosition &IRP, Ts... Args) | |
| StateType & | getState () override |
| See AbstractAttribute::getState(...). | |
| const StateType & | getState () const override |
| See AbstractAttribute::getState(...). |
template<typename StateTy, typename BaseType, class... Ts>
struct llvm::StateWrapper< StateTy, BaseType, Ts >
Helper to tie a abstract state implementation to an abstract attribute.
Definition at line 3211 of file Attributor.h.
◆ StateType
Provide static access to the type of the state.
Definition at line 3213 of file Attributor.h.
◆ getState() [1/2]
See AbstractAttribute::getState(...).
Definition at line 3222 of file Attributor.h.
◆ getState() [2/2]
See AbstractAttribute::getState(...).
Definition at line 3219 of file Attributor.h.
The documentation for this struct was generated from the following file:
- include/llvm/Transforms/IPO/Attributor.h