LLVM  mainline
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
llvm::ConstantArray Class Reference

ConstantArray - Constant Array Declarations. More...

#include <Constants.h>

Inheritance diagram for llvm::ConstantArray:
Inheritance graph
[legend]
Collaboration diagram for llvm::ConstantArray:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DECLARE_TRANSPARENT_OPERAND_ACCESSORS (Constant)
 Transparently provide more efficient getOperand methods.
ArrayTypegetType () const
 getType - Specialize the getType() method to always return an ArrayType, which reduces the amount of casting needed in parts of the compiler.

Static Public Member Functions

static Constantget (ArrayType *T, ArrayRef< Constant * > V)
static bool classof (const Value *V)
 Methods for support type inquiry through isa, cast, and dyn_cast:

Protected Member Functions

 ConstantArray (ArrayType *T, ArrayRef< Constant * > Val)

Friends

struct ConstantAggrKeyType< ConstantArray >
class Constant

Detailed Description

ConstantArray - Constant Array Declarations.

Definition at line 356 of file Constants.h.


Constructor & Destructor Documentation

ConstantArray::ConstantArray ( ArrayType T,
ArrayRef< Constant * >  Val 
) [protected]

Member Function Documentation

static bool llvm::ConstantArray::classof ( const Value V) [inline, static]

Methods for support type inquiry through isa, cast, and dyn_cast:

Reimplemented from llvm::Constant.

Definition at line 385 of file Constants.h.

References llvm::Value::getValueID().

Transparently provide more efficient getOperand methods.

FunctionAddr llvm::ConstantArray::get ( ArrayType T,
ArrayRef< Constant * >  V 
) [static]

getType - Specialize the getType() method to always return an ArrayType, which reduces the amount of casting needed in parts of the compiler.

Reimplemented from llvm::Value.

Definition at line 380 of file Constants.h.

Referenced by ConstantArray(), and emitGlobalConstantArray().


Friends And Related Function Documentation

friend class Constant [friend]

Definition at line 360 of file Constants.h.

friend struct ConstantAggrKeyType< ConstantArray > [friend]

Definition at line 357 of file Constants.h.


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