LLVM 23.0.0git
llvm::SCEVUse Struct Reference

#include "llvm/Analysis/ScalarEvolution.h"

Inheritance diagram for llvm::SCEVUse:
[legend]

Public Member Functions

 SCEVUse ()
 SCEVUse (const SCEV *S)
 SCEVUse (const SCEV *S, unsigned Flags)
 operator const SCEV * () const
const SCEVoperator-> () const
void * getRawPointer () const
unsigned getFlags () const
bool operator== (const SCEVUse &RHS) const
bool operator== (const SCEV *RHS) const
void print (raw_ostream &OS) const
 Print out the internal representation of this scalar to the specified stream.
void dump () const
 This method is used for debugging.
Public Member Functions inherited from llvm::PointerIntPair< const SCEV *, 2 >
constexpr PointerIntPair ()=default
const SCEVgetPointer () const
unsigned getInt () const
void setPointer (const SCEV *PtrVal) &
void setInt (unsigned IntVal) &
void initWithPointer (const SCEV *PtrVal) &
void setPointerAndInt (const SCEV *PtrVal, unsigned IntVal) &
const SCEV *constgetAddrOfPointer () const
void * getOpaqueValue () const
void setFromOpaqueValue (void *Val) &
bool operator== (const PointerIntPair &RHS) const
bool operator!= (const PointerIntPair &RHS) const
bool operator< (const PointerIntPair &RHS) const
bool operator> (const PointerIntPair &RHS) const
bool operator<= (const PointerIntPair &RHS) const
bool operator>= (const PointerIntPair &RHS) const

Additional Inherited Members

Static Public Member Functions inherited from llvm::PointerIntPair< const SCEV *, 2 >
static PointerIntPair getFromOpaqueValue (void *V)

Detailed Description

Definition at line 71 of file ScalarEvolution.h.

Constructor & Destructor Documentation

◆ SCEVUse() [1/3]

llvm::SCEVUse::SCEVUse ( )
inline

◆ SCEVUse() [2/3]

◆ SCEVUse() [3/3]

llvm::SCEVUse::SCEVUse ( const SCEV * S,
unsigned Flags )
inline

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void SCEVUse::dump ( ) const

This method is used for debugging.

Definition at line 262 of file ScalarEvolution.cpp.

References llvm::dbgs(), LLVM_DUMP_METHOD, and print().

◆ getFlags()

unsigned llvm::SCEVUse::getFlags ( ) const
inline

◆ getRawPointer()

void * llvm::SCEVUse::getRawPointer ( ) const
inline

◆ operator const SCEV *()

llvm::SCEVUse::operator const SCEV * ( ) const
inline

◆ operator->()

const SCEV * llvm::SCEVUse::operator-> ( ) const
inline

◆ operator==() [1/2]

bool llvm::SCEVUse::operator== ( const SCEV * RHS) const
inline

Definition at line 89 of file ScalarEvolution.h.

References getRawPointer(), and RHS.

◆ operator==() [2/2]

bool llvm::SCEVUse::operator== ( const SCEVUse & RHS) const
inline

Definition at line 85 of file ScalarEvolution.h.

References getRawPointer(), RHS, and SCEVUse().

◆ print()

void SCEVUse::print ( raw_ostream & OS) const

Print out the internal representation of this scalar to the specified stream.

This should really only be used for debugging purposes.

Definition at line 268 of file ScalarEvolution.cpp.

References llvm::SCEV::FlagNSW, llvm::SCEV::FlagNUW, llvm::PointerIntPair< const SCEV *, 2 >::getInt(), llvm::PointerIntPair< const SCEV *, 2 >::getPointer(), and llvm::SCEV::print().

Referenced by dump().


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