LLVM API Documentation
#include <ScalarEvolutionExpressions.h>
Inheritance diagram for llvm::SCEVConstant:
Public Member Functions | |
ConstantInt * | getValue () const |
virtual ConstantRange | getValueRange () const |
virtual bool | isLoopInvariant (const Loop *L) const |
virtual bool | hasComputableLoopEvolution (const Loop *L) const |
virtual const Type * | getType () const |
virtual void | print (std::ostream &OS) const |
Static Public Member Functions | |
static SCEVHandle | get (ConstantInt *V) |
static bool | classof (const SCEVConstant *S) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
static bool | classof (const SCEV *S) |
Definition at line 33 of file ScalarEvolutionExpressions.h.
|
Definition at line 63 of file ScalarEvolutionExpressions.h. References llvm::SCEV::getSCEVType(), and llvm::scConstant. |
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 62 of file ScalarEvolutionExpressions.h. |
|
get method - This just gets and returns a new SCEVConstant object. Definition at line 166 of file ScalarEvolution.cpp. References llvm::ConstantExpr::getCast(), llvm::Value::getType(), llvm::Type::getUnsignedVersion(), llvm::Type::isSigned(), and R. Referenced by EvaluateConstantChrecAtConstant(), llvm::SCEVUnknown::get(), llvm::SCEVMulExpr::get(), llvm::SCEVAddExpr::get(), and llvm::SCEVAddRecExpr::getNumIterationsInRange(). |
|
getType - Return the LLVM type of this SCEV expression. Implements llvm::SCEV. Definition at line 182 of file ScalarEvolution.cpp. References llvm::Value::getType(). Referenced by llvm::SCEVAddRecExpr::getNumIterationsInRange(). |
|
Definition at line 43 of file ScalarEvolutionExpressions.h. Referenced by llvm::SCEVAddRecExpr::getNumIterationsInRange(), and SolveQuadraticEquation(). |
|
getValueRange - Return the tightest constant bounds that this value is known to have. This method is only valid on integer SCEV objects. Reimplemented from llvm::SCEV. Definition at line 178 of file ScalarEvolution.cpp. |
|
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 53 of file ScalarEvolutionExpressions.h. |
|
isLoopInvariant - Return true if the value of this SCEV is unchanging in the specified loop. Implements llvm::SCEV. Definition at line 49 of file ScalarEvolutionExpressions.h. |
|
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 184 of file ScalarEvolution.cpp. References llvm::WriteAsOperand(). |