Home
last modified time | relevance | path

Searched defs:IndexedSet (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFRegisters.h53 template <typename T, unsigned N = 32> struct IndexedSet { struct
54 IndexedSet() { Map.reserve(N); } in IndexedSet() argument
56 T get(uint32_t Idx) const { in get()
62 uint32_t insert(T Val) { in insert()
71 uint32_t find(T Val) const { in find()
77 uint32_t size() const { return Map.size(); } in size()
79 using const_iterator = typename std::vector<T>::const_iterator;
81 const_iterator begin() const { return Map.begin(); } in begin()
82 const_iterator end() const { return Map.end(); } in end()