MEM_RANGE Module Reference

#include <opt_lmv_helper.h>

Collaboration diagram for MEM_RANGE:

Collaboration graph
[legend]

Public Member Functions

void Init (void)
 MEM_RANGE (void)
BOOL Base_is_symbol (void) const
void Set_base_sym (ST *sym)
STBase_sym (void) const
BOOL Base_is_ptr (void) const
MA_POINTERBase_ptr (void) const
void Set_base_ptr (MA_POINTER *ptr)
void Set_access_range (const ADDR_LINEAR_EXPR_RANGE &r)
const ADDR_LINEAR_EXPR_RANGEAccess_range (void) const
void Set_access_range (MA_OFFSET *ofst, LMV_LOOP_INFO *loopinfo, INT access_sz)
void Print (FILE *)

Private Types

enum  { BASE_IS_SYMBOL = 0x1, BASE_IS_PTR = 0x2, BASE_IS_INVALID = 0x4 }

Private Attributes

UINT32 _flags
union {
   ST *   _base_sym
   MA_POINTER *   _base_ptr
}; 
ADDR_LINEAR_EXPR_RANGE _access_range

Detailed Description

Definition at line 655 of file opt_lmv_helper.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
BASE_IS_SYMBOL 
BASE_IS_PTR 
BASE_IS_INVALID 

Definition at line 658 of file opt_lmv_helper.h.


Constructor & Destructor Documentation

MEM_RANGE::MEM_RANGE ( void   )  [inline]

Definition at line 675 of file opt_lmv_helper.h.

References Init().


Member Function/Subroutine Documentation

void MEM_RANGE::Init ( void   )  [inline]

BOOL MEM_RANGE::Base_is_symbol ( void   )  const [inline]

Definition at line 677 of file opt_lmv_helper.h.

References _flags, and BASE_IS_SYMBOL.

Referenced by Base_sym(), LOOP_MULTIVER::Gen_test_cond(), Print(), and Set_access_range().

void MEM_RANGE::Set_base_sym ( ST sym  )  [inline]

Definition at line 678 of file opt_lmv_helper.h.

References _base_sym, _flags, and BASE_IS_SYMBOL.

ST* MEM_RANGE::Base_sym ( void   )  const [inline]

Definition at line 679 of file opt_lmv_helper.h.

References _base_sym, Base_is_symbol(), and NULL.

Referenced by Print(), and Set_access_range().

BOOL MEM_RANGE::Base_is_ptr ( void   )  const [inline]

Definition at line 681 of file opt_lmv_helper.h.

References _flags, and BASE_IS_PTR.

Referenced by Base_ptr(), and Print().

MA_POINTER* MEM_RANGE::Base_ptr ( void   )  const [inline]

Definition at line 682 of file opt_lmv_helper.h.

References _base_ptr, Base_is_ptr(), and NULL.

Referenced by LOOP_MULTIVER::Gen_test_cond(), Print(), and Set_access_range().

void MEM_RANGE::Set_base_ptr ( MA_POINTER ptr  )  [inline]

Definition at line 683 of file opt_lmv_helper.h.

References _base_ptr, _flags, and BASE_IS_PTR.

Referenced by LMV_HEURISTIC::Figureout_assumed_noalias_mem_ranges().

void MEM_RANGE::Set_access_range ( const ADDR_LINEAR_EXPR_RANGE r  )  [inline]

Definition at line 685 of file opt_lmv_helper.h.

References _access_range.

Referenced by LMV_HEURISTIC::Figureout_assumed_noalias_mem_ranges().

const ADDR_LINEAR_EXPR_RANGE& MEM_RANGE::Access_range ( void   )  const [inline]

void MEM_RANGE::Set_access_range ( MA_OFFSET ofst,
LMV_LOOP_INFO loopinfo,
INT  access_sz 
)

void MEM_RANGE::Print ( FILE f  ) 


Field Documentation

Definition at line 657 of file opt_lmv_helper.h.

Referenced by Base_is_ptr(), Base_is_symbol(), Init(), Set_base_ptr(), and Set_base_sym().

Definition at line 664 of file opt_lmv_helper.h.

Referenced by Base_sym(), Init(), and Set_base_sym().

Definition at line 665 of file opt_lmv_helper.h.

Referenced by Base_ptr(), and Set_base_ptr().

union { ... } [private]

Definition at line 668 of file opt_lmv_helper.h.

Referenced by Access_range(), Init(), Print(), and Set_access_range().


The documentation for this module was generated from the following files:

Generated on Wed Apr 8 16:55:46 2009 for Open64 by  doxygen 1.5.6