add two helper methods

llvm-svn: 22735
This commit is contained in:
Chris Lattner 2005-08-09 23:36:18 +00:00
parent 679f5b0b40
commit 67017db5c6
1 changed files with 8 additions and 0 deletions

View File

@ -195,6 +195,14 @@ namespace llvm {
/// specified expression.
SCEVHandle getSCEV(Value *V) const;
/// hasSCEV - Return true if the SCEV for this value has already been
/// computed.
bool hasSCEV(Value *V) const;
/// setSCEV - Insert the specified SCEV into the map of current SCEVs for
/// the specified value.
void setSCEV(Value *V, const SCEVHandle &H);
/// getSCEVAtScope - Return a SCEV expression handle for the specified value
/// at the specified scope in the program. The L value specifies a loop
/// nest to evaluate the expression at, where null is the top-level or a