class ConstantAggregate

Declaration

class ConstantAggregate : public Constant { /* full declaration omitted */ };

Description

Base class for aggregate constants (with operands). These constants are aggregates of other constants, which are stored as operands. Subclasses are \a ConstantStruct, \a ConstantArray, and \a ConstantVector.

Declared at: llvm/include/llvm/IR/Constants.h:386

Inherits from: Constant

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasMetadata
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 32
public static MaximumAlignment = 1ULL << MaxAlignmentExponent

Method Overview

  • protected ConstantAggregate(llvm::Type * T, llvm::Value::ValueTy VT, ArrayRef<llvm::Constant *> V)
  • public static bool classof(const llvm::Value * V)

Inherited from Constant:

Inherited from User:

Inherited from Value:

Methods

ConstantAggregate(llvm::Type* T,
                  llvm::Value::ValueTy VT,
                  ArrayRef<llvm::Constant*> V)

Declared at: llvm/include/llvm/IR/Constants.h:388

Parameters

llvm::Type* T
llvm::Value::ValueTy VT
ArrayRef<llvm::Constant*> V

static bool classof(const llvm::Value* V)

Description

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

Declared at: llvm/include/llvm/IR/Constants.h:395

Parameters

const llvm::Value* V