LLVM 19.0.0git
Classes | Public Member Functions | List of all members
llvm::SPIRV::DTSortableEntry Class Reference

#include "Target/SPIRV/SPIRVDuplicatesTracker.h"

Inheritance diagram for llvm::SPIRV::DTSortableEntry:
Inheritance graph
[legend]

Public Member Functions

bool getIsFunc () const
 
bool getIsGV () const
 
void setIsFunc (bool V)
 
void setIsGV (bool V)
 
const SmallVector< DTSortableEntry *, 2 > & getDeps () const
 
void addDep (DTSortableEntry *E)
 
- Public Member Functions inherited from llvm::MapVector< const MachineFunction *, Register >
SmallVector< std::pair< const MachineFunction *, Register >, 0 > takeVector ()
 Clear the MapVector and return the underlying vector.
 
size_type size () const
 
void reserve (size_type NumEntries)
 Grow the MapVector so that it can contain at least NumEntries items before resizing again.
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
bool empty () const
 
std::pair< const MachineFunction *, Register > & front ()
 
const std::pair< const MachineFunction *, Register > & front () const
 
std::pair< const MachineFunction *, Register > & back ()
 
const std::pair< const MachineFunction *, Register > & back () const
 
void clear ()
 
void swap (MapVector &RHS)
 
Registeroperator[] (const const MachineFunction * &Key)
 
Register lookup (const const MachineFunction * &Key) const
 
std::pair< iterator, booltry_emplace (const const MachineFunction * &Key, Ts &&...Args)
 
std::pair< iterator, booltry_emplace (const MachineFunction * &&Key, Ts &&...Args)
 
std::pair< iterator, boolinsert (const std::pair< const MachineFunction *, Register > &KV)
 
std::pair< iterator, boolinsert (std::pair< const MachineFunction *, Register > &&KV)
 
std::pair< iterator, boolinsert_or_assign (const const MachineFunction * &Key, V &&Val)
 
std::pair< iterator, boolinsert_or_assign (const MachineFunction * &&Key, V &&Val)
 
bool contains (const const MachineFunction * &Key) const
 
size_type count (const const MachineFunction * &Key) const
 
iterator find (const const MachineFunction * &Key)
 
const_iterator find (const const MachineFunction * &Key) const
 
void pop_back ()
 Remove the last element from the vector.
 
VectorType::iterator erase (typename VectorType::iterator Iterator)
 Remove the element given by Iterator.
 
size_type erase (const const MachineFunction * &Key)
 Remove all elements with the key value Key.
 
void remove_if (Predicate Pred)
 Remove the elements that match the predicate.
 
void remove_if (Function Pred)
 

Additional Inherited Members

- Public Types inherited from llvm::MapVector< const MachineFunction *, Register >
using key_type = const MachineFunction *
 
using value_type = typename VectorType::value_type
 
using size_type = typename VectorType::size_type
 
using iterator = typename VectorType::iterator
 
using const_iterator = typename VectorType::const_iterator
 
using reverse_iterator = typename VectorType::reverse_iterator
 
using const_reverse_iterator = typename VectorType::const_reverse_iterator
 

Detailed Description

Definition at line 31 of file SPIRVDuplicatesTracker.h.

Member Function Documentation

◆ addDep()

void llvm::SPIRV::DTSortableEntry::addDep ( DTSortableEntry E)
inline

◆ getDeps()

const SmallVector< DTSortableEntry *, 2 > & llvm::SPIRV::DTSortableEntry::getDeps ( ) const
inline

Definition at line 50 of file SPIRVDuplicatesTracker.h.

◆ getIsFunc()

bool llvm::SPIRV::DTSortableEntry::getIsFunc ( ) const
inline

◆ getIsGV()

bool llvm::SPIRV::DTSortableEntry::getIsGV ( ) const
inline

Definition at line 46 of file SPIRVDuplicatesTracker.h.

◆ setIsFunc()

void llvm::SPIRV::DTSortableEntry::setIsFunc ( bool  V)
inline

Definition at line 47 of file SPIRVDuplicatesTracker.h.

◆ setIsGV()

void llvm::SPIRV::DTSortableEntry::setIsGV ( bool  V)
inline

Definition at line 48 of file SPIRVDuplicatesTracker.h.


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