LLVM API Documentation
#include <DerivedTypes.h>
Inheritance diagram for llvm::CompositeType:
Public Member Functions | |
virtual const Type * | getTypeAtIndex (const Value *V) const=0 |
virtual bool | indexValid (const Value *V) const=0 |
Static Public Member Functions | |
static bool | classof (const CompositeType *T) |
static bool | classof (const Type *T) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
Protected Member Functions | |
CompositeType (TypeID id) |
Definition at line 130 of file DerivedTypes.h.
llvm::CompositeType::CompositeType | ( | TypeID | id | ) | [inline, protected] |
Definition at line 132 of file DerivedTypes.h.
getTypeAtIndex - Given an index value into the type, return the type of the element.
Implemented in llvm::StructType, and llvm::SequentialType.
Referenced by llvm::GetElementPtrInst::getIndexedType(), and llvm::generic_gep_type_iterator< ItTy >::getIndexedType().
virtual bool llvm::CompositeType::indexValid | ( | const Value * | V | ) | const [pure virtual] |
Implemented in llvm::StructType, and llvm::SequentialType.
Referenced by llvm::GetElementPtrInst::getIndexedType().
static bool llvm::CompositeType::classof | ( | const CompositeType * | T | ) | [inline, static] |
Definition at line 142 of file DerivedTypes.h.
static bool llvm::CompositeType::classof | ( | const Type * | T | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::DerivedType.
Reimplemented in llvm::StructType, llvm::SequentialType, llvm::ArrayType, llvm::PackedType, and llvm::PointerType.
Definition at line 143 of file DerivedTypes.h.
References llvm::Type::ArrayTyID, llvm::Type::getTypeID(), llvm::Type::PackedTyID, llvm::Type::PointerTyID, llvm::Type::StructTyID, and T.