21#ifndef GCC_POINTER_QUERY_H
22#define GCC_POINTER_QUERY_H
114 void add_offset (
const offset_int &,
const offset_int &);
128 void dump (FILE *)
const;
192 void dump (FILE *,
bool =
false);
287 HOST_WIDE_INT * =
nullptr,
288 HOST_WIDE_INT * =
nullptr);
291 HOST_WIDE_INT * =
nullptr,
292 HOST_WIDE_INT * =
nullptr);
Definition pointer-query.h:162
range_query * rvals
Definition pointer-query.h:195
unsigned depth
Definition pointer-query.h:201
void dump(FILE *, bool=false)
Definition pointer-query.cc:1577
const access_ref * get_ref(tree, int=1) const
Definition pointer-query.cc:1460
unsigned max_depth
Definition pointer-query.h:202
unsigned hits
Definition pointer-query.h:198
pointer_query(range_query *=nullptr)
Definition pointer-query.cc:1449
unsigned misses
Definition pointer-query.h:199
void put_ref(tree, const access_ref &, int=1)
Definition pointer-query.cc:1529
unsigned failures
Definition pointer-query.h:200
DISABLE_COPY_AND_ASSIGN(pointer_query)
cache_type var_cache
Definition pointer-query.h:206
void flush_cache()
Definition pointer-query.cc:1568
Definition value-query.h:55
Definition pointer-query.h:28
int next_phi(tree)
Definition pointer-query.cc:1420
unsigned ssa_def_max
Definition pointer-query.h:30
bool next()
Definition pointer-query.cc:1404
bool visit_phi(tree)
Definition pointer-query.cc:1382
bitmap visited
Definition pointer-query.h:29
~ssa_name_limit_t()
Definition pointer-query.cc:1440
DISABLE_COPY_AND_ASSIGN(ssa_name_limit_t)
ssa_name_limit_t()
Definition pointer-query.h:37
void leave_phi(tree)
Definition pointer-query.cc:1394
class bitmap_head * bitmap
Definition coretypes.h:51
union tree_node * tree
Definition coretypes.h:97
static enum reg_class * pref
Definition ira-costs.cc:94
tree_to_offset_ref to_offset(const_tree)
Definition tree.h:6358
size_range_flags
Definition pointer-query.h:250
@ SR_USE_LARGEST
Definition pointer-query.h:255
@ SR_ALLOW_ZERO
Definition pointer-query.h:252
tree array_elt_at_offset(tree, HOST_WIDE_INT, HOST_WIDE_INT *=nullptr, HOST_WIDE_INT *=nullptr)
Definition pointer-query.cc:2543
tree field_at_offset(tree, tree, HOST_WIDE_INT, HOST_WIDE_INT *=nullptr, HOST_WIDE_INT *=nullptr)
Definition pointer-query.cc:2421
tree gimple_call_alloc_size(gimple *, wide_int[2]=nullptr, range_query *=nullptr)
Definition pointer-query.cc:449
tree build_printable_array_type(tree, unsigned HOST_WIDE_INT)
Definition pointer-query.cc:2588
tree compute_objsize(tree, gimple *, int, access_ref *, range_query *=nullptr)
Definition pointer-query.cc:2381
bool get_size_range(tree, tree[2], int=0)
Definition pointer-query.cc:436
Definition pointer-query.h:212
static void set_bound(offset_int[2], tree, bool, range_query *, gimple *)
Definition pointer-query.cc:1359
access_ref dst
Definition pointer-query.h:233
gimple * stmt
Definition pointer-query.h:229
offset_int dst_bndrng[2]
Definition pointer-query.h:239
tree call
Definition pointer-query.h:231
access_ref src
Definition pointer-query.h:233
int ostype
Definition pointer-query.h:246
access_data(range_query *, gimple *, access_mode, tree=NULL_TREE, bool=false, tree=NULL_TREE, bool=false)
Definition pointer-query.cc:1332
offset_int src_bndrng[2]
Definition pointer-query.h:240
access_mode mode
Definition pointer-query.h:244
Definition pointer-query.h:62
void add_offset(const offset_int &off)
Definition pointer-query.h:108
int deref
Definition pointer-query.h:143
offset_int sizrng[2]
Definition pointer-query.h:135
void set_max_size_range()
Definition pointer-query.h:101
bool ref_declared() const
Definition pointer-query.h:95
bool trail1special
Definition pointer-query.h:149
void add_max_offset()
Definition pointer-query.h:117
bool offset_zero() const
Definition pointer-query.h:78
tree(* eval)(tree)
Definition pointer-query.h:140
bool parmarray
Definition pointer-query.h:155
void inform_access(access_mode, int=1) const
Definition pointer-query.cc:1021
gphi * phi() const
Definition pointer-query.cc:617
tree ref
Definition pointer-query.h:131
bool offset_bounded() const
Definition builtins.cc:12384
bool base0
Definition pointer-query.h:152
offset_int offrng[2]
Definition pointer-query.h:134
offset_int offmax[2]
Definition pointer-query.h:137
bool ref_nullptr_p
Definition pointer-query.h:146
tree get_ref(vec< access_ref > *, access_ref *=nullptr, int=1, ssa_name_limit_t *=nullptr, pointer_query *=nullptr) const
Definition pointer-query.cc:739
bool offset_in_range(const offset_int &) const
Definition pointer-query.cc:924
void dump(FILE *) const
Definition pointer-query.cc:1276
void merge_ref(vec< access_ref > *all_refs, tree, gimple *, int, bool, ssa_name_limit_t &, pointer_query &)
Definition pointer-query.cc:635
access_ref()
Definition pointer-query.cc:603
offset_int size_remaining(offset_int *=nullptr) const
Definition pointer-query.cc:860
Definition pointer-query.h:168
auto_vec< unsigned > indices
Definition pointer-query.h:170
auto_vec< access_ref > access_refs
Definition pointer-query.h:172
tree max_object_size(void)
Definition tree.cc:14962
#define TYPE_MAX_VALUE(NODE)
Definition tree.h:2550
access_mode
Definition tree.h:5846
#define ptrdiff_type_node
Definition tree.h:4506
#define NULL_TREE
Definition tree.h:317
#define DECL_P(NODE)
Definition tree.h:231