LLVM  16.0.0git
Public Member Functions | List of all members
llvm::DefaultInlineOrder< T, Container > Class Template Reference

#include "llvm/Analysis/InlineOrder.h"

Inheritance diagram for llvm::DefaultInlineOrder< T, Container >:
Inheritance graph
[legend]
Collaboration diagram for llvm::DefaultInlineOrder< T, Container >:
Collaboration graph
[legend]

Public Member Functions

size_t size () override
 
void push (const T &Elt) override
 
pop () override
 
const_reference front () override
 
void erase_if (function_ref< bool(T)> Pred) override
 
- Public Member Functions inherited from llvm::InlineOrder< T >
virtual ~InlineOrder ()=default
 
bool empty ()
 

Additional Inherited Members

- Public Types inherited from llvm::InlineOrder< T >
using reference = T &
 
using const_reference = const T &
 

Detailed Description

template<typename T, typename Container = SmallVector<T, 16>>
class llvm::DefaultInlineOrder< T, Container >

Definition at line 51 of file InlineOrder.h.

Member Function Documentation

◆ erase_if()

template<typename T , typename Container = SmallVector<T, 16>>
void llvm::DefaultInlineOrder< T, Container >::erase_if ( function_ref< bool(T)>  Pred)
inlineoverridevirtual

Implements llvm::InlineOrder< T >.

Definition at line 70 of file InlineOrder.h.

References llvm::remove_if().

◆ front()

template<typename T , typename Container = SmallVector<T, 16>>
const_reference llvm::DefaultInlineOrder< T, Container >::front ( )
inlineoverridevirtual

Implements llvm::InlineOrder< T >.

Definition at line 65 of file InlineOrder.h.

References assert(), and llvm::DefaultInlineOrder< T, Container >::size().

◆ pop()

template<typename T , typename Container = SmallVector<T, 16>>
T llvm::DefaultInlineOrder< T, Container >::pop ( )
inlineoverridevirtual

Implements llvm::InlineOrder< T >.

Definition at line 60 of file InlineOrder.h.

References assert(), llvm::DefaultInlineOrder< T, Container >::size(), and T.

◆ push()

template<typename T , typename Container = SmallVector<T, 16>>
void llvm::DefaultInlineOrder< T, Container >::push ( const T &  Elt)
inlineoverridevirtual

Implements llvm::InlineOrder< T >.

Definition at line 58 of file InlineOrder.h.

◆ size()

template<typename T , typename Container = SmallVector<T, 16>>
size_t llvm::DefaultInlineOrder< T, Container >::size ( )
inlineoverridevirtual

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