class SCEVCastExpr

Declaration

class SCEVCastExpr : public SCEV { /* full declaration omitted */ };

Description

This is the base class for unary cast operator classes.

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:86

Inherits from: SCEV

Member Variables

protected std::array<const SCEV*, 1> Operands
protected llvm::Type* Ty

Inherited from SCEV:

protected ExpressionSize
protected SubclassData = 0

Method Overview

  • protected SCEVCastExpr(const llvm::FoldingSetNodeIDRef ID, llvm::SCEVTypes SCEVTy, const llvm::SCEV * op, llvm::Type * ty)
  • public static bool classof(const llvm::SCEV * S)
  • public size_t getNumOperands() const
  • public const llvm::SCEV * getOperand() const
  • public const llvm::SCEV * getOperand(unsigned int i) const
  • public llvm::Type * getType() const
  • public llvm::SCEVCastExpr::op_range operands() const

Inherited from SCEV:

Inherited from FoldingSetBase::Node:

Methods

SCEVCastExpr(const llvm::FoldingSetNodeIDRef ID,
             llvm::SCEVTypes SCEVTy,
             const llvm::SCEV* op,
             llvm::Type* ty)

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:91

Parameters

const llvm::FoldingSetNodeIDRef ID
llvm::SCEVTypes SCEVTy
const llvm::SCEV* op
llvm::Type* ty

static bool classof(const llvm::SCEV* S)

Description

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

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:110

Parameters

const llvm::SCEV* S

size_t getNumOperands() const

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:106

const llvm::SCEV* getOperand() const

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:95

const llvm::SCEV* getOperand(unsigned int i) const

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:96

Parameters

unsigned int i

llvm::Type* getType() const

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:107

llvm::SCEVCastExpr::op_range operands() const

Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:103