LLVM API Documentation

llvm::SCEVTargetDataConstant Class Reference

#include <ScalarEvolutionExpressions.h>

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

List of all members.

Public Member Functions

virtual bool isLoopInvariant (const Loop *) const
virtual bool hasComputableLoopEvolution (const Loop *) const
virtual bool hasOperand (const SCEV *) const
bool dominates (BasicBlock *, DominatorTree *) const
virtual const Type * getType () const

Static Public Member Functions

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

Protected Member Functions

 SCEVTargetDataConstant (const FoldingSetNodeID &ID, enum SCEVTypes T, const Type *ty)

Protected Attributes

const Type * Ty


Detailed Description

SCEVTargetDataConstant - This node is the base class for representing target-dependent values in a target-independent way.

Definition at line 495 of file ScalarEvolutionExpressions.h.


Constructor & Destructor Documentation

llvm::SCEVTargetDataConstant::SCEVTargetDataConstant ( const FoldingSetNodeID &  ID,
enum SCEVTypes  T,
const Type *  ty 
) [inline, protected]

Definition at line 498 of file ScalarEvolutionExpressions.h.


Member Function Documentation

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

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

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

bool llvm::SCEVTargetDataConstant::dominates ( BasicBlock *  BB,
DominatorTree *  DT 
) const [inline, virtual]

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

Implements llvm::SCEV.

Definition at line 512 of file ScalarEvolutionExpressions.h.

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

getType - Return the LLVM type of this SCEV expression.

Implements llvm::SCEV.

Definition at line 516 of file ScalarEvolutionExpressions.h.

References Ty.

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

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

Definition at line 519 of file ScalarEvolutionExpressions.h.

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


Member Data Documentation

Definition at line 497 of file ScalarEvolutionExpressions.h.

Referenced by getType().


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