LLVM API Documentation
#include <DerivedTypes.h>


Public Member Functions | |
| const Type * | getElementType () const |
| virtual bool | indexValid (const Value *V) const |
| virtual bool | indexValid (unsigned) const |
| virtual const Type * | getTypeAtIndex (const Value *) const |
| virtual const Type * | getTypeAtIndex (unsigned) const |
Static Public Member Functions | |
| static bool | classof (const SequentialType *) |
| 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 277 of file DerivedTypes.h.
Definition at line 285 of file DerivedTypes.h.
References llvm::Type::ContainedTys, and llvm::Type::NumContainedTys.
| const Type* llvm::SequentialType::getElementType | ( | ) | const [inline] |
Definition at line 292 of file DerivedTypes.h.
References llvm::Type::ContainedTys.
Referenced by BitCastConstantVector(), calcTypeName(), llvm::ComputeMaskedBits(), llvm::ConstantArray::ConstantArray(), llvm::ConstantFoldCastInstruction(), llvm::ConstantVector::ConstantVector(), llvm::ExecutionEngine::EmitGlobalVariable(), EvaluateFunction(), EvalVectorOp(), llvm::Interpreter::executeGEPOperation(), FindScalarElement(), llvm::AllocationInst::getAllocatedType(), llvm::ConstantVector::getAllOnesValue(), llvm::GetConstantStringInfo(), llvm::InlineAsm::getFunctionType(), llvm::Function::getFunctionType(), llvm::GetElementPtrInst::getIndexedType(), getIndexedTypeInternal(), llvm::VectorType::getInteger(), llvm::MVT::getMVT(), llvm::JIT::getOrEmitGlobalVariable(), llvm::TargetData::getPreferredAlignment(), GetStringLengthH(), getTypeDescription(), llvm::TargetData::getTypeSizeInBits(), llvm::SelectionDAGLowering::getValue(), llvm::Constant::getVectorElements(), llvm::ConstantExpr::getVFCmp(), llvm::ConstantExpr::getVICmp(), llvm::InsertProfilingInitCall(), InstallGlobalCtors(), IsConstantOffsetFromGlobal(), isObjectSmallerThan(), llvm::ShuffleVectorInst::isValidOperands(), LinkAppendingVars(), LinkGlobals(), llvm::TargetLowering::LowerArguments(), llvm::TargetLowering::LowerCallTo(), llvm::SelectionDAGLowering::LowerCallTo(), llvm::ELFTargetAsmInfo::MergeableStringSection(), MergeInType(), OptimizeGlobalAddressOfMalloc(), RecursiveResolveTypesI(), llvm::MipsTargetAsmInfo::SectionKindForGlobal(), TryToShrinkGlobalToBoolean(), TypesEqual(), llvm::Interpreter::visitAllocationInst(), WriteInstruction(), and WriteTypeTable().
| bool SequentialType::indexValid | ( | const Value * | V | ) | const [virtual] |
Implements llvm::CompositeType.
Definition at line 1517 of file Type.cpp.
References llvm::Value::getType().
Referenced by llvm::GetElementPtrInst::getIndexedType().
| virtual bool llvm::SequentialType::indexValid | ( | unsigned | ) | 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 302 of file DerivedTypes.h.
References llvm::Type::ContainedTys.
Implements llvm::CompositeType.
Definition at line 305 of file DerivedTypes.h.
References llvm::Type::ContainedTys.
| static bool llvm::SequentialType::classof | ( | const SequentialType * | ) | [inline, static] |
Definition at line 310 of file DerivedTypes.h.
| static bool llvm::SequentialType::classof | ( | const Type * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::CompositeType.
Reimplemented in llvm::ArrayType, llvm::VectorType, and llvm::PointerType.
Definition at line 311 of file DerivedTypes.h.
References llvm::Type::ArrayTyID, llvm::Type::getTypeID(), llvm::Type::PointerTyID, and llvm::Type::VectorTyID.