LLVM API Documentation

llvm::SCEVUDivExpr Class Reference

#include <ScalarEvolutionExpressions.h>

Inheritance diagram for llvm::SCEVUDivExpr:
[legend]
Collaboration diagram for llvm::SCEVUDivExpr:
[legend]

List of all members.

Public Member Functions

const SCEV * getLHS () const
const SCEV * getRHS () const
virtual bool isLoopInvariant (const Loop *L) const
virtual bool hasComputableLoopEvolution (const Loop *L) const
virtual bool hasOperand (const SCEV *O) const
bool dominates (BasicBlock *BB, DominatorTree *DT) const
virtual const Type * getType () const
void print (raw_ostream &OS) const

Static Public Member Functions

static bool classof (const SCEVUDivExpr *S)
 Methods for support type inquiry through isa, cast, and dyn_cast:.
static bool classof (const SCEV *S)

Friends

class ScalarEvolution


Detailed Description

SCEVUDivExpr - This class represents a binary unsigned division operation.

Definition at line 313 of file ScalarEvolutionExpressions.h.


Member Function Documentation

const SCEV* llvm::SCEVUDivExpr::getLHS (  )  const [inline]

Definition at line 322 of file ScalarEvolutionExpressions.h.

References LHS.

const SCEV* llvm::SCEVUDivExpr::getRHS (  )  const [inline]

Definition at line 323 of file ScalarEvolutionExpressions.h.

References RHS.

virtual bool llvm::SCEVUDivExpr::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 325 of file ScalarEvolutionExpressions.h.

References LHS, and RHS.

virtual bool llvm::SCEVUDivExpr::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 329 of file ScalarEvolutionExpressions.h.

References LHS, and RHS.

virtual bool llvm::SCEVUDivExpr::hasOperand ( const SCEV *  Op  )  const [inline, virtual]

hasOperand - Test whether this SCEV has Op as a direct or indirect operand.

Implements llvm::SCEV.

Definition at line 334 of file ScalarEvolutionExpressions.h.

References LHS, and RHS.

bool SCEVUDivExpr::dominates ( BasicBlock *  BB,
DominatorTree *  DT 
) const [virtual]

dominates - Return true if elements that makes up this SCEV dominates the specified basic block.

Implements llvm::SCEV.

Definition at line 267 of file ScalarEvolution.cpp.

References LHS, and RHS.

const Type * SCEVUDivExpr::getType (  )  const [virtual]

getType - Return the LLVM type of this SCEV expression.

Implements llvm::SCEV.

Definition at line 275 of file ScalarEvolution.cpp.

References llvm::Value::getType(), and RHS.

void SCEVUDivExpr::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 271 of file ScalarEvolution.cpp.

References LHS, and RHS.

static bool llvm::SCEVUDivExpr::classof ( const SCEVUDivExpr *  S  )  [inline, static]

Methods for support type inquiry through isa, cast, and dyn_cast:.

Definition at line 345 of file ScalarEvolutionExpressions.h.

static bool llvm::SCEVUDivExpr::classof ( const SCEV *  S  )  [inline, static]

Definition at line 346 of file ScalarEvolutionExpressions.h.

References llvm::SCEV::getSCEVType(), and llvm::scUDivExpr.


Friends And Related Function Documentation

friend class ScalarEvolution [friend]

Definition at line 314 of file ScalarEvolutionExpressions.h.


The documentation for this class was generated from the following files: