LLVM API Documentation
#include <ScalarEvolutionExpressions.h>
Public Member Functions | |
| ConstantInt * | getValue () const |
| virtual bool | isLoopInvariant (const Loop *L) const |
| virtual bool | hasComputableLoopEvolution (const Loop *L) const |
| virtual const Type * | getType () const |
| virtual bool | hasOperand (const SCEV *) const |
| bool | dominates (BasicBlock *BB, DominatorTree *DT) const |
| virtual void | print (raw_ostream &OS) const |
Static Public Member Functions | |
| static bool | classof (const SCEVConstant *S) |
| Methods for support type inquiry through isa, cast, and dyn_cast:. | |
| static bool | classof (const SCEV *S) |
Friends | |
| class | ScalarEvolution |
Definition at line 36 of file ScalarEvolutionExpressions.h.
| ConstantInt* llvm::SCEVConstant::getValue | ( | ) | const [inline] |
Definition at line 43 of file ScalarEvolutionExpressions.h.
References V.
Referenced by FactorOutConstant(), llvm::SCEVAddRecExpr::getNumIterationsInRange(), and isNonConstantNegative().
isLoopInvariant - Return true if the value of this SCEV is unchanging in the specified loop.
Implements llvm::SCEV.
Definition at line 45 of file ScalarEvolutionExpressions.h.
| virtual bool llvm::SCEVConstant::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 49 of file ScalarEvolutionExpressions.h.
| const Type * SCEVConstant::getType | ( | ) | const [virtual] |
getType - Return the LLVM type of this SCEV expression.
Implements llvm::SCEV.
Definition at line 200 of file ScalarEvolution.cpp.
References V.
hasOperand - Test whether this SCEV has Op as a direct or indirect operand.
Implements llvm::SCEV.
Definition at line 55 of file ScalarEvolutionExpressions.h.
| bool llvm::SCEVConstant::dominates | ( | BasicBlock * | BB, | |
| DominatorTree * | DT | |||
| ) | const [inline, virtual] |
dominates - Return true if elements that makes up this SCEV dominates the specified basic block.
Implements llvm::SCEV.
Definition at line 59 of file ScalarEvolutionExpressions.h.
| void SCEVConstant::print | ( | raw_ostream & | OS | ) | const [virtual] |
print - Print out the internal representation of this scalar to the specified stream. This should really only be used for debugging purposes.
Implements llvm::SCEV.
Definition at line 202 of file ScalarEvolution.cpp.
References V, and llvm::WriteAsOperand().
| static bool llvm::SCEVConstant::classof | ( | const SCEVConstant * | S | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 66 of file ScalarEvolutionExpressions.h.
Definition at line 67 of file ScalarEvolutionExpressions.h.
References llvm::SCEV::getSCEVType(), and llvm::scConstant.
friend class ScalarEvolution [friend] |
Definition at line 37 of file ScalarEvolutionExpressions.h.