LLVM 19.0.0git
Public Types | Public Member Functions | List of all members
llvm::StateWrapper< StateTy, BaseType, Ts > Struct Template Reference

Helper to tie a abstract state implementation to an abstract attribute. More...

#include "llvm/Transforms/IPO/Attributor.h"

Inheritance diagram for llvm::StateWrapper< StateTy, BaseType, Ts >:
Inheritance graph
[legend]

Public Types

using StateType = StateTy
 Provide static access to the type of the state.
 

Public Member Functions

 StateWrapper (const IRPosition &IRP, Ts... Args)
 
StateTypegetState () override
 See AbstractAttribute::getState(...).
 
const StateTypegetState () const override
 See AbstractAttribute::getState(...).
 

Detailed Description

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 3171 of file Attributor.h.

Member Typedef Documentation

◆ StateType

template<typename StateTy , typename BaseType , class... Ts>
using llvm::StateWrapper< StateTy, BaseType, Ts >::StateType = StateTy

Provide static access to the type of the state.

Definition at line 3173 of file Attributor.h.

Constructor & Destructor Documentation

◆ StateWrapper()

template<typename StateTy , typename BaseType , class... Ts>
llvm::StateWrapper< StateTy, BaseType, Ts >::StateWrapper ( const IRPosition IRP,
Ts...  Args 
)
inline

Definition at line 3175 of file Attributor.h.

Member Function Documentation

◆ getState() [1/2]

template<typename StateTy , typename BaseType , class... Ts>
const StateType & llvm::StateWrapper< StateTy, BaseType, Ts >::getState ( ) const
inlineoverride

See AbstractAttribute::getState(...).

Definition at line 3182 of file Attributor.h.

◆ getState() [2/2]

template<typename StateTy , typename BaseType , class... Ts>
StateType & llvm::StateWrapper< StateTy, BaseType, Ts >::getState ( )
inlineoverride

See AbstractAttribute::getState(...).

Definition at line 3179 of file Attributor.h.


The documentation for this struct was generated from the following file: