|
LLVM 23.0.0git
|
#include "llvm/Analysis/ScalarEvolution.h"
Public Types | |
| using | Base = PointerIntPair<SCEVPtrT, 2> |
Public Member Functions | |
| SCEVUseT () | |
| SCEVUseT (SCEVPtrT S) | |
| SCEVUseT (SCEVPtrT S, SCEVNoWrapFlags Flags) | |
| Construct with NoWrapFlags; only NUW/NSW are encoded, NW is dropped. | |
| template<typename OtherPtrT, typename = std::enable_if_t< std::is_convertible_v<OtherPtrT, SCEVPtrT>>> | |
| SCEVUseT (const SCEVUseT< OtherPtrT > &Other) | |
| operator SCEVPtrT () const | |
| SCEVPtrT | operator-> () const |
| bool | isCanonical () const |
| Returns true if the SCEVUse is canonical, i.e. | |
| const SCEV * | getCanonical () const |
| Return the canonical SCEV for this SCEVUse. | |
| SCEVNoWrapFlags | getNoWrapFlags (SCEVNoWrapFlags Mask=SCEVNoWrapFlags::NoWrapMask) const |
Return the no-wrap flags for this SCEVUse, which is the union of the use-specific flags and the underlying SCEV's flags, masked by Mask. | |
| SCEVNoWrapFlags | getUseNoWrapFlags () const |
| Return only the use-specific no-wrap flags (NUW/NSW) without the underlying SCEV's flags. | |
| bool | operator== (const SCEVUseT &RHS) const |
| bool | operator!= (const SCEVUseT &RHS) const |
| bool | operator> (const SCEVUseT &RHS) const |
| bool | operator== (const SCEV *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. | |
| const SCEV * | getCanonical () const |
| void * | getOpaqueValue () const |
| SCEVPtrT | getPointer () const |
Friends | |
| struct | PointerLikeTypeTraits< SCEVUseT > |
Definition at line 118 of file ScalarEvolution.h.
| using llvm::SCEVUseT< SCEVPtrT >::Base = PointerIntPair<SCEVPtrT, 2> |
Definition at line 119 of file ScalarEvolution.h.
|
inline |
Definition at line 123 of file ScalarEvolution.h.
|
inline |
Definition at line 124 of file ScalarEvolution.h.
|
inline |
Construct with NoWrapFlags; only NUW/NSW are encoded, NW is dropped.
Definition at line 126 of file ScalarEvolution.h.
|
inline |
Definition at line 130 of file ScalarEvolution.h.
| LLVM_DUMP_METHOD void llvm::SCEVUseT< SCEVPtrT >::dump | ( | ) | const |
This method is used for debugging.
Definition at line 2742 of file ScalarEvolution.h.
References llvm::dbgs(), LLVM_DUMP_METHOD, and llvm::print().
| const SCEV * llvm::SCEVUseT< SCEVPtrT >::getCanonical | ( | ) | const |
Return the canonical SCEV for this SCEVUse.
Referenced by llvm::SCEVUseT< const SCEV * >::isCanonical().
|
inline |
Definition at line 2726 of file ScalarEvolution.h.
|
inline |
Return the no-wrap flags for this SCEVUse, which is the union of the use-specific flags and the underlying SCEV's flags, masked by Mask.
Definition at line 1055 of file ScalarEvolutionExpressions.h.
References llvm::dyn_cast(), llvm::FlagAnyWrap, llvm::PointerIntPair< SCEVPtrT, 2 >::getPointer(), and getUseNoWrapFlags().
|
inline |
Definition at line 126 of file PointerIntPair.h.
Referenced by llvm::SCEVUseT< const SCEV * >::isCanonical(), llvm::SCEVUseT< const SCEV * >::operator!=(), llvm::SCEVUseT< const SCEV * >::operator==(), and llvm::SCEVUseT< const SCEV * >::operator==().
|
inline |
Definition at line 94 of file PointerIntPair.h.
Referenced by llvm::simplify_type< SCEVUse >::getSimplifiedValue(), llvm::SCEVUseT< const SCEV * >::operator const SCEV *(), and llvm::SCEVUseT< const SCEV * >::operator->().
|
inline |
Return only the use-specific no-wrap flags (NUW/NSW) without the underlying SCEV's flags.
Definition at line 150 of file ScalarEvolution.h.
Referenced by getNoWrapFlags(), and print().
|
inline |
Returns true if the SCEVUse is canonical, i.e.
no SCEVUse flags set in any operands.
Definition at line 138 of file ScalarEvolution.h.
|
inline |
Definition at line 133 of file ScalarEvolution.h.
|
inline |
Definition at line 167 of file ScalarEvolution.h.
|
inline |
Definition at line 162 of file ScalarEvolution.h.
|
inline |
Definition at line 134 of file ScalarEvolution.h.
|
inline |
Definition at line 166 of file ScalarEvolution.h.
|
inline |
Definition at line 158 of file ScalarEvolution.h.
|
inline |
Definition at line 164 of file ScalarEvolution.h.
| void llvm::SCEVUseT< SCEVPtrT >::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 2731 of file ScalarEvolution.h.
References llvm::SCEV::FlagNSW, llvm::SCEV::FlagNUW, getPointer(), getUseNoWrapFlags(), and llvm::Value::print().
|
friend |
Definition at line 174 of file ScalarEvolution.h.