class InsertValueConstantExpr

Declaration

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

Description

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

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

Inherits from: ConstantExpr

Member Variables

public const SmallVector<unsigned int, 4> Indices
Indices - These identify the position for the insertion.

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 InsertValueConstantExpr(llvm::Constant * Agg, llvm::Constant * Val, 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

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

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

Parameters

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

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

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

Parameters

const llvm::ConstantExpr* CE

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

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

Parameters

const llvm::Value* V