Intel SPMD Program Compiler  1.9.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
constant_scanner::constant_iterator Class Reference
Inheritance diagram for constant_scanner::constant_iterator:
Inheritance graph
[legend]
Collaboration diagram for constant_scanner::constant_iterator:
Collaboration graph
[legend]

Public Member Functions

 constant_iterator (const llvm::Function *F)
 
 constant_iterator (const llvm::Function *F, bool)
 
bool operator== (const constant_iterator &x) const
 
bool operator!= (const constant_iterator &x) const
 
pointer operator* () const
 
constant_iteratoroperator++ ()
 

Private Member Functions

bool isAtConstant () const
 

Private Attributes

llvm::const_inst_iterator InstI
 
unsigned OpIdx
 

Detailed Description

Definition at line 140 of file cbackend.cpp.

Constructor & Destructor Documentation

constant_scanner::constant_iterator::constant_iterator ( const llvm::Function *  F)
inline

Definition at line 152 of file cbackend.cpp.

References isAtConstant(), and operator++().

constant_scanner::constant_iterator::constant_iterator ( const llvm::Function *  F,
bool   
)
inline

Definition at line 159 of file cbackend.cpp.

Member Function Documentation

bool constant_scanner::constant_iterator::isAtConstant ( ) const
inlineprivate

Definition at line 145 of file cbackend.cpp.

Referenced by constant_iterator(), operator*(), and operator++().

bool constant_scanner::constant_iterator::operator!= ( const constant_iterator x) const
inline

Definition at line 166 of file cbackend.cpp.

pointer constant_scanner::constant_iterator::operator* ( ) const
inline

Definition at line 168 of file cbackend.cpp.

References isAtConstant().

constant_iterator& constant_scanner::constant_iterator::operator++ ( )
inline

Definition at line 173 of file cbackend.cpp.

References InstI, isAtConstant(), and OpIdx.

Referenced by constant_iterator().

bool constant_scanner::constant_iterator::operator== ( const constant_iterator x) const
inline

Definition at line 163 of file cbackend.cpp.

References InstI, and OpIdx.

Member Data Documentation

llvm::const_inst_iterator constant_scanner::constant_iterator::InstI
private

Definition at line 142 of file cbackend.cpp.

Referenced by operator++(), and operator==().

unsigned constant_scanner::constant_iterator::OpIdx
private

Definition at line 143 of file cbackend.cpp.

Referenced by operator++(), and operator==().


The documentation for this class was generated from the following file: