LLVM 22.0.0git
llvm::GISelWorkList< N > Class Template Reference

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

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

Public Member Functions

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

Detailed Description

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

Definition at line 27 of file GISelWorkList.h.

Constructor & Destructor Documentation

◆ GISelWorkList()

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

Definition at line 36 of file GISelWorkList.h.

Member Function Documentation

◆ clear()

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

Definition at line 97 of file GISelWorkList.h.

◆ deferred_insert()

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

Definition at line 50 of file GISelWorkList.h.

Referenced by llvm::Legalizer::legalizeMachineFunction().

◆ empty()

◆ finalize()

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

Definition at line 61 of file GISelWorkList.h.

Referenced by llvm::Legalizer::legalizeMachineFunction().

◆ 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 74 of file GISelWorkList.h.

Referenced by llvm::Legalizer::legalizeMachineFunction(), and llvm::saveUsesAndErase().

◆ pop_back_val()

◆ remove()

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

Remove I from the worklist if it exists.

Definition at line 83 of file GISelWorkList.h.

Referenced by llvm::saveUsesAndErase().

◆ size()

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

Definition at line 40 of file GISelWorkList.h.

Referenced by llvm::Legalizer::legalizeMachineFunction().


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