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:
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:
- public dump
- public getExpressionSize
- public getSCEVType
- public getType
- public isAllOnesValue
- public isNonConstantNegative
- public isOne
- public isZero
- public print
Inherited from FoldingSetBase::Node:
Methods
¶SCEVCastExpr(const llvm::FoldingSetNodeIDRef ID,
llvm::SCEVTypes SCEVTy,
const llvm::SCEV* op,
llvm::Type* ty)
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)
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
size_t getNumOperands() const
Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:106
¶const llvm::SCEV* getOperand() const
const llvm::SCEV* getOperand() const
Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:95
¶const llvm::SCEV* getOperand(unsigned int i) const
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
llvm::Type* getType() const
Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:107
¶llvm::SCEVCastExpr::op_range operands() const
llvm::SCEVCastExpr::op_range operands() const
Declared at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:103