class CompositeType

Declaration

class CompositeType : public Type { /* full declaration omitted */ };

Description

Common super class of ArrayType, StructType and VectorType.

Declared at: llvm/include/llvm/IR/DerivedTypes.h:199

Inherits from: Type

Member Variables

Inherited from Type:

protected NumContainedTys = 0
protected ContainedTys = nullptr

Method Overview

Inherited from Type:

Methods

CompositeType(llvm::LLVMContext& C,
              llvm::Type::TypeID tid)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:201

Parameters

llvm::LLVMContext& C
llvm::Type::TypeID tid

static bool classof(const llvm::Type* T)

Description

Methods for support type inquiry through isa, cast, and dyn_cast.

Declared at: llvm/include/llvm/IR/DerivedTypes.h:211

Parameters

const llvm::Type* T

llvm::Type* getTypeAtIndex(
    const llvm::Value* V) const

Description

Given an index value into the type, return the type of the element.

Declared at: llvm/include/llvm/IR/DerivedTypes.h:205

Parameters

const llvm::Value* V

llvm::Type* getTypeAtIndex(unsigned int Idx) const

Declared at: llvm/include/llvm/IR/DerivedTypes.h:206

Parameters

unsigned int Idx

bool indexValid(const llvm::Value* V) const

Declared at: llvm/include/llvm/IR/DerivedTypes.h:207

Parameters

const llvm::Value* V

bool indexValid(unsigned int Idx) const

Declared at: llvm/include/llvm/IR/DerivedTypes.h:208

Parameters

unsigned int Idx