LLVM API Documentation
#include <DerivedTypes.h>
Inheritance diagram for llvm::OpaqueType:
Public Member Functions | |
virtual void | refineAbstractType (const DerivedType *OldTy, const Type *NewTy) |
virtual void | typeBecameConcrete (const DerivedType *AbsTy) |
Static Public Member Functions | |
static OpaqueType * | get () |
static bool | classof (const OpaqueType *T) |
static bool | classof (const Type *T) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
Protected Member Functions | |
OpaqueType () |
Definition at line 377 of file DerivedTypes.h.
|
This should really be private, but it squelches a bogus warning from GCC to make them protected: warning: `class OpaqueType' only defines private constructors and has no friends Private ctor - Only can be created by a static member... Definition at line 427 of file Type.cpp. References llvm::Type::setAbstract(). Referenced by get(). |
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::DerivedType. Definition at line 405 of file DerivedTypes.h. References llvm::Type::getTypeID(), and llvm::Type::OpaqueTyID. |
|
Definition at line 404 of file DerivedTypes.h. |
|
OpaqueType::get - Static factory method for the OpaqueType class... Definition at line 391 of file DerivedTypes.h. References OpaqueType(). Referenced by llvm::DerivedType::dropAllTypeUses(), llvm::BytecodeReader::ParseType(), and llvm::BytecodeReader::ParseTypes(). |
|
refineAbstractType - The callback method invoked when an abstract type is resolved to another type. An object must override this method to update its internal state to reference NewType instead of OldType. Implements llvm::AbstractTypeUser. Definition at line 396 of file DerivedTypes.h. References abort(). |
|
The other case which AbstractTypeUsers must be aware of is when a type makes the transition from being abstract (where it has clients on it's AbstractTypeUsers list) to concrete (where it does not). This method notifies ATU's when this occurs for a type. Implements llvm::AbstractTypeUser. Definition at line 399 of file DerivedTypes.h. References abort(). |