LLVM  8.0.1
Public Member Functions | List of all members
llvm::GISelWorkList< N > Class Template Reference

#include "llvm/CodeGen/GlobalISel/GISelWorkList.h"

Inheritance diagram for llvm::GISelWorkList< N >:
Inheritance graph
[legend]

Public Member Functions

 GISelWorkList ()
 
bool empty () const
 
unsigned size () const
 
void insert (MachineInstr *I)
 Add the specified instruction to the worklist if it isn't already in it. More...
 
void remove (const MachineInstr *I)
 Remove I from the worklist if it exists. More...
 
void clear ()
 
MachineInstrpop_back_val ()
 

Detailed Description

template<unsigned N>
class llvm::GISelWorkList< N >

Definition at line 32 of file GISelWorkList.h.

Constructor & Destructor Documentation

◆ GISelWorkList()

template<unsigned N>
llvm::GISelWorkList< N >::GISelWorkList ( )
inline

Definition at line 37 of file GISelWorkList.h.

Member Function Documentation

◆ clear()

template<unsigned N>
void llvm::GISelWorkList< N >::clear ( )
inline

Definition at line 60 of file GISelWorkList.h.

◆ empty()

template<unsigned N>
bool llvm::GISelWorkList< N >::empty ( ) const
inline

◆ insert()

template<unsigned N>
void llvm::GISelWorkList< N >::insert ( MachineInstr I)
inline

Add the specified instruction to the worklist if it isn't already in it.

Definition at line 44 of file GISelWorkList.h.

Referenced by llvm::Combiner::combineMachineInstrs(), and llvm::Legalizer::runOnMachineFunction().

◆ pop_back_val()

template<unsigned N>
MachineInstr* llvm::GISelWorkList< N >::pop_back_val ( )
inline

◆ remove()

template<unsigned N>
void llvm::GISelWorkList< N >::remove ( const MachineInstr I)
inline

Remove I from the worklist if it exists.

Definition at line 50 of file GISelWorkList.h.

◆ size()

template<unsigned N>
unsigned llvm::GISelWorkList< N >::size ( ) const
inline

Definition at line 41 of file GISelWorkList.h.


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