LLVM  10.0.0svn
Public Types | Public Member Functions | List of all members
llvm::StateWrapper< StateTy, Base > 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, Base >:
Inheritance graph
[legend]
Collaboration diagram for llvm::StateWrapper< StateTy, Base >:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

StateTypegetState () override
 See AbstractAttribute::getState(...). More...
 
const AbstractStategetState () const override
 See AbstractAttribute::getState(...). More...
 

Detailed Description

template<typename StateTy, typename Base>
struct llvm::StateWrapper< StateTy, Base >

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

Definition at line 1222 of file Attributor.h.

Member Typedef Documentation

◆ StateType

template<typename StateTy, typename Base>
using llvm::StateWrapper< StateTy, Base >::StateType = StateTy

Provide static access to the type of the state.

Definition at line 1224 of file Attributor.h.

Member Function Documentation

◆ getState() [1/2]

template<typename StateTy, typename Base>
StateType& llvm::StateWrapper< StateTy, Base >::getState ( )
inlineoverride

See AbstractAttribute::getState(...).

Definition at line 1227 of file Attributor.h.

◆ getState() [2/2]

template<typename StateTy, typename Base>
const AbstractState& llvm::StateWrapper< StateTy, Base >::getState ( ) const
inlineoverride

See AbstractAttribute::getState(...).

Definition at line 1230 of file Attributor.h.


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