GCC Middle and Back End API Reference
|
#include <pointer-query.h>
Public Member Functions | |
access_data (range_query *, gimple *, access_mode, tree=NULL_TREE, bool=false, tree=NULL_TREE, bool=false) | |
access_data (range_query *, tree, access_mode, tree=NULL_TREE, bool=false, tree=NULL_TREE, bool=false) | |
Static Public Member Functions | |
static void | set_bound (offset_int[2], tree, bool, range_query *, gimple *) |
Data Fields | |
gimple * | stmt |
tree | call |
access_ref | dst |
access_ref | src |
offset_int | dst_bndrng [2] |
offset_int | src_bndrng [2] |
access_mode | mode |
int | ostype |
Describes a pair of references used in an access by built-in functions like memcpy.
access_data::access_data | ( | range_query * | query, |
gimple * | stmt, | ||
access_mode | mode, | ||
tree | maxwrite = NULL_TREE, | ||
bool | minwrite = false, | ||
tree | maxread = NULL_TREE, | ||
bool | minread = false ) |
Set the access to at most MAXWRITE and MAXREAD bytes, and at least 1 when MINWRITE or MINREAD, respectively, is set.
References dst_bndrng, set_bound(), src_bndrng, and stmt.
access_data::access_data | ( | range_query * | query, |
tree | expr, | ||
access_mode | mode, | ||
tree | maxwrite = NULL_TREE, | ||
bool | minwrite = false, | ||
tree | maxread = NULL_TREE, | ||
bool | minread = false ) |
Set the access to at most MAXWRITE and MAXREAD bytes, and at least 1 when MINWRITE or MINREAD, respectively, is set.
References dst_bndrng, set_bound(), src_bndrng, and stmt.
|
static |
Set BNDRNG to the range of BOUND for the statement STMT.
References get_size_range(), HOST_WIDE_INT_M1U, SR_ALLOW_ZERO, stmt, and wi::to_offset().
Referenced by access_data(), and access_data().
tree access_data::call |
access_ref access_data::dst |
Referenced by check_access(), and maybe_warn_for_bound().
offset_int access_data::dst_bndrng[2] |
Referenced by access_data(), access_data(), and check_access().
access_mode access_data::mode |
Referenced by check_access().
int access_data::ostype |
access_ref access_data::src |
Referenced by check_access(), and maybe_warn_for_bound().
offset_int access_data::src_bndrng[2] |
Referenced by access_data(), access_data(), and check_access().
gimple* access_data::stmt |
Referenced by access_data(), access_data(), check_access(), and set_bound().