LLVM 24.0.0git
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 >:
[legend]

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
const StateType & getState () const override
bool isAtFixpoint () const final
bool isStateAtFixpoint () const final

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 3230 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 3232 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 3234 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

Definition at line 3239 of file Attributor.h.

◆ getState() [2/2]

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

Definition at line 3237 of file Attributor.h.

◆ isAtFixpoint()

template<typename StateTy, typename BaseType, class... Ts>
bool llvm::StateWrapper< StateTy, BaseType, Ts >::isAtFixpoint ( ) const
inlinefinal

Definition at line 3241 of file Attributor.h.

◆ isStateAtFixpoint()

template<typename StateTy, typename BaseType, class... Ts>
bool llvm::StateWrapper< StateTy, BaseType, Ts >::isStateAtFixpoint ( ) const
inlinefinal

Definition at line 3243 of file Attributor.h.


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