comma::CValue Class Reference
#include <CValue.h>
List of all members.
Public Types | 
| enum   | Kind { Simple, 
Aggregate, 
Fat
 } | 
Public Member Functions | 
|   | CValue () | 
|   | Default constructor provides an uninitialized CValue.  
  | 
| bool  | isSimple () const  | 
|   | Returns true if this denotes a simple value.  
  | 
| bool  | isAggregate () const  | 
|   | Returns true if this denotes an aggregate value.  
  | 
| bool  | isArray () const  | 
|   | Returns true if this denotes an array value.  
  | 
| bool  | isFat () const  | 
|   | Returns true if this denotes a fat access value.  
  | 
 | 
 | 
| llvm::Value *  | first () | 
|   | Returns the first value associated with this CValue.  
  | 
| const llvm::Value *  | first () const  | 
|   | Returns the first value associated with this CValue.  
  | 
| llvm::Value *  | second () | 
|   | Returns the second value associated with this CValue.  
  | 
| const llvm::Value *  | second () const  | 
|   | Returns the first value associated with this CValue.  
  | 
Static Public Member Functions | 
 | 
 | 
| static CValue  | get (llvm::Value *V1) | 
| static CValue  | getArray (llvm::Value *V1, llvm::Value *V2) | 
| static CValue  | getRecord (llvm::Value *V1) | 
| static CValue  | getFat (llvm::Value *V1) | 
Detailed Description
Definition at line 25 of file CValue.h.
Member Enumeration Documentation
There are three kinds of values. Simple values represent scalars and thin access pointers. Aggregate values contain a pointer to the data and a representation of the bounds (either a struct or pointer-to struct). Fat pointers are represented as a single pointer to structure type. 
- Enumerator: 
 - 
 
Definition at line 36 of file CValue.h.
 
 
Constructor & Destructor Documentation
      
        
          | comma::CValue::CValue  | 
          ( | 
           | 
           )  | 
           [inline] | 
        
      
 
Default constructor provides an uninitialized CValue. 
Definition at line 29 of file CValue.h.
 
 
Member Function Documentation
      
        
          | const llvm::Value* comma::CValue::first  | 
          ( | 
           | 
           )  | 
           const [inline] | 
        
      
 
Returns the first value associated with this CValue. 
Definition at line 45 of file CValue.h.
 
 
      
        
          | llvm::Value* comma::CValue::first  | 
          ( | 
           | 
           )  | 
           [inline] | 
        
      
 
Returns the first value associated with this CValue. 
Definition at line 44 of file CValue.h.
 
 
      
        
          | static CValue comma::CValue::get  | 
          ( | 
          llvm::Value *  | 
           V1 | 
           )  | 
           [inline, static] | 
        
      
 
 
      
        
          | static CValue comma::CValue::getArray  | 
          ( | 
          llvm::Value *  | 
           V1,  | 
        
        
           | 
           | 
          llvm::Value *  | 
           V2 |   | 
        
        
           | 
          ) | 
           |  |  [inline, static] | 
        
      
 
 
      
        
          | static CValue comma::CValue::getFat  | 
          ( | 
          llvm::Value *  | 
           V1 | 
           )  | 
           [inline, static] | 
        
      
 
 
      
        
          | static CValue comma::CValue::getRecord  | 
          ( | 
          llvm::Value *  | 
           V1 | 
           )  | 
           [inline, static] | 
        
      
 
 
      
        
          | bool comma::CValue::isAggregate  | 
          ( | 
           | 
           )  | 
           const [inline] | 
        
      
 
Returns true if this denotes an aggregate value. 
Definition at line 58 of file CValue.h.
 
 
      
        
          | bool comma::CValue::isArray  | 
          ( | 
           | 
           )  | 
           const [inline] | 
        
      
 
Returns true if this denotes an array value. 
Definition at line 61 of file CValue.h.
 
 
      
        
          | bool comma::CValue::isFat  | 
          ( | 
           | 
           )  | 
           const [inline] | 
        
      
 
Returns true if this denotes a fat access value. 
Definition at line 64 of file CValue.h.
 
 
      
        
          | bool comma::CValue::isSimple  | 
          ( | 
           | 
           )  | 
           const [inline] | 
        
      
 
Returns true if this denotes a simple value. 
Definition at line 55 of file CValue.h.
 
 
      
        
          | const llvm::Value* comma::CValue::second  | 
          ( | 
           | 
           )  | 
           const [inline] | 
        
      
 
Returns the first value associated with this CValue. 
Definition at line 51 of file CValue.h.
 
 
      
        
          | llvm::Value* comma::CValue::second  | 
          ( | 
           | 
           )  | 
           [inline] | 
        
      
 
Returns the second value associated with this CValue. 
Definition at line 50 of file CValue.h.
 
 
The documentation for this class was generated from the following file: