GCC Middle and Back End API Reference
tree-ssa-loop.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  affine_iv_d
struct  tree_niter_desc

Typedefs

typedef struct affine_iv_d affine_iv

Functions

bool for_each_index (tree *, bool(*)(tree, tree *, void *), void *)
char * get_lsm_tmp_name (tree ref, unsigned n, const char *suffix=NULL)
unsigned tree_num_loop_insns (struct loop *, struct eni_weights_d *)
static struct looploop_containing_stmt ()

Typedef Documentation

typedef struct affine_iv_d affine_iv

Header file for SSA loop optimizations. Copyright (C) 2013 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/. Affine iv.


Function Documentation

bool for_each_index ( tree addr_p,
bool(*)(tree, tree *, void *)  cbck,
void *  data 
)

Calls CBCK for each index in memory reference ADDR_P. There are two kinds situations handled; in each of these cases, the memory reference and DATA are passed to the callback:

Access to an array: ARRAY_{RANGE_}REF (base, index). In this case we also pass the pointer to the index to the callback.

Pointer dereference: INDIRECT_REF (addr). In this case we also pass the pointer to addr to the callback.

If the callback returns false, the whole search stops and false is returned. Otherwise the function returns true after traversing through the whole reference *ADDR_P.

If the component has varying offset, it behaves like index as well.

Referenced by refs_independent_p().

char* get_lsm_tmp_name ( tree  ref,
unsigned  n,
const char *  suffix = NULL 
)
static struct loop* loop_containing_stmt ( )
staticread
unsigned tree_num_loop_insns ( struct loop ,
struct eni_weights_d  
)