LLVM API Documentation
#include <ScalarEvolutionExpressions.h>
Inheritance diagram for llvm::SCEVSDivExpr:
Public Member Functions | |
const SCEVHandle & | getLHS () const |
const SCEVHandle & | getRHS () const |
virtual bool | isLoopInvariant (const Loop *L) const |
virtual bool | hasComputableLoopEvolution (const Loop *L) const |
SCEVHandle | replaceSymbolicValuesWithConcrete (const SCEVHandle &Sym, const SCEVHandle &Conc) const |
virtual const Type * | getType () const |
void | print (std::ostream &OS) const |
Static Public Member Functions | |
static SCEVHandle | get (const SCEVHandle &LHS, const SCEVHandle &RHS) |
static bool | classof (const SCEVSDivExpr *S) |
Methods for support type inquiry through isa, cast, and dyn_cast:. | |
static bool | classof (const SCEV *S) |
Definition at line 298 of file ScalarEvolutionExpressions.h.
static bool llvm::SCEVSDivExpr::classof | ( | const SCEV * | S | ) | [inline, static] |
Definition at line 338 of file ScalarEvolutionExpressions.h.
References llvm::SCEV::getSCEVType(), and llvm::scSDivExpr.
static bool llvm::SCEVSDivExpr::classof | ( | const SCEVSDivExpr * | S | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Definition at line 337 of file ScalarEvolutionExpressions.h.
SCEVHandle SCEVSDivExpr::get | ( | const SCEVHandle & | LHS, | |
const SCEVHandle & | RHS | |||
) | [static] |
get method - This just gets and returns a new SCEVSDiv object.
Definition at line 985 of file ScalarEvolution.cpp.
References llvm::SCEVUnknown::get(), llvm::ConstantExpr::getCast(), llvm::ConstantExpr::getDiv(), llvm::SCEV::getNegativeSCEV(), llvm::Type::getSignedVersion(), llvm::Value::getType(), and llvm::Type::isUnsigned().
Referenced by llvm::SCEVAddRecExpr::evaluateAtIteration(), and replaceSymbolicValuesWithConcrete().
const SCEVHandle& llvm::SCEVSDivExpr::getLHS | ( | ) | const [inline] |
Definition at line 309 of file ScalarEvolutionExpressions.h.
Referenced by llvm::SCEVExpander::visitSDivExpr().
const SCEVHandle& llvm::SCEVSDivExpr::getRHS | ( | ) | const [inline] |
Definition at line 310 of file ScalarEvolutionExpressions.h.
Referenced by llvm::SCEVExpander::visitSDivExpr().
const Type * SCEVSDivExpr::getType | ( | ) | const [virtual] |
getType - Return the LLVM type of this SCEV expression.
Implements llvm::SCEV.
Definition at line 310 of file ScalarEvolution.cpp.
References llvm::Type::getSignedVersion(), llvm::Type::isUnsigned(), and Ty.
Referenced by llvm::SCEVExpander::visitSDivExpr().
virtual bool llvm::SCEVSDivExpr::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 316 of file ScalarEvolutionExpressions.h.
virtual bool llvm::SCEVSDivExpr::isLoopInvariant | ( | const Loop * | L | ) | const [inline, virtual] |
isLoopInvariant - Return true if the value of this SCEV is unchanging in the specified loop.
Implements llvm::SCEV.
Definition at line 312 of file ScalarEvolutionExpressions.h.
void SCEVSDivExpr::print | ( | std::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 306 of file ScalarEvolution.cpp.
SCEVHandle llvm::SCEVSDivExpr::replaceSymbolicValuesWithConcrete | ( | const SCEVHandle & | Sym, | |
const SCEVHandle & | Conc | |||
) | const [inline, virtual] |
replaceSymbolicValuesWithConcrete - If this SCEV internally references the symbolic value "Sym", construct and return a new SCEV that produces the same value, but which uses the concrete value Conc instead of the symbolic value. If this SCEV does not use the symbolic value, it returns itself.
Implements llvm::SCEV.
Definition at line 321 of file ScalarEvolutionExpressions.h.