LLVM API Documentation
#include <DerivedTypes.h>


Public Member Functions | |
| uint64_t | getNumElements () const |
| virtual void | refineAbstractType (const DerivedType *OldTy, const Type *NewTy) |
| virtual void | typeBecameConcrete (const DerivedType *AbsTy) |
Static Public Member Functions | |
| static ArrayType * | get (const Type *ElementType, uint64_t NumElements) |
| static bool | classof (const ArrayType *) |
| static bool | classof (const Type *T) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
Friends | |
| class | TypeMap< ArrayValType, ArrayType > |
Definition at line 321 of file DerivedTypes.h.
ArrayType::get - This static method is the primary way to construct an ArrayType
Definition at line 1150 of file Type.cpp.
References DOUT.
Referenced by llvm::ConstantArray::get(), and OptimizeGlobalAddressOfMalloc().
| uint64_t llvm::ArrayType::getNumElements | ( | ) | const [inline] |
Definition at line 334 of file DerivedTypes.h.
Referenced by calcTypeName(), llvm::ConstantArray::ConstantArray(), llvm::GetConstantStringInfo(), GetStringLengthH(), getTypeDescription(), llvm::TargetData::getTypeSizeInBits(), llvm::ArrayValType::hashTypeStructure(), LinkAppendingVars(), RecursiveResolveTypesI(), TypesEqual(), and WriteTypeTable().
| void ArrayType::refineAbstractType | ( | const DerivedType * | OldTy, | |
| const Type * | NewTy | |||
| ) | [virtual] |
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.
Reimplemented from llvm::Type.
| void ArrayType::typeBecameConcrete | ( | const DerivedType * | AbsTy | ) | [virtual] |
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.
Reimplemented from llvm::Type.
| static bool llvm::ArrayType::classof | ( | const ArrayType * | ) | [inline, static] |
Definition at line 341 of file DerivedTypes.h.
| static bool llvm::ArrayType::classof | ( | const Type * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::SequentialType.
Definition at line 342 of file DerivedTypes.h.
References llvm::Type::ArrayTyID, and llvm::Type::getTypeID().
friend class TypeMap< ArrayValType, ArrayType > [friend] |
Definition at line 322 of file DerivedTypes.h.