LLVM: llvm::RetainedKnowledge Struct Reference (original) (raw)

Represent one information held inside an operand bundle of an llvm.assume. More...

#include "[llvm/Analysis/AssumeBundleQueries.h](AssumeBundleQueries%5F8h%5Fsource.html)"

Public Member Functions
RetainedKnowledge (Attribute::AttrKind AttrKind=Attribute::None, uint64_t ArgValue=0, Value *WasOn=nullptr)
bool operator== (RetainedKnowledge Other) const
bool operator!= (RetainedKnowledge Other) const
bool operator< (RetainedKnowledge Other) const
This is only intended for use in std::min/stdmax between attribute that only differ in ArgValue.
operator bool () const

Detailed Description

Represent one information held inside an operand bundle of an llvm.assume.

AttrKind is the property that holds. WasOn if not null is that Value for which AttrKind holds. ArgValue is optionally an argument of the attribute. For example if we know that P has an alignment of at least four:

Definition at line 102 of file AssumeBundleQueries.h.

Constructor & Destructor Documentation

Member Function Documentation

none()

operator bool()

llvm::RetainedKnowledge::operator bool ( ) const inline

operator!=()

operator<()

operator==()

Member Data Documentation

ArgValue

uint64_t llvm::RetainedKnowledge::ArgValue = 0

AttrKind

IRArgValue

Value* llvm::RetainedKnowledge::IRArgValue = nullptr

WasOn

Value* llvm::RetainedKnowledge::WasOn = nullptr


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