LLVM API Documentation
#include <Constants.h>
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 > |
Definition at line 304 of file Constants.h.
| llvm::ConstantAggregateZero::ConstantAggregateZero | ( | const Type * | ty | ) | [inline, explicit, protected] |
Definition at line 309 of file Constants.h.
| void* llvm::ConstantAggregateZero::operator new | ( | size_t | s | ) | [inline, protected] |
Reimplemented from llvm::User.
Definition at line 313 of file Constants.h.
References operator new().
| ConstantAggregateZero * ConstantAggregateZero::get | ( | const Type * | Ty | ) | [static] |
Definition at line 857 of file Constants.cpp.
References llvm::LLVMContextImpl::AggZeroConstants, llvm::Type::getContext(), and llvm::LLVMContext::pImpl.
Referenced by llvm::ConvertConstant< ConstantAggregateZero, Type >::convert(), llvm::ConstantVector::get(), llvm::ConstantStruct::get(), llvm::ConstantArray::get(), llvm::Constant::getNullValue(), llvm::ConstantStruct::replaceUsesOfWithOnConstant(), and llvm::ConstantArray::replaceUsesOfWithOnConstant().
| 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 321 of file Constants.h.
| void ConstantAggregateZero::destroyConstant | ( | ) | [virtual] |
destroyConstant - Remove the constant from the constant table...
Reimplemented from llvm::Constant.
Definition at line 868 of file Constants.cpp.
References llvm::LLVMContextImpl::AggZeroConstants, llvm::Constant::destroyConstantImpl(), llvm::Type::getContext(), llvm::Value::getType(), and llvm::LLVMContext::pImpl.
Referenced by llvm::ConvertConstant< 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 327 of file Constants.h.
Reimplemented from llvm::Constant.
Definition at line 328 of file Constants.h.
References llvm::Value::ConstantAggregateZeroVal, and llvm::Value::getValueID().
friend struct ConstantCreator< ConstantAggregateZero, Type, char > [friend] |
Definition at line 305 of file Constants.h.