/* IPA predicates.
- Copyright (C) 2003-2017 Free Software Foundation, Inc.
+ Copyright (C) 2003-2019 Free Software Foundation, Inc.
Contributed by Jan Hubicka
This file is part of GCC.
loaded. */
HOST_WIDE_INT offset;
/* Size of the access reading the data (or the PARM_DECL SSA_NAME). */
- HOST_WIDE_INT size;
+ poly_int64 size;
tree val;
int operand_num;
ENUM_BITFIELD(tree_code) code : 16;
/* Compute logical and of predicates. */
predicate & operator &= (const predicate &);
- inline predicate operator &(const predicate &p)
+ inline predicate operator &(const predicate &p) const
{
predicate ret = *this;
ret &= p;
predicate remap_after_duplication (clause_t);
/* Return predicate equal to THIS after inlining. */
- predicate remap_after_inlining (struct inline_summary *,
- struct inline_summary *,
+ predicate remap_after_inlining (class ipa_fn_summary *,
+ class ipa_fn_summary *,
vec<int>, vec<int>, clause_t, const predicate &);
- void stream_in (struct lto_input_block *);
+ void stream_in (class lto_input_block *);
void stream_out (struct output_block *);
private:
};
void dump_condition (FILE *f, conditions conditions, int cond);
-predicate add_condition (struct inline_summary *summary, int operand_num,
- HOST_WIDE_INT size, struct agg_position_info *aggpos,
+predicate add_condition (class ipa_fn_summary *summary, int operand_num,
+ poly_int64 size, struct agg_position_info *aggpos,
enum tree_code code, tree val);