LLVM API Documentation
#include <DerivedTypes.h>
Inheritance diagram for llvm::SequentialType:
Public Member Functions | |
const Type * | getElementType () const |
virtual bool | indexValid (const Value *V) const |
virtual const Type * | getTypeAtIndex (const Value *V) const |
Static Public Member Functions | |
static bool | classof (const SequentialType *T) |
static bool | classof (const Type *T) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
Protected Member Functions | |
SequentialType (TypeID TID, const Type *ElType) |
Definition at line 212 of file DerivedTypes.h.
static bool llvm::SequentialType::classof | ( | const Type * | T | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::CompositeType.
Reimplemented in llvm::ArrayType, llvm::PackedType, and llvm::PointerType.
Definition at line 235 of file DerivedTypes.h.
References llvm::Type::ArrayTyID, llvm::Type::getTypeID(), llvm::Type::PackedTyID, llvm::Type::PointerTyID, and T.
static bool llvm::SequentialType::classof | ( | const SequentialType * | T | ) | [inline, static] |
Definition at line 234 of file DerivedTypes.h.
const Type* llvm::SequentialType::getElementType | ( | ) | const [inline] |
Definition at line 222 of file DerivedTypes.h.
References llvm::Type::ContainedTys.
Referenced by ArrayTypeIsString(), calcTypeName(), CastConstantPacked(), llvm::ConvertExpressionToType(), ConvertOperandToType(), llvm::FunctionLoweringInfo::CreateRegForValue(), llvm::ExecutionEngine::EmitGlobalVariable(), EvaluateFunction(), llvm::Interpreter::executeGEPOperation(), llvm::ExpressionConvertibleToType(), FindScalarElement(), llvm::PointerValType::get(), llvm::PackedValType::get(), llvm::ArrayValType::get(), llvm::AllocationInst::getAllocatedType(), llvm::InlineAsm::getFunctionType(), llvm::Function::getFunctionType(), llvm::GetElementPtrInst::getIndexedType(), GetKnownAlignment(), llvm::SelectionDAGLowering::getLoadFrom(), llvm::JIT::getOrEmitGlobalVariable(), llvm::getPointedToComposite(), llvm::AsmPrinter::getPreferredAlignmentLog(), getTypeDescription(), getTypeInfo(), getValNonImprovising(), llvm::SelectionDAGLowering::getValue(), llvm::InsertProfilingInitCall(), InstallGlobalCtors(), LinkAppendingVars(), llvm::DSNode::mergeTypeInfo(), OperandConvertibleToType(), OptimizeGlobalAddressOfMalloc(), llvm::BytecodeReader::ParseConstantPoolValue(), llvm::BytecodeReader::ParseInstruction(), llvm::BytecodeReader::ParseModule(), llvm::BytecodeReader::ParseStringConstants(), ProcessGlobalsWithSameName(), RecursiveResolveTypesI(), SCCPSolver::TrackValueOfGlobalVariable(), TypesEqual(), llvm::Interpreter::visitAllocationInst(), llvm::SelectionDAGLowering::visitBinary(), llvm::SelectionDAGLowering::visitCall(), llvm::SelectionDAGLowering::visitCast(), llvm::SelectionDAGLowering::visitMalloc(), and llvm::SelectionDAGLowering::visitTargetIntrinsic().
virtual const Type* llvm::SequentialType::getTypeAtIndex | ( | const Value * | V | ) | const [inline, virtual] |
getTypeAtIndex - Given an index value into the type, return the type of the element. For sequential types, there is only one subtype...
Implements llvm::CompositeType.
Definition at line 229 of file DerivedTypes.h.
References llvm::Type::ContainedTys.
bool SequentialType::indexValid | ( | const Value * | V | ) | const [virtual] |
Implements llvm::CompositeType.
Definition at line 1404 of file Type.cpp.
References llvm::Type::getTypeID(), llvm::Type::IntTyID, llvm::Type::LongTyID, Ty, llvm::Type::UIntTyID, llvm::Type::ULongTyID, and V.
Referenced by llvm::GetElementPtrInst::getIndexedType().