class ExtractValueConstantExpr

Declaration

class ExtractValueConstantExpr : public ConstantExpr { /* full declaration omitted */ };

Description

ExtractValueConstantExpr - This class is private to Constants.cpp, and is used behind the scenes to implement extractvalue constant exprs.

Declared at: llvm/lib/IR/ConstantsContext.h:172

Inherits from: ConstantExpr

Member Variables

public const SmallVector<unsigned int, 4> Indices
Indices - These identify which value to extract.

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 29
public static MaximumAlignment = 1U << MaxAlignmentExponent

Method Overview

  • public ExtractValueConstantExpr(llvm::Constant * Agg, ArrayRef<unsigned int> IdxList, llvm::Type * DestTy)
  • public static bool classof(const llvm::ConstantExpr * CE)
  • public static bool classof(const llvm::Value * V)

Inherited from ConstantExpr:

Inherited from Constant:

Inherited from User:

Inherited from Value:

Methods

ExtractValueConstantExpr(
    llvm::Constant* Agg,
    ArrayRef<unsigned int> IdxList,
    llvm::Type* DestTy)

Declared at: llvm/lib/IR/ConstantsContext.h:174

Parameters

llvm::Constant* Agg
ArrayRef<unsigned int> IdxList
llvm::Type* DestTy

static bool classof(const llvm::ConstantExpr* CE)

Declared at: llvm/lib/IR/ConstantsContext.h:192

Parameters

const llvm::ConstantExpr* CE

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

Declared at: llvm/lib/IR/ConstantsContext.h:195

Parameters

const llvm::Value* V