reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/ImmutableSet.h
  976   ImmutableSet(const ImmutableSet &X) : Root(X.Root) {
  984   ImmutableSet &operator=(const ImmutableSet &X) {
  984   ImmutableSet &operator=(const ImmutableSet &X) {
 1008     ImmutableSet getEmptySet() {
 1009       return ImmutableSet(F.getEmptyTree());
 1019     LLVM_NODISCARD ImmutableSet add(ImmutableSet Old, value_type_ref V) {
 1019     LLVM_NODISCARD ImmutableSet add(ImmutableSet Old, value_type_ref V) {
 1021       return ImmutableSet(Canonicalize ? F.getCanonicalTree(NewT) : NewT);
 1031     LLVM_NODISCARD ImmutableSet remove(ImmutableSet Old, value_type_ref V) {
 1031     LLVM_NODISCARD ImmutableSet remove(ImmutableSet Old, value_type_ref V) {
 1033       return ImmutableSet(Canonicalize ? F.getCanonicalTree(NewT) : NewT);
 1050   bool operator==(const ImmutableSet &RHS) const {
 1054   bool operator!=(const ImmutableSet &RHS) const {
 1084   using iterator = ImutAVLValueIterator<ImmutableSet>;
 1095   static void Profile(FoldingSetNodeID &ID, const ImmutableSet &S) {
 1169   ImmutableSet<ValT> asImmutableSet(bool canonicalize = true) const {
 1170     return ImmutableSet<ValT>(canonicalize ?
tools/clang/include/clang/Analysis/Analyses/LiveVariables.h
   33     llvm::ImmutableSet<const Stmt *> liveStmts;
   34     llvm::ImmutableSet<const VarDecl *> liveDecls;
   35     llvm::ImmutableSet<const BindingDecl *> liveBindings;
   42     LivenessValues(llvm::ImmutableSet<const Stmt *> LiveStmts,
   43                    llvm::ImmutableSet<const VarDecl *> LiveDecls,
   44                    llvm::ImmutableSet<const BindingDecl *> LiveBindings)
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
   74   typedef llvm::ImmutableSet<llvm::APSInt*>                IntSetTy;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
  194   struct ProgramStatePartialTrait<llvm::ImmutableSet<Key, Info>> {
  195     using data_type = llvm::ImmutableSet<Key, Info>;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
   64   typedef llvm::ImmutableSet<Range, RangeTrait> PrimRangeSet;
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
   21 typedef llvm::ImmutableSet<
tools/clang/lib/Analysis/LiveVariables.cpp
   77   llvm::ImmutableSet<const Stmt *>::Factory SSetFact;
   78   llvm::ImmutableSet<const VarDecl *>::Factory DSetFact;
   79   llvm::ImmutableSet<const BindingDecl *>::Factory BSetFact;
  253 static void AddLiveStmt(llvm::ImmutableSet<const Stmt *> &Set,
  254                         llvm::ImmutableSet<const Stmt *>::Factory &F,
  643     for (llvm::ImmutableSet<const VarDecl *>::iterator si =
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
  190   for (llvm::ImmutableSet<ZeroState>::iterator I = DivZeroes.begin(),
unittests/ADT/ImmutableSetTest.cpp
   37   ImmutableSet<int>::Factory f;
   43   ImmutableSet<int> S = f.getEmptySet();
   51   ImmutableSet<int>::Factory f;
   52   ImmutableSet<int> S = f.getEmptySet();
   54   ImmutableSet<int> S2 = f.add(S, 3);
   64   ImmutableSet<int> S3 = f.add(S, 2);
   79   ImmutableSet<int>::Factory f;
   80   ImmutableSet<int> S = f.getEmptySet();
   82   ImmutableSet<int> S2 = f.add(f.add(f.add(S, 3), 4), 5);
   83   ImmutableSet<int> S3 = f.add(f.add(f.add(S2, 9), 20), 43);
   84   ImmutableSet<int> S4 = f.add(S2, 9);
  117   ImmutableSet<int>::Factory f;
  118   ImmutableSet<int> S = f.getEmptySet();
  120   ImmutableSet<int> S2 = f.add(f.add(S, 4), 5);
  121   ImmutableSet<int> S3 = f.add(S2, 3);
  122   ImmutableSet<int> S4 = f.remove(S3, 3);
  140   ImmutableSet<char>::Factory f;
  141   ImmutableSet<char> S = f.getEmptySet();
  143   ImmutableSet<char> S2 = f.add(f.add(f.add(S, 'a'), 'e'), 'i');
  144   ImmutableSet<char> S3 = f.add(f.add(S2, 'o'), 'u');
  152   ImmutableSet<char>::Factory f;
  153   ImmutableSet<char> S = f.getEmptySet();
  155   ImmutableSet<char> S2 = f.add(f.add(f.add(S, 'b'), 'c'), 'd');
  156   ImmutableSet<char> S3 = f.add(f.add(f.add(S2, 'f'), 'g'), 'h');
  175   ImmutableSet<long>::Factory f;
  176   ImmutableSet<long> S = f.getEmptySet();
  178   ImmutableSet<long> S2 = f.add(f.add(f.add(S, 0), 1), 2);
  179   ImmutableSet<long> S3 = f.add(f.add(f.add(S2, 3), 4), 5);
  182   for (ImmutableSet<long>::iterator I = S.begin(), E = S.end(); I != E; ++I) {
  189   for (ImmutableSet<long>::iterator I = S2.begin(), E = S2.end(); I != E; ++I) {
  196   for (ImmutableSet<long>::iterator I = S3.begin(), E = S3.end(); I != E; I++) {