struct StateWrapper
Declaration
template <typename StateTy, typename BaseType, class... Ts>
struct StateWrapper { /* full declaration omitted */ };
Description
Helper to tie a abstract state implementation to an abstract attribute.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2820
Templates
- StateTy
- BaseType
- Ts
Method Overview
- public StateWrapper<StateTy, BaseType, Ts...>(const llvm::IRPosition & IRP, Ts... Args)
- public llvm::StateWrapper::StateType & getState()
- public const llvm::StateWrapper::StateType & getState() const
Methods
¶StateWrapper<StateTy, BaseType, Ts...>(
const llvm::IRPosition& IRP,
Ts... Args)
StateWrapper<StateTy, BaseType, Ts...>(
const llvm::IRPosition& IRP,
Ts... Args)
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2824
Parameters
- const llvm::IRPosition& IRP
- Ts... Args
¶llvm::StateWrapper::StateType& getState()
llvm::StateWrapper::StateType& getState()
Description
See AbstractAttribute::getState(...).
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2828
¶const llvm::StateWrapper::StateType& getState()
const
const llvm::StateWrapper::StateType& getState()
const
Description
See AbstractAttribute::getState(...).
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:2831