LLVM API Documentation
#include <ScalarEvolutionExpressions.h>
Public Member Functions | |
const SCEV * | getOperand () const |
Type * | getType () const |
Static Public Member Functions | |
static bool | classof (const SCEV *S) |
Methods for support type inquiry through isa, cast, and dyn_cast: | |
Protected Member Functions | |
SCEVCastExpr (const FoldingSetNodeIDRef ID, unsigned SCEVTy, const SCEV *op, Type *ty) | |
Protected Attributes | |
const SCEV * | Op |
Type * | Ty |
SCEVCastExpr - This is the base class for unary cast operator classes.
Definition at line 58 of file ScalarEvolutionExpressions.h.
SCEVCastExpr::SCEVCastExpr | ( | const FoldingSetNodeIDRef | ID, |
unsigned | SCEVTy, | ||
const SCEV * | op, | ||
Type * | ty | ||
) | [protected] |
Definition at line 335 of file ScalarEvolution.cpp.
static bool llvm::SCEVCastExpr::classof | ( | const SCEV * | S | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:
Reimplemented in llvm::SCEVSignExtendExpr, llvm::SCEVZeroExtendExpr, and llvm::SCEVTruncateExpr.
Definition at line 71 of file ScalarEvolutionExpressions.h.
References llvm::SCEV::getSCEVType(), llvm::scSignExtend, llvm::scTruncate, and llvm::scZeroExtend.
const SCEV* llvm::SCEVCastExpr::getOperand | ( | ) | const [inline] |
Definition at line 67 of file ScalarEvolutionExpressions.h.
References Op.
Referenced by BuildConstantFromSCEV(), llvm::ScalarEvolution::getAddExpr(), llvm::SCEV::print(), llvm::SCEVParameterRewriter::visitSignExtendExpr(), llvm::SCEVApplyRewriter::visitSignExtendExpr(), llvm::SCEVParameterRewriter::visitTruncateExpr(), llvm::SCEVApplyRewriter::visitTruncateExpr(), llvm::SCEVParameterRewriter::visitZeroExtendExpr(), and llvm::SCEVApplyRewriter::visitZeroExtendExpr().
Type* llvm::SCEVCastExpr::getType | ( | ) | const [inline] |
getType - Return the LLVM type of this SCEV expression.
Reimplemented from llvm::SCEV.
Definition at line 68 of file ScalarEvolutionExpressions.h.
References Ty.
Referenced by BuildConstantFromSCEV(), llvm::ScalarEvolution::getAddExpr(), llvm::SCEV::print(), llvm::SCEVParameterRewriter::visitSignExtendExpr(), llvm::SCEVApplyRewriter::visitSignExtendExpr(), llvm::SCEVParameterRewriter::visitTruncateExpr(), llvm::SCEVApplyRewriter::visitTruncateExpr(), llvm::SCEVParameterRewriter::visitZeroExtendExpr(), and llvm::SCEVApplyRewriter::visitZeroExtendExpr().
const SCEV* llvm::SCEVCastExpr::Op [protected] |
Definition at line 60 of file ScalarEvolutionExpressions.h.
Referenced by getOperand().
Type* llvm::SCEVCastExpr::Ty [protected] |
Definition at line 61 of file ScalarEvolutionExpressions.h.
Referenced by getType().