Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.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)
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 3211 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 3213 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 3215 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 3222 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 3219 of file Attributor.h.


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