LLVM API Documentation
#include <ScalarEvolutionExpressions.h>
Inheritance diagram for llvm::SCEVCommutativeExpr:
Public Types | |
typedef std::vector< SCEVHandle >::const_iterator | op_iterator |
Public Member Functions | |
unsigned | getNumOperands () const |
const SCEVHandle & | getOperand (unsigned i) const |
const std::vector< SCEVHandle > & | getOperands () const |
op_iterator | op_begin () const |
op_iterator | op_end () const |
virtual bool | isLoopInvariant (const Loop *L) const |
virtual bool | hasComputableLoopEvolution (const Loop *L) const |
virtual const char * | getOperationStr () const =0 |
virtual const Type * | getType () const |
virtual void | print (std::ostream &OS) const |
Static Public Member Functions | |
static bool | classof (const SCEVCommutativeExpr *S) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
static bool | classof (const SCEV *S) |
Protected Member Functions | |
SCEVCommutativeExpr (enum SCEVTypes T, const std::vector< SCEVHandle > &ops) | |
~SCEVCommutativeExpr () |
Definition at line 149 of file ScalarEvolutionExpressions.h.
|
Definition at line 168 of file ScalarEvolutionExpressions.h. |
|
Definition at line 153 of file ScalarEvolutionExpressions.h. |
|
Definition at line 247 of file ScalarEvolution.cpp. References llvm::SCEV::getSCEVType(). |
|
Reimplemented in llvm::SCEVAddExpr, and llvm::SCEVMulExpr. Definition at line 192 of file ScalarEvolutionExpressions.h. References llvm::SCEV::getSCEVType(), llvm::scAddExpr, and llvm::scMulExpr. |
|
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 191 of file ScalarEvolutionExpressions.h. |
|
Definition at line 161 of file ScalarEvolutionExpressions.h. Referenced by llvm::SCEVAddExpr::get(), hasComputableLoopEvolution(), and isLoopInvariant(). |
|
Definition at line 162 of file ScalarEvolutionExpressions.h. Referenced by llvm::SCEVAddExpr::get(), getType(), hasComputableLoopEvolution(), and isLoopInvariant(). |
|
Definition at line 167 of file ScalarEvolutionExpressions.h. |
|
Implemented in llvm::SCEVAddExpr, and llvm::SCEVMulExpr. Referenced by print(). |
|
getType - Return the LLVM type of this SCEV expression. Implements llvm::SCEV. Definition at line 187 of file ScalarEvolutionExpressions.h. References getOperand(). |
|
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 179 of file ScalarEvolutionExpressions.h. References getNumOperands(), and getOperand(). |
|
isLoopInvariant - Return true if the value of this SCEV is unchanging in the specified loop. Implements llvm::SCEV. Definition at line 173 of file ScalarEvolutionExpressions.h. References getNumOperands(), and getOperand(). Referenced by llvm::SCEVMulExpr::get(), and llvm::SCEVAddExpr::get(). |
|
Definition at line 169 of file ScalarEvolutionExpressions.h. Referenced by llvm::SCEVAddExpr::get(). |
|
Definition at line 170 of file ScalarEvolutionExpressions.h. Referenced by llvm::SCEVAddExpr::get(). |
|
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 253 of file ScalarEvolution.cpp. References getOperationStr(). |