LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
llvm::PredicateBase Class Reference

#include "llvm/Transforms/Utils/PredicateInfo.h"

Inheritance diagram for llvm::PredicateBase:
Inheritance graph
[legend]

Public Member Functions

 PredicateBase (const PredicateBase &)=delete
 
PredicateBaseoperator= (const PredicateBase &)=delete
 
 PredicateBase ()=delete
 
virtual ~PredicateBase ()=default
 
std::optional< PredicateConstraintgetConstraint () const
 Fetch condition in the form of PredicateConstraint, if possible.
 
- Public Member Functions inherited from llvm::ilist_node_impl< OptionsT >
self_iterator getIterator ()
 
const_self_iterator getIterator () const
 
reverse_self_iterator getReverseIterator ()
 
const_reverse_self_iterator getReverseIterator () const
 
bool isSentinel () const
 Check whether this is the sentinel node.
 

Static Public Member Functions

static bool classof (const PredicateBase *PB)
 

Public Attributes

PredicateType Type
 
ValueOriginalOp
 
ValueRenamedOp
 
ValueCondition
 

Protected Member Functions

 PredicateBase (PredicateType PT, Value *Op, Value *Condition)
 
- Protected Member Functions inherited from llvm::ilist_node_impl< OptionsT >
 ilist_node_impl ()=default
 

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< OptionsT >
using self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, false >::type
 
using const_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, true >::type
 
using reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, false >::type
 
using const_reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, true >::type
 

Detailed Description

Definition at line 81 of file PredicateInfo.h.

Constructor & Destructor Documentation

◆ PredicateBase() [1/3]

llvm::PredicateBase::PredicateBase ( const PredicateBase )
delete

◆ PredicateBase() [2/3]

llvm::PredicateBase::PredicateBase ( )
delete

◆ ~PredicateBase()

virtual llvm::PredicateBase::~PredicateBase ( )
virtualdefault

◆ PredicateBase() [3/3]

llvm::PredicateBase::PredicateBase ( PredicateType  PT,
Value Op,
Value Condition 
)
inlineprotected

Definition at line 108 of file PredicateInfo.h.

Member Function Documentation

◆ classof()

static bool llvm::PredicateBase::classof ( const PredicateBase PB)
inlinestatic

Definition at line 99 of file PredicateInfo.h.

References PB(), llvm::PT_Assume, llvm::PT_Branch, and llvm::PT_Switch.

◆ getConstraint()

std::optional< PredicateConstraint > llvm::PredicateBase::getConstraint ( ) const

◆ operator=()

PredicateBase & llvm::PredicateBase::operator= ( const PredicateBase )
delete

Member Data Documentation

◆ Condition

Value* llvm::PredicateBase::Condition

Definition at line 93 of file PredicateInfo.h.

Referenced by getConstraint().

◆ OriginalOp

Value* llvm::PredicateBase::OriginalOp

Definition at line 87 of file PredicateInfo.h.

◆ RenamedOp

Value* llvm::PredicateBase::RenamedOp

Definition at line 91 of file PredicateInfo.h.

Referenced by getConstraint().

◆ Type

PredicateType llvm::PredicateBase::Type

Definition at line 83 of file PredicateInfo.h.


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