LLVM API Documentation
#include <Constants.h>
Inheritance diagram for llvm::UndefValue:
Public Member Functions | |
virtual bool | isNullValue () const |
virtual void | destroyConstant () |
Static Public Member Functions | |
static UndefValue * | get (const Type *T) |
static bool | classof (const UndefValue *) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
static bool | classof (const Value *V) |
Protected Member Functions | |
UndefValue (const Type *T) | |
Friends | |
struct | ConstantCreator< UndefValue, Type, char > |
Definition at line 641 of file Constants.h.
|
Definition at line 645 of file Constants.h. |
|
Reimplemented from llvm::Constant. Definition at line 660 of file Constants.h. References llvm::Value::getValueType(), and llvm::Value::UndefValueVal. |
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 659 of file Constants.h. |
|
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 1148 of file Constants.cpp. References llvm::Constant::destroyConstantImpl(). Referenced by llvm::ConvertConstantType< UndefValue, Type >::convert(). |
|
get() - Static factory methods - Return an 'undef' object of the specified type. Definition at line 1142 of file Constants.cpp. Referenced by llvm::ConstantFoldBinaryInstruction(), llvm::ConstantFoldCastInstruction(), llvm::ConstantFoldGetElementPtr(), llvm::ConvertConstantType< UndefValue, Type >::convert(), llvm::hasConstantValue(), llvm::InlineFunction(), and llvm::BytecodeReader::ParseConstantValue(). |
|
isNullValue - Return true if this is the value that would be returned by getNullValue. Implements llvm::Constant. Definition at line 654 of file Constants.h. |
|
Definition at line 642 of file Constants.h. |