LLVM API Documentation

llvm::ConstantAggregateZero Class Reference

#include <Constants.h>

Inheritance diagram for llvm::ConstantAggregateZero:
[legend]
Collaboration diagram for llvm::ConstantAggregateZero:
[legend]

List of all members.

Public Member Functions

virtual bool isNullValue () const
virtual void destroyConstant ()

Static Public Member Functions

static ConstantAggregateZero * get (const Type *Ty)
static bool classof (const ConstantAggregateZero *)
static bool classof (const Value *V)

Protected Member Functions

 ConstantAggregateZero (const Type *ty)
void * operator new (size_t s)

Friends

struct ConstantCreator< ConstantAggregateZero, Type, char >


Detailed Description

ConstantAggregateZero - All zero aggregate value

Definition at line 285 of file Constants.h.


Constructor & Destructor Documentation

llvm::ConstantAggregateZero::ConstantAggregateZero ( const Type *  ty  )  [inline, explicit, protected]

Definition at line 290 of file Constants.h.


Member Function Documentation

void* llvm::ConstantAggregateZero::operator new ( size_t  s  )  [inline, protected]

Reimplemented from llvm::User.

Definition at line 294 of file Constants.h.

ConstantAggregateZero * ConstantAggregateZero::get ( const Type *  Ty  )  [static]

virtual bool llvm::ConstantAggregateZero::isNullValue (  )  const [inline, virtual]

isNullValue - Return true if this is the value that would be returned by getNullValue.

Implements llvm::Constant.

Definition at line 304 of file Constants.h.

void ConstantAggregateZero::destroyConstant (  )  [virtual]

destroyConstant - Called if some element of this constant is no longer valid. At this point only other constants may be on the use_list for this constant. Any constants on our Use list must also be destroy'd. The implementation must be sure to remove the constant from the list of available cached constants. Implementations should call destroyConstantImpl as the last thing they do, to destroy all users and delete this.

Reimplemented from llvm::Constant.

Definition at line 1279 of file Constants.cpp.

References llvm::Constant::destroyConstantImpl().

Referenced by llvm::ConvertConstantType< ConstantAggregateZero, Type >::convert().

static bool llvm::ConstantAggregateZero::classof ( const ConstantAggregateZero *   )  [inline, static]

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

Definition at line 310 of file Constants.h.

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

Reimplemented from llvm::Constant.

Definition at line 311 of file Constants.h.

References llvm::Value::ConstantAggregateZeroVal, and llvm::Value::getValueID().


Friends And Related Function Documentation

friend struct ConstantCreator< ConstantAggregateZero, Type, char > [friend]

Definition at line 286 of file Constants.h.


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