PIPS
comp_sections-local.h File Reference

Go to the source code of this file.

Data Structures

struct  sSimpBound
 bounds are retained as high level tree structures to accommodate symbolic information in boundary expressions. More...
 
struct  DadComponent
 Simple Section part of DAD An array of type SimpBound struct allocated dynamically based on rank of array. More...
 
struct  Variants
 }} More...
 

Macros

#define LIN_INVARIANT   2
 {{ defines More...
 
#define LIN_VARIANT   1
 
#define NON_LINEAR   -1
 
#define LSEC(x, i)   GetBoundary(x,i,1)
 accessing DAD components More...
 
#define USEC(x, i)   GetBoundary(x,i,0)
 
#define PUT_NEST(d, val)   context_info_nest(simple_section_context(comp_sec_hull(comp_desc_section(d)))) = val
 
#define GET_NEST(d)   context_info_nest(simple_section_context(comp_sec_hull(comp_desc_section(d))))
 
#define MAX_RANK   8
 only used for in print routines. More...
 
#define LinExpr   Pvecteur
 A linear expression in Pips ; Pvecteur is a pointer. More...
 
#define SEQUENTIAL_COMPSEC_SUFFIX   ".csec"
 
#define USER_COMPSEC_SUFFIX   ".ucsec"
 

Typedefs

typedef unsigned int tRT
 {{ Dad definition More...
 
typedef struct sSimpBound tSS
 bounds are retained as high level tree structures to accommodate symbolic information in boundary expressions. More...
 
typedef struct DadComponent DadComp
 Simple Section part of DAD An array of type SimpBound struct allocated dynamically based on rank of array. More...
 
typedef struct Variants tVariants
 }} More...
 
typedef simple_section tDad
 }} More...
 

Enumerations

enum  BoundType {
  LOWER , UPPER , LOWER , UPPER ,
  LOWER , UPPER
}
 }} More...
 
enum  RefType {
  READ , WRITE , READ , WRITE ,
  READ , WRITE
}
 
enum  NestType {
  ZERO , SINGLE , MULTI , ZERO ,
  SINGLE , MULTI , ZERO , SINGLE ,
  MULTI
}
 
enum  OpFlag {
  PLUS , MINUS , PLUS , MINUS ,
  PLUS , MINUS
}
 used for merging linear expressions More...
 

Macro Definition Documentation

◆ GET_NEST

Definition at line 36 of file comp_sections-local.h.

◆ LIN_INVARIANT

#define LIN_INVARIANT   2

{{ defines

classifying subscript types for reference template done in newgen now

Definition at line 28 of file comp_sections-local.h.

◆ LIN_VARIANT

#define LIN_VARIANT   1

Definition at line 29 of file comp_sections-local.h.

◆ LinExpr

#define LinExpr   Pvecteur

A linear expression in Pips ; Pvecteur is a pointer.

Definition at line 59 of file comp_sections-local.h.

◆ LSEC

#define LSEC (   x,
 
)    GetBoundary(x,i,1)

accessing DAD components

Definition at line 33 of file comp_sections-local.h.

◆ MAX_RANK

#define MAX_RANK   8

only used for in print routines.

The analysis does not pose any limit on the number of array dimensions

Definition at line 50 of file comp_sections-local.h.

◆ NON_LINEAR

#define NON_LINEAR   -1

Definition at line 30 of file comp_sections-local.h.

◆ PUT_NEST

#define PUT_NEST (   d,
  val 
)    context_info_nest(simple_section_context(comp_sec_hull(comp_desc_section(d)))) = val

Definition at line 35 of file comp_sections-local.h.

◆ SEQUENTIAL_COMPSEC_SUFFIX

#define SEQUENTIAL_COMPSEC_SUFFIX   ".csec"

Definition at line 102 of file comp_sections-local.h.

◆ USEC

#define USEC (   x,
 
)    GetBoundary(x,i,0)

Definition at line 34 of file comp_sections-local.h.

◆ USER_COMPSEC_SUFFIX

#define USER_COMPSEC_SUFFIX   ".ucsec"

Definition at line 103 of file comp_sections-local.h.

Typedef Documentation

◆ DadComp

typedef struct DadComponent DadComp

Simple Section part of DAD An array of type SimpBound struct allocated dynamically based on rank of array.

◆ tDad

}}

}}

Definition at line 99 of file comp_sections-local.h.

◆ tRT

typedef unsigned int tRT

{{ Dad definition

data structures for data access descriptor Reference Template part of DAD, an array of integers allocated dynamically

Definition at line 56 of file comp_sections-local.h.

◆ tSS

typedef struct sSimpBound tSS

bounds are retained as high level tree structures to accommodate symbolic information in boundary expressions.

When all the symbolic information gets resolved then the tree nodes are collapsed into a single instruction holding the constant value

◆ tVariants

typedef struct Variants tVariants

}}

{{ Data structures required for computing Dads {{ structures for TranslateToLoop structure to hold both Old and New variants

Enumeration Type Documentation

◆ BoundType

enum BoundType

}}

Enumerator
LOWER 
UPPER 
LOWER 
UPPER 
LOWER 
UPPER 

Definition at line 40 of file comp_sections-local.h.

40 {LOWER, UPPER};

◆ NestType

enum NestType
Enumerator
ZERO 
SINGLE 
MULTI 
ZERO 
SINGLE 
MULTI 
ZERO 
SINGLE 
MULTI 

Definition at line 42 of file comp_sections-local.h.

42 {ZERO, SINGLE, MULTI};
@ SINGLE

◆ OpFlag

enum OpFlag

used for merging linear expressions

Enumerator
PLUS 
MINUS 
PLUS 
MINUS 
PLUS 
MINUS 

Definition at line 45 of file comp_sections-local.h.

45 { PLUS, MINUS} OpFlag;
OpFlag
used for merging linear expressions

◆ RefType

enum RefType
Enumerator
READ 
WRITE 
READ 
WRITE 
READ 
WRITE 

Definition at line 41 of file comp_sections-local.h.

41 {READ, WRITE};