LLVM API Documentation
#include <Constants.h>


Public Member Functions | |
| virtual bool | isNullValue () const |
| virtual void | destroyConstant () |
| const PointerType * | getType () const |
Static Public Member Functions | |
| static ConstantPointerNull * | get (const PointerType *T) |
| get() - Static factory methods - Return objects of the specified value | |
| static bool | classof (const ConstantPointerNull *) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| static bool | classof (const Value *V) |
Protected Member Functions | |
| ConstantPointerNull (const PointerType *T) | |
| void * | operator new (size_t s) |
Friends | |
| struct | ConstantCreator< ConstantPointerNull, PointerType, char > |
Definition at line 509 of file Constants.h.
| llvm::ConstantPointerNull::ConstantPointerNull | ( | const PointerType * | T | ) | [inline, explicit, protected] |
Definition at line 514 of file Constants.h.
| void* llvm::ConstantPointerNull::operator new | ( | size_t | s | ) | [inline, protected] |
| ConstantPointerNull * ConstantPointerNull::get | ( | const PointerType * | T | ) | [static] |
get() - Static factory methods - Return objects of the specified value
Definition at line 1586 of file Constants.cpp.
Referenced by llvm::ConstantFoldCastInstruction(), llvm::ConstantFoldGetElementPtr(), llvm::ConvertConstantType< ConstantPointerNull, PointerType >::convert(), llvm::DebugInfoBuilder::createCharacterTypeDescriptor(), llvm::DebugInfoBuilder::createFloatTypeDescriptor(), llvm::DebugInfoBuilder::createIntegerTypeDescriptor(), llvm::DebugInfoBuilder::createSubProgramDescriptor(), llvm::Constant::getNullValue(), llvm::DISerializer::getString(), llvm::InsertProfilingInitCall(), and llvm::IntrinsicLowering::LowerIntrinsicCall().
| virtual bool llvm::ConstantPointerNull::isNullValue | ( | ) | const [inline, virtual] |
isNullValue - Return true if this is the value that would be returned by getNullValue.
Implements llvm::Constant.
Definition at line 529 of file Constants.h.
| void ConstantPointerNull::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 1592 of file Constants.cpp.
References llvm::Constant::destroyConstantImpl().
Referenced by llvm::ConvertConstantType< ConstantPointerNull, PointerType >::convert().
| const PointerType* llvm::ConstantPointerNull::getType | ( | ) | const [inline] |
getType - Specialize the getType() method to always return an PointerType, which reduces the amount of casting needed in parts of the compiler.
Reimplemented from llvm::Value.
Definition at line 536 of file Constants.h.
References llvm::Intrinsic::getType().
| static bool llvm::ConstantPointerNull::classof | ( | const ConstantPointerNull * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 541 of file Constants.h.
| static bool llvm::ConstantPointerNull::classof | ( | const Value * | V | ) | [inline, static] |
Reimplemented from llvm::Constant.
Definition at line 542 of file Constants.h.
References llvm::Value::getValueID().
friend struct ConstantCreator< ConstantPointerNull, PointerType, char > [friend] |
Definition at line 510 of file Constants.h.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.