LLVM API Documentation
#include <ScalarEvolutionExpressions.h>
Public Member Functions | |
| const SCEV * | getOperand () const |
| virtual const Type * | getType () const |
| virtual bool | isLoopInvariant (const Loop *L) const |
| virtual bool | hasComputableLoopEvolution (const Loop *L) const |
| virtual bool | hasOperand (const SCEV *O) const |
| virtual bool | dominates (BasicBlock *BB, DominatorTree *DT) const |
Static Public Member Functions | |
| static bool | classof (const SCEVCastExpr *S) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| static bool | classof (const SCEV *S) |
Protected Member Functions | |
| SCEVCastExpr (const FoldingSetNodeID &ID, unsigned SCEVTy, const SCEV *op, const Type *ty) | |
Protected Attributes | |
| const SCEV * | Op |
| const Type * | Ty |
Definition at line 75 of file ScalarEvolutionExpressions.h.
| SCEVCastExpr::SCEVCastExpr | ( | const FoldingSetNodeID & | ID, | |
| unsigned | SCEVTy, | |||
| const SCEV * | op, | |||
| const Type * | ty | |||
| ) | [protected] |
Definition at line 206 of file ScalarEvolution.cpp.
| const SCEV* llvm::SCEVCastExpr::getOperand | ( | ) | const [inline] |
Definition at line 84 of file ScalarEvolutionExpressions.h.
References Op.
Referenced by llvm::ScalarEvolution::getAddExpr().
| virtual const Type* llvm::SCEVCastExpr::getType | ( | ) | const [inline, virtual] |
getType - Return the LLVM type of this SCEV expression.
Implements llvm::SCEV.
Definition at line 85 of file ScalarEvolutionExpressions.h.
References Ty.
Referenced by llvm::ScalarEvolution::getAddExpr().
isLoopInvariant - Return true if the value of this SCEV is unchanging in the specified loop.
Implements llvm::SCEV.
Definition at line 87 of file ScalarEvolutionExpressions.h.
References llvm::SCEV::isLoopInvariant(), and Op.
| virtual bool llvm::SCEVCastExpr::hasComputableLoopEvolution | ( | const Loop * | L | ) | const [inline, virtual] |
hasComputableLoopEvolution - Return true if this SCEV changes value in a known way in the specified loop. This property being true implies that the value is variant in the loop AND that we can emit an expression to compute the value of the expression at any particular loop iteration.
Implements llvm::SCEV.
Definition at line 91 of file ScalarEvolutionExpressions.h.
References llvm::SCEV::hasComputableLoopEvolution(), and Op.
hasOperand - Test whether this SCEV has Op as a direct or indirect operand.
Implements llvm::SCEV.
Definition at line 95 of file ScalarEvolutionExpressions.h.
References llvm::SCEV::hasOperand(), and Op.
| bool SCEVCastExpr::dominates | ( | BasicBlock * | BB, | |
| DominatorTree * | DT | |||
| ) | const [virtual] |
dominates - Return true if elements that makes up this SCEV dominates the specified basic block.
Implements llvm::SCEV.
Definition at line 210 of file ScalarEvolution.cpp.
References llvm::SCEV::dominates(), and Op.
| static bool llvm::SCEVCastExpr::classof | ( | const SCEVCastExpr * | S | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 102 of file ScalarEvolutionExpressions.h.
Reimplemented in llvm::SCEVTruncateExpr, llvm::SCEVZeroExtendExpr, and llvm::SCEVSignExtendExpr.
Definition at line 103 of file ScalarEvolutionExpressions.h.
References llvm::SCEV::getSCEVType(), llvm::scSignExtend, llvm::scTruncate, and llvm::scZeroExtend.
const SCEV* llvm::SCEVCastExpr::Op [protected] |
Definition at line 77 of file ScalarEvolutionExpressions.h.
Referenced by dominates(), getOperand(), hasComputableLoopEvolution(), hasOperand(), isLoopInvariant(), llvm::SCEVSignExtendExpr::print(), llvm::SCEVZeroExtendExpr::print(), and llvm::SCEVTruncateExpr::print().
const Type* llvm::SCEVCastExpr::Ty [protected] |
Definition at line 78 of file ScalarEvolutionExpressions.h.
Referenced by getType(), llvm::SCEVSignExtendExpr::print(), llvm::SCEVZeroExtendExpr::print(), and llvm::SCEVTruncateExpr::print().