|
LLVM
7.0.0
|
#include "llvm/CodeGen/GlobalISel/GISelWorkList.h"
Public Member Functions | |
| GISelWorkList ()=default | |
| bool | empty () const |
| unsigned | size () const |
| void | insert (MachineInstr *I) |
| Add - Add the specified instruction to the worklist if it isn't already in it. More... | |
| void | remove (MachineInstr *I) |
| Remove - remove I from the worklist if it exists. More... | |
| MachineInstr * | pop_back_val () |
Definition at line 26 of file GISelWorkList.h.
|
default |
|
inline |
Definition at line 33 of file GISelWorkList.h.
References llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::empty().
Referenced by llvm::Combiner::combineMachineInstrs(), and llvm::Legalizer::runOnMachineFunction().
|
inline |
Add - Add the specified instruction to the worklist if it isn't already in it.
Definition at line 39 of file GISelWorkList.h.
References llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), second, llvm::SmallVectorBase::size(), and llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::try_emplace().
Referenced by llvm::Combiner::combineMachineInstrs(), and llvm::Legalizer::runOnMachineFunction().
|
inline |
Definition at line 56 of file GISelWorkList.h.
References assert(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::erase(), I, and llvm::SmallVectorImpl< T >::pop_back_val().
Referenced by llvm::Combiner::combineMachineInstrs(), and llvm::Legalizer::runOnMachineFunction().
|
inline |
Remove - remove I from the worklist if it exists.
Definition at line 46 of file GISelWorkList.h.
References llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::erase(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::find(), and I.
Referenced by llvm::Legalizer::runOnMachineFunction().
|
inline |
Definition at line 35 of file GISelWorkList.h.
References llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::size().
1.8.13