class UnaryConstantExpr

Declaration

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

Description

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

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

Inherits from: ConstantExpr

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

  • public UnaryConstantExpr(unsigned int Opcode, llvm::Constant * C, llvm::Type * Ty)
  • 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

UnaryConstantExpr(unsigned int Opcode,
                  llvm::Constant* C,
                  llvm::Type* Ty)

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

Parameters

unsigned int Opcode
llvm::Constant* C
llvm::Type* Ty

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

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

Parameters

const llvm::ConstantExpr* CE

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

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

Parameters

const llvm::Value* V