LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::SCEVZeroExtendExpr Class Reference

#include <ScalarEvolutionExpressions.h>

Inheritance diagram for llvm::SCEVZeroExtendExpr:

Inheritance graph
[legend]
Collaboration diagram for llvm::SCEVZeroExtendExpr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const SCEVHandlegetOperand () const
virtual const TypegetType () const
virtual bool isLoopInvariant (const Loop *L) const
virtual bool hasComputableLoopEvolution (const Loop *L) const
virtual ConstantRange getValueRange () const
virtual void print (std::ostream &OS) const

Static Public Member Functions

static SCEVHandle get (const SCEVHandle &Op, const Type *Ty)
static bool classof (const SCEVZeroExtendExpr *S)
 Methods for support type inquiry through isa, cast, and dyn_cast:.
static bool classof (const SCEV *S)

Detailed Description

SCEVZeroExtendExpr - This class represents a zero extension of a small integer value to a larger integer value.

Definition at line 110 of file ScalarEvolutionExpressions.h.


Member Function Documentation

static bool llvm::SCEVZeroExtendExpr::classof const SCEV S  )  [inline, static]
 

Definition at line 139 of file ScalarEvolutionExpressions.h.

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

static bool llvm::SCEVZeroExtendExpr::classof const SCEVZeroExtendExpr S  )  [inline, static]
 

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

Definition at line 138 of file ScalarEvolutionExpressions.h.

SCEVHandle SCEVZeroExtendExpr::get const SCEVHandle Op,
const Type Ty
[static]
 

get method - This just gets and returns a new SCEVZeroExtend object

Definition at line 539 of file ScalarEvolution.cpp.

References llvm::SCEVUnknown::get(), and llvm::ConstantExpr::getCast().

Referenced by getTruncateOrZeroExtend().

const SCEVHandle& llvm::SCEVZeroExtendExpr::getOperand  )  const [inline]
 

Definition at line 120 of file ScalarEvolutionExpressions.h.

Referenced by getValueRange().

virtual const Type* llvm::SCEVZeroExtendExpr::getType  )  const [inline, virtual]
 

getType - Return the LLVM type of this SCEV expression.

Implements llvm::SCEV.

Definition at line 121 of file ScalarEvolutionExpressions.h.

Referenced by getValueRange().

ConstantRange SCEVZeroExtendExpr::getValueRange  )  const [virtual]
 

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 233 of file ScalarEvolution.cpp.

References getOperand(), and getType().

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

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

void SCEVZeroExtendExpr::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 237 of file ScalarEvolution.cpp.


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