summaryrefslogtreecommitdiff
path: root/gcc/collect-types.h
blob: 883c08d36dc8c3f052419b5549fef64bb8760915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "tree.h"
#include <set>

typedef std::set<const_tree> typeset;
struct points_to_record_sets_s {
  typeset universe;  
  typeset points_to_record;
  typeset complement;
  bool in_universe(const_tree) const;
  bool in_points_to_record(const_tree) const;
  bool in_complement(const_tree) const;
  void insert(const_tree, bool);
};

typedef struct points_to_record_sets_s ptrset_t;

extern void collect_types(const_tree type, ptrset_t &ptrset_t);