Searched refs:SparseSet (Results 1 - 22 of 22) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DSparseSet.h1 //===--- llvm/ADT/SparseSet.h - Sparse set ----------------------*- C++ -*-===//
10 // This file defines the SparseSet class derived from the version described in
30 /// SparseSetValTraits - Objects in a SparseSet are identified by keys that can
33 /// long as an index can still be derived from the value. SparseSet never
36 /// object. To compute the index from a key, SparseSet uses a separate
39 /// A simple type declaration, SparseSet<Type>, handles these cases:
43 /// The type declaration SparseSet<Type, UnaryFunction> handles:
79 /// SparseSet - Fast set implmentation for objects that can be identified by
82 /// SparseSet allocates memory proportional to the size of the key universe, so
86 /// Compared to DenseSet and DenseMap, SparseSet provide
120 class SparseSet { class in namespace:llvm
146 SparseSet() : Sparse(nullptr), Universe(0) {} function in class:llvm::SparseSet
[all...]
/external/chromium_org/third_party/re2/util/
H A Dsparse_set.h7 // SparseSet<T>(m) is a set of integers in [0, m).
26 // change after visiting. Thus SparseSet can be a convenient
29 // The SparseSet implementation is NOT thread-safe. It is up to the
34 // The SparseSet interface does not present all the usual STL bells and
54 class SparseSet { class in namespace:re2
56 SparseSet() function in class:re2::SparseSet
60 SparseSet(int max_size) { function in class:re2::SparseSet
76 ~SparseSet() {
175 DISALLOW_EVIL_CONSTRUCTORS(SparseSet);
/external/regex-re2/util/
H A Dsparse_set.h7 // SparseSet<T>(m) is a set of integers in [0, m).
26 // change after visiting. Thus SparseSet can be a convenient
29 // The SparseSet implementation is NOT thread-safe. It is up to the
34 // The SparseSet interface does not present all the usual STL bells and
54 class SparseSet { class in namespace:re2
56 SparseSet() function in class:re2::SparseSet
59 SparseSet(int max_size) { function in class:re2::SparseSet
75 ~SparseSet() {
174 DISALLOW_EVIL_CONSTRUCTORS(SparseSet);
/external/llvm/include/llvm/CodeGen/
H A DLivePhysRegs.h32 #include "llvm/ADT/SparseSet.h"
45 SparseSet<unsigned> LiveRegs;
128 typedef SparseSet<unsigned>::const_iterator const_iterator;
H A DRegisterPressure.h18 #include "llvm/ADT/SparseSet.h"
212 SparseSet<unsigned> PhysRegs;
213 SparseSet<unsigned, VirtReg2IndexFunctor> VirtRegs;
282 SparseSet<unsigned, VirtReg2IndexFunctor> UntiedDefs;
H A DScheduleDAGInstrs.h19 #include "llvm/ADT/SparseSet.h"
63 /// Use SparseSet as a SparseMap by relying on the fact that it never
67 typedef SparseSet<VReg2SUnit, VirtReg2IndexFunctor> VReg2SUnitMap;
/external/llvm/lib/CodeGen/
H A DLivePhysRegs.cpp25 SparseSet<unsigned>::iterator LRI = LiveRegs.begin();
H A DVirtRegMap.cpp22 #include "llvm/ADT/SparseSet.h"
165 SparseSet<unsigned> PhysRegs;
273 // Here we have a SparseSet to hold which PhysRegs are actually encountered
409 for (SparseSet<unsigned>::iterator
414 for (SparseSet<unsigned>::iterator
H A DMachineTraceMetrics.cpp12 #include "llvm/ADT/SparseSet.h"
700 SparseSet<LiveRegUnit> &RegUnits,
723 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units);
801 SparseSet<LiveRegUnit> RegUnits;
874 SparseSet<LiveRegUnit> &RegUnits,
892 SparseSet<LiveRegUnit>::iterator I = RegUnits.find(*Units);
999 SparseSet<LiveRegUnit> RegUnits;
1122 for (SparseSet<LiveRegUnit>::const_iterator
H A DEarlyIfConversion.cpp23 #include "llvm/ADT/SparseSet.h"
134 SparseSet<unsigned> LiveRegUnits;
318 for (SparseSet<unsigned>::const_iterator
H A DRegAllocFast.cpp21 #include "llvm/ADT/SparseSet.h"
86 typedef SparseSet<LiveReg> LiveRegMap;
118 typedef SparseSet<unsigned> UsedInInstrSet;
H A DRegisterPressure.cpp246 for (SparseSet<unsigned>::const_iterator I =
264 for (SparseSet<unsigned>::const_iterator I =
H A DScheduleDAGInstrs.cpp1243 SparseSet<RootData> RootSet;
1330 for (SparseSet<RootData>::const_iterator
/external/llvm/unittests/ADT/
H A DSparseSetTest.cpp1 //===------ ADT/SparseSetTest.cpp - SparseSet unit tests - -----*- C++ -*-===//
10 #include "llvm/ADT/SparseSet.h"
17 typedef SparseSet<unsigned> USet;
168 typedef SparseSet<Alt> ASet;
/external/chromium_org/third_party/re2/re2/
H A Ddfa.cc386 class DFA::Workq : public SparseSet {
390 SparseSet(n+maxmark),
402 SparseSet::clear();
410 SparseSet::insert_new(nextmark_++);
425 SparseSet::insert_new(id);
H A Dprog.cc127 typedef SparseSet Workq;
H A Donepass.cc348 typedef SparseSet Instq;
H A Dnfa.cc629 typedef SparseSet Workq;
/external/regex-re2/re2/
H A Ddfa.cc384 class DFA::Workq : public SparseSet {
388 SparseSet(n+maxmark),
400 SparseSet::clear();
408 SparseSet::insert_new(nextmark_++);
423 SparseSet::insert_new(id);
H A Dprog.cc127 typedef SparseSet Workq;
H A Donepass.cc348 typedef SparseSet Instq;
H A Dnfa.cc629 typedef SparseSet Workq;

Completed in 303 milliseconds